mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 09:45:06 +02:00
Shorthands should be broken up into their longhands, instead of setting them directly. There's a catch here with our "positional value list shorthands" like `margin`: Setting margin to a single value like `CSSUnitValue(10, "px")` is supposed to fail here, but our type-checking code thinks it's valid because our JSON for `margin` says it accepts lengths. This is the same kind of issue that we had for `cursor` discussed in the "LibWeb/CSS: Support converting CSSUnitValue to a StyleValue" commit. Will get us a few subtest passes for every shorthand that's tested.
71 KiB
71 KiB