mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-03 04:52:06 +02:00
LibWeb: Validate ASF syntax at parse time
This commit is contained in:
Notes:
github-actions[bot]
2026-03-30 18:58:46 +00:00
Author: https://github.com/Calme1709 Commit: https://github.com/LadybirdBrowser/ladybird/commit/03d479c1dac Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/8653 Reviewed-by: https://github.com/AtkinsSJ ✅
@@ -2,13 +2,12 @@ Harness status: OK
|
||||
|
||||
Found 8 tests
|
||||
|
||||
6 Pass
|
||||
2 Fail
|
||||
8 Pass
|
||||
Pass e.style['left'] = "inherit(--x)" should set the property value
|
||||
Pass e.style['left'] = "calc(inherit(--x) + 1px)" should set the property value
|
||||
Pass e.style['left'] = "inherit(--x,)" should set the property value
|
||||
Pass e.style['left'] = "inherit(--x, )" should set the property value
|
||||
Pass e.style['left'] = "inherit(--x , )" should set the property value
|
||||
Pass e.style['left'] = "inherit(--x, foo)" should set the property value
|
||||
Fail e.style['left'] = "inherit(!!, foo)" should not set the property value
|
||||
Fail e.style['left'] = "inherit(, foo)" should not set the property value
|
||||
Pass e.style['left'] = "inherit(!!, foo)" should not set the property value
|
||||
Pass e.style['left'] = "inherit(, foo)" should not set the property value
|
||||
Reference in New Issue
Block a user