mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-03 21:12:08 +02:00
LibWeb: Implement basic CSS random() function
At the moment this is limited to only fixed value sharing and does not support step values
This commit is contained in:
Notes:
github-actions[bot]
2025-12-01 11:02:05 +00:00
Author: https://github.com/Calme1709 Commit: https://github.com/LadybirdBrowser/ladybird/commit/2a5e389f63c Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/6707 Reviewed-by: https://github.com/AtkinsSJ ✅ Reviewed-by: https://github.com/gmta
@@ -25,4 +25,4 @@ Pass e.style['width'] = "random(fixed 0.5 --foo, 1px, 2px)" should not set the p
|
||||
Pass e.style['width'] = "random(fixed 0.5px, 1px, 2px)" should not set the property value
|
||||
Pass e.style['width'] = "random(fixed 0.5%, 1px, 2px)" should not set the property value
|
||||
Pass e.style['width'] = "random(fixed -1, 1px, 2px)" should not set the property value
|
||||
Pass e.style['width'] = "random(10deg, 20deg)" should not set the property value
|
||||
Pass e.style['width'] = "random(10deg, 20deg)" should not set the property value
|
||||
|
||||
Reference in New Issue
Block a user