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
8a8cc18cf4
LibWeb: Make StyleValue constructors infallible
2023-08-19 17:34:22 +02:00
Sam Atkins
d16600a48b
LibWeb: Propagate errors from StyleValue construction
...
Turns out we create a lot of these, mostly from places that don't return
ErrorOr. The yak stack grows.
2023-05-06 08:07:28 +02:00
Sam Atkins
0c14103025
LibWeb: Move PercentageOr and subclasses into PercentageOr.{h,cpp}
...
This solves an awkward dependency cycle, where CalculatedStyleValue
needs the definition of Percentage, but including that would also pull
in PercentageOr, which in turn needs CalculatedStyleValue.
Many places that previously included StyleValue.h no longer need to. :^)
2023-03-30 21:29:50 +02:00
Sam Atkins
9d5296889f
LibWeb: Split BackgroundSizeStyleValue out of StyleValue.{h,cpp}
2023-03-25 16:56:04 +00:00