LibWeb: Omit default radius from serialization of CSS circle()

This commit is contained in:
Callum Law
2025-12-10 13:44:03 +13:00
committed by Sam Atkins
parent ad1083f14e
commit 375df05ab9
Notes: github-actions[bot] 2025-12-12 12:21:57 +00:00
12 changed files with 193 additions and 185 deletions

View File

@@ -2,18 +2,17 @@ Harness status: OK
Found 14 tests
10 Pass
4 Fail
Fail Property shape-outside value 'circle()'
14 Pass
Pass Property shape-outside value 'circle()'
Pass Property shape-outside value 'circle(1px)'
Pass Property shape-outside value 'circle(20px at center)'
Fail Property shape-outside value 'circle(at 10% 20%)'
Pass Property shape-outside value 'circle(at 10% 20%)'
Pass Property shape-outside value 'circle(4% at top right)'
Pass Property shape-outside value 'circle(calc(100% - 20px) at calc(100% - 20px) calc(100% / 4))'
Pass Property shape-outside value 'circle(closest-corner at center)'
Pass Property shape-outside value 'circle(closest-corner at 20px 50px)'
Fail Property shape-outside value 'circle(closest-side at center)'
Fail Property shape-outside value 'circle(closest-side at 20px 30%)'
Pass Property shape-outside value 'circle(closest-side at center)'
Pass Property shape-outside value 'circle(closest-side at 20px 30%)'
Pass Property shape-outside value 'circle(farthest-corner at center top)'
Pass Property shape-outside value 'circle(farthest-corner at center)'
Pass Property shape-outside value 'circle(farthest-side at center top)'

View File

@@ -2,18 +2,18 @@ Harness status: OK
Found 14 tests
3 Pass
11 Fail
Fail e.style['shape-outside'] = "circle()" should set the property value
6 Pass
8 Fail
Pass e.style['shape-outside'] = "circle()" should set the property value
Pass e.style['shape-outside'] = "circle(1px)" should set the property value
Fail e.style['shape-outside'] = "circle(20px at center)" should set the property value
Fail e.style['shape-outside'] = "circle(at 10% 20%)" should set the property value
Pass e.style['shape-outside'] = "circle(at 10% 20%)" should set the property value
Fail e.style['shape-outside'] = "circle(4% at top right)" should set the property value
Pass e.style['shape-outside'] = "circle(calc(100% - 20px) at calc(100% - 20px) calc(100% / 4))" should set the property value
Fail e.style['shape-outside'] = "circle(closest-corner at center)" should set the property value
Pass e.style['shape-outside'] = "circle(closest-corner at 20px 50px)" should set the property value
Fail e.style['shape-outside'] = "circle(closest-side at center)" should set the property value
Fail e.style['shape-outside'] = "circle(closest-side at 20px 30%)" should set the property value
Pass e.style['shape-outside'] = "circle(closest-side at 20px 30%)" should set the property value
Fail e.style['shape-outside'] = "circle(farthest-corner at center top)" should set the property value
Fail e.style['shape-outside'] = "circle(farthest-corner at center)" should set the property value
Fail e.style['shape-outside'] = "circle(farthest-side at center top)" should set the property value