Timothy Flynn
93712b24bf
Everywhere: Hoist the Libraries folder to the top-level
2024-11-10 12:50:45 +01:00
Sam Atkins
6e68e8f3c9
LibWeb/CSS: Insert whitespace between tokens in serialized UnresolvedSV
...
Otherwise, `margin: var(--foo) var(--bar)` would be wrongly serialized
as `margin: var(--foo)var(--bar)`
2024-10-16 08:34:31 +02:00
Sam Atkins
bf3e6daedb
LibWeb/CSS: Preserve whitespace and comments in custom properties
...
A couple of parts of this:
- Store the source text for Declarations of custom properties.
- Then save that in the UnresolvedStyleValue.
- Serialize UnresolvedStyleValue using the saved source when available -
that is, for custom properties but not for regular properties that
include var() or attr().
2024-10-16 08:34:31 +02:00
Andreas Kling
cc4b3cbacc
Meta: Update my e-mail address everywhere
2024-10-04 13:19:50 +02:00
Sam Atkins
0e3487b9ab
LibWeb: Rename StyleValue -> CSSStyleValue
...
This matches the name in the CSS Typed OM spec.
https://drafts.css-houdini.org/css-typed-om-1/#cssstylevalue
No behaviour changes.
2024-08-15 13:58:38 +01:00
Sam Atkins
7fe97ee6c5
LibWeb: Make StyleValue::to_string() infallible
2023-08-22 17:51:48 +01:00
Sam Atkins
ccfe197e5a
LibWeb: Make serializing CSS Parser types infallible
2023-08-22 17:51:48 +01:00
Sam Atkins
1d948f7462
LibWeb: Split UnresolvedStyleValue out of StyleValue.{h,cpp}
2023-03-25 16:56:04 +00:00