LibWeb: Don't serialize omitted ellipse() position argument

This commit is contained in:
Callum Law
2025-12-12 14:42:40 +13:00
committed by Sam Atkins
parent daf464844b
commit f17f4f233d
Notes: github-actions[bot] 2025-12-12 12:21:46 +00:00
10 changed files with 274 additions and 260 deletions

View File

@@ -2,15 +2,15 @@ Harness status: OK
Found 14 tests
6 Pass
8 Fail
11 Pass
3 Fail
Fail Property shape-outside value 'ellipse()'
Fail Property shape-outside value 'ellipse(1px 2px)'
Pass Property shape-outside value 'ellipse(1px 2px)'
Pass Property shape-outside value 'ellipse(20px 40px at center)'
Fail Property shape-outside value 'ellipse(closest-side 20%)'
Fail Property shape-outside value 'ellipse(farthest-side 20%)'
Fail Property shape-outside value 'ellipse(closest-corner 20%)'
Fail Property shape-outside value 'ellipse(farthest-corner 20%)'
Pass Property shape-outside value 'ellipse(closest-side 20%)'
Pass Property shape-outside value 'ellipse(farthest-side 20%)'
Pass Property shape-outside value 'ellipse(closest-corner 20%)'
Pass Property shape-outside value 'ellipse(farthest-corner 20%)'
Fail Property shape-outside value 'ellipse(at 10% 20%)'
Fail Property shape-outside value 'ellipse(at -10px -20%)'
Pass Property shape-outside value 'ellipse(4% 20% at top right)'

View File

@@ -2,15 +2,15 @@ Harness status: OK
Found 14 tests
1 Pass
13 Fail
6 Pass
8 Fail
Fail e.style['shape-outside'] = "ellipse()" should set the property value
Fail e.style['shape-outside'] = "ellipse(1px 2px)" should set the property value
Pass e.style['shape-outside'] = "ellipse(1px 2px)" should set the property value
Fail e.style['shape-outside'] = "ellipse(20px 40px at center)" should set the property value
Fail e.style['shape-outside'] = "ellipse(closest-side 20%)" should set the property value
Fail e.style['shape-outside'] = "ellipse(farthest-side 20%)" should set the property value
Fail e.style['shape-outside'] = "ellipse(closest-corner 20%)" should set the property value
Fail e.style['shape-outside'] = "ellipse(farthest-corner 20%)" should set the property value
Pass e.style['shape-outside'] = "ellipse(closest-side 20%)" should set the property value
Pass e.style['shape-outside'] = "ellipse(farthest-side 20%)" should set the property value
Pass e.style['shape-outside'] = "ellipse(closest-corner 20%)" should set the property value
Pass e.style['shape-outside'] = "ellipse(farthest-corner 20%)" should set the property value
Fail e.style['shape-outside'] = "ellipse(at 10% 20%)" should set the property value
Fail e.style['shape-outside'] = "ellipse(at -10px -20%)" should set the property value
Fail e.style['shape-outside'] = "ellipse(4% 20% at top right)" should set the property value