LibWeb: Omit default radius from ellipse() serialization

This commit is contained in:
Callum Law
2025-12-12 14:46:19 +13:00
committed by Sam Atkins
parent f17f4f233d
commit 883b190e64
Notes: github-actions[bot] 2025-12-12 12:21:40 +00:00
9 changed files with 189 additions and 185 deletions

View File

@@ -2,17 +2,16 @@ Harness status: OK
Found 14 tests
11 Pass
3 Fail
Fail Property shape-outside value 'ellipse()'
14 Pass
Pass Property shape-outside value 'ellipse()'
Pass Property shape-outside value 'ellipse(1px 2px)'
Pass Property shape-outside value 'ellipse(20px 40px at center)'
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(at 10% 20%)'
Pass Property shape-outside value 'ellipse(at -10px -20%)'
Pass Property shape-outside value 'ellipse(4% 20% at top right)'
Pass Property shape-outside value 'ellipse(calc(100% - 20px) calc(80% - 10px) at calc(100% - 20px) calc(100% / 4))'
Pass Property shape-outside value 'ellipse(10px closest-side at top right)'

View File

@@ -2,17 +2,17 @@ Harness status: OK
Found 14 tests
6 Pass
8 Fail
Fail e.style['shape-outside'] = "ellipse()" should set the property value
9 Pass
5 Fail
Pass e.style['shape-outside'] = "ellipse()" 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
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
Pass e.style['shape-outside'] = "ellipse(at 10% 20%)" should set the property value
Pass 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
Pass e.style['shape-outside'] = "ellipse(calc(100% - 20px) calc(80% - 10px) at calc(100% - 20px) calc(100% / 4))" should set the property value
Fail e.style['shape-outside'] = "ellipse(10px closest-side at top right)" should set the property value