mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-27 02:05:07 +02:00
LibWeb: Omit nonzero fill rule when serializing polygon()
Gains us ~160 WPT passes
This commit is contained in:
committed by
Tim Ledbetter
parent
8a8383d59d
commit
72a00a17cc
Notes:
github-actions[bot]
2026-01-06 10:50:56 +00:00
Author: https://github.com/Calme1709 Commit: https://github.com/LadybirdBrowser/ladybird/commit/72a00a17cc2 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/7340 Reviewed-by: https://github.com/tcl3 ✅
@@ -2,9 +2,8 @@ Harness status: OK
|
||||
|
||||
Found 4 tests
|
||||
|
||||
1 Pass
|
||||
3 Fail
|
||||
Fail Property shape-outside value 'polygon(1% 2%)'
|
||||
Fail Property shape-outside value 'polygon(calc(100% - 20px) calc(30% + 10px))'
|
||||
Fail Property shape-outside value 'polygon(nonzero, 1px 2px, 3em 4em)'
|
||||
4 Pass
|
||||
Pass Property shape-outside value 'polygon(1% 2%)'
|
||||
Pass Property shape-outside value 'polygon(calc(100% - 20px) calc(30% + 10px))'
|
||||
Pass Property shape-outside value 'polygon(nonzero, 1px 2px, 3em 4em)'
|
||||
Pass Property shape-outside value 'polygon(evenodd, 1px 2px, 3em 4em, 6pt 6%)'
|
||||
@@ -2,9 +2,8 @@ Harness status: OK
|
||||
|
||||
Found 4 tests
|
||||
|
||||
1 Pass
|
||||
3 Fail
|
||||
Fail e.style['shape-outside'] = "polygon(1% 2%)" should set the property value
|
||||
Fail e.style['shape-outside'] = "polygon(calc(100% - 20px) calc(30% + 10px))" should set the property value
|
||||
Fail e.style['shape-outside'] = "polygon(nonzero, 1px 2px, 3em 4em)" should set the property value
|
||||
4 Pass
|
||||
Pass e.style['shape-outside'] = "polygon(1% 2%)" should set the property value
|
||||
Pass e.style['shape-outside'] = "polygon(calc(100% - 20px) calc(30% + 10px))" should set the property value
|
||||
Pass e.style['shape-outside'] = "polygon(nonzero, 1px 2px, 3em 4em)" should set the property value
|
||||
Pass e.style['shape-outside'] = "polygon(evenodd, 1px 2px, 3em 4em, 5pt 6%)" should set the property value
|
||||
Reference in New Issue
Block a user