LibWeb: Serialize inset() arguments as positional value list

This commit is contained in:
Callum Law
2026-01-04 16:29:38 +13:00
committed by Jelle Raaijmakers
parent 00af50d49e
commit cb1425877a
Notes: github-actions[bot] 2026-01-06 09:51:41 +00:00
7 changed files with 346 additions and 347 deletions

View File

@@ -2,12 +2,12 @@ Harness status: OK
Found 11 tests
2 Pass
9 Fail
Fail Property shape-outside value 'inset(100%)'
Fail Property shape-outside value 'inset(0 1px)'
Fail Property shape-outside value 'inset(0px 1px 2%)'
Fail Property shape-outside value 'inset(-20px -20px 2%)'
6 Pass
5 Fail
Pass Property shape-outside value 'inset(100%)'
Pass Property shape-outside value 'inset(0 1px)'
Pass Property shape-outside value 'inset(0px 1px 2%)'
Pass Property shape-outside value 'inset(-20px -20px 2%)'
Pass Property shape-outside value 'inset(0px 1px 2% 3em)'
Pass Property shape-outside value 'inset(0px calc(100% - 20px) 2% 3em)'
Fail Property shape-outside value 'inset(0px round 100%)'

View File

@@ -2,12 +2,12 @@ Harness status: OK
Found 11 tests
2 Pass
9 Fail
Fail e.style['shape-outside'] = "inset(100%)" should set the property value
Fail e.style['shape-outside'] = "inset(0 1px)" should set the property value
Fail e.style['shape-outside'] = "inset(0px 1px 2%)" should set the property value
Fail e.style['shape-outside'] = "inset(-20px -20px 2%)" should set the property value
6 Pass
5 Fail
Pass e.style['shape-outside'] = "inset(100%)" should set the property value
Pass e.style['shape-outside'] = "inset(0 1px)" should set the property value
Pass e.style['shape-outside'] = "inset(0px 1px 2%)" should set the property value
Pass e.style['shape-outside'] = "inset(-20px -20px 2%)" should set the property value
Pass e.style['shape-outside'] = "inset(0px 1px 2% 3em)" should set the property value
Pass e.style['shape-outside'] = "inset(0px calc(100% - 20px) 2% 3em)" should set the property value
Fail e.style['shape-outside'] = "inset(0px round 100%)" should set the property value

View File

@@ -2,11 +2,11 @@ Harness status: OK
Found 11 tests
5 Pass
6 Fail
6 Pass
5 Fail
Pass Property clip-path value 'rect(0 0 0 0)'
Pass Property clip-path value 'rect(10px auto 20px 30px)'
Fail Property clip-path value 'rect(auto auto auto auto)'
Pass Property clip-path value 'rect(auto auto auto auto)'
Pass Property clip-path value 'rect(10% 20% 15% 12%)'
Pass Property clip-path value 'rect(10% 95% 97% 12%)'
Pass Property clip-path value 'rect(-10% -20% -15% -12%)'