mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 17:55:07 +02:00
Previously we would incorrectly map these in `CSSStyleProperties::convert_declarations_to_specified_order`, aside from being too early (as it meant we didn't maintain them as distinct from their physical counterparts in CSSStyleProperties), this meant that we didn't yet have the required context to map them correctly. We now map them as part of the cascade process. To compute the mapping context we do a cascade without mapping, and extract the relevant properties (writing-direction and direction).
16 lines
858 B
Plaintext
16 lines
858 B
Plaintext
Harness status: OK
|
|
|
|
Found 11 tests
|
|
|
|
11 Pass
|
|
Pass All properties can serialize 'initial'
|
|
Pass All properties (except 'all') can serialize their initial value (computed)
|
|
Pass All properties (except 'all') can serialize their initial value (specified)
|
|
Pass All shorthands can serialize their longhands set to 'initial'
|
|
Pass All shorthands (except 'all') can serialize their longhands set to their initial value
|
|
Pass All aliases can serialize target property set to 'initial'
|
|
Pass All aliases can serialize target property set to its initial value
|
|
Pass Can't serialize shorthand when longhands are set to different css-wide keywords
|
|
Pass Can't serialize shorthand when longhands have different priority
|
|
Pass Can't serialize shorthand set to 'initial' when some longhand is missing
|
|
Pass Can't serialize shorthand set to initial value when some longhand is missing |