LibWeb: Validate ASF syntax at parse time

This commit is contained in:
Callum Law
2026-03-28 22:41:48 +13:00
committed by Sam Atkins
parent 04f634eeb2
commit 03d479c1da
Notes: github-actions[bot] 2026-03-30 18:58:46 +00:00
18 changed files with 96 additions and 31 deletions

View File

@@ -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