mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-03 04:52:06 +02:00
LibWeb/CSS: Stop inserting whitespace when serializing component values
Now that we don't remove whitespace when parsing, we don't need to artificially insert it back in again when serializing. We do now need to trim leading and trailing whitespace from UnresolvedStyleValues, as this previously was done as part of the whitespace insertion. This makes our serialization of UnresolvedStyleValues more correct and gets us a few WPT passes for each property in the Typed OM tests.
This commit is contained in:
Notes:
github-actions[bot]
2025-11-03 11:25:01 +00:00
Author: https://github.com/AtkinsSJ Commit: https://github.com/LadybirdBrowser/ladybird/commit/61a0898f5fe Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/6646 Reviewed-by: https://github.com/tcl3
@@ -2,12 +2,12 @@ Harness status: OK
|
||||
|
||||
Found 16 tests
|
||||
|
||||
7 Pass
|
||||
9 Fail
|
||||
10 Pass
|
||||
6 Fail
|
||||
Fail var() references work with registered properties
|
||||
Fail References to registered var()-properties work in registered lists
|
||||
Fail References to mixed registered and unregistered var()-properties work in registered lists
|
||||
Fail Registered lists may be concatenated
|
||||
Pass References to registered var()-properties work in registered lists
|
||||
Pass References to mixed registered and unregistered var()-properties work in registered lists
|
||||
Pass Registered lists may be concatenated
|
||||
Fail Font-relative units are absolutized when substituting
|
||||
Fail Calc expressions are resolved when substituting
|
||||
Fail Lists with relative units are absolutized when substituting
|
||||
|
||||
Reference in New Issue
Block a user