mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-28 05:52:53 +00:00
This wins us 65 new WPT subtest passes! It also shows up that we're doing the wrong thing in ShorthandStyleValue in places, notably with the grid properties. However, having one place to fix instead of two will make it easier to correct them. :^) In order to be fully correct, we should use the algorithm here: https://drafts.csswg.org/cssom/#serialize-a-css-value However, it's quite hand-wavy. What we do have in the meantime is `ShorthandStyleValue::to_string()`, where we special-case the serialization rules for shorthands with a generic fallback that's equivalent to what the previous `get_property_value()` code was doing.
48 lines
1.1 KiB
Text
48 lines
1.1 KiB
Text
=== place-items: normal
|
|
place-items: normal
|
|
align-items: normal
|
|
justify-items: normal
|
|
=== place-items: stretch
|
|
place-items: stretch
|
|
align-items: stretch
|
|
justify-items: stretch
|
|
=== place-items: start
|
|
place-items: start
|
|
align-items: start
|
|
justify-items: start
|
|
=== place-items: end
|
|
place-items: end
|
|
align-items: end
|
|
justify-items: end
|
|
=== place-items: self-start
|
|
place-items: self-start
|
|
align-items: self-start
|
|
justify-items: self-start
|
|
=== place-items: self-end
|
|
place-items: self-end
|
|
align-items: self-end
|
|
justify-items: self-end
|
|
=== place-items: center
|
|
place-items: center
|
|
align-items: center
|
|
justify-items: center
|
|
=== place-items: flex-start
|
|
place-items: flex-start
|
|
align-items: flex-start
|
|
justify-items: flex-start
|
|
=== place-items: flex-end
|
|
place-items: flex-end
|
|
align-items: flex-end
|
|
justify-items: flex-end
|
|
=== place-items: baseline
|
|
place-items: baseline
|
|
align-items: baseline
|
|
justify-items: baseline
|
|
=== place-items: normal start
|
|
place-items: normal start
|
|
align-items: normal
|
|
justify-items: start
|
|
=== place-items: normal center
|
|
place-items: normal center
|
|
align-items: normal
|
|
justify-items: center
|