Andreas Kling
c53c781745
LibWeb: Inline CSSStyleValue::to_keyword()
...
Shaves 120 ms of loading time off of https://wpt.fyi/
2025-01-28 01:12:45 +01:00
Johan Dahlin
1c42d6831b
LibWeb: Style font-variant-* css properties
2024-12-17 19:07:13 +01:00
Gingeh
84150f972f
LibWeb: Properly serialize position/edge style values
2024-12-13 11:35:38 +00:00
Andreas Kling
e85c3c97fb
LibWeb: Add mode flag to CSSStyleValue::to_string()
...
This will be used to differentiate between serialization for resolved
style (i.e window.getComputedStyle()) and serialization for all other
purposes.
2024-12-07 08:31:03 +00:00
Sam Atkins
2c3c821305
LibWeb: Remove Realm parameter from property_initial_value()
...
We don't need the Realm to parse a style value.
Fixes #2720
2024-12-05 19:59:57 +01:00
Sam Atkins
8e3adbe082
LibWeb: Serialize text-decoration closer to spec
...
This gets us 32 WPT subtest passes that I'm aware of. :^)
2024-11-30 11:01:12 +01:00
Sam Atkins
9453c25925
LibWeb/CSS: Don't repeat CSS-wide keywords when serializing shorthands
...
Regardless of what the shorthand property is, if all its longhands are
the same CSS-wide keyword such as "initial" or "inherit", then it's the
same as the shorthand being that value.
This gets us 2 WPT subtest passes.
2024-11-30 11:01:12 +01:00
Sam Atkins
0c39d07b4d
LibWeb/CSS: Serialize overflow correctly
...
When the x and y values are the same, we only want to serialize one.
This gets us 10 local WPT subtest passes. :^)
2024-11-30 11:01:12 +01:00
Timothy Flynn
93712b24bf
Everywhere: Hoist the Libraries folder to the top-level
2024-11-10 12:50:45 +01:00