Sam Atkins
4efdb76857
LibWeb/CSS: Give calc() a CalculationContext for resolving percentages
...
This is passed in at construction, meaning we will be able to refer to
it later, when we're no longer inside the Parser.
2025-01-13 10:59:16 +00:00
Sam Atkins
69a0f28d04
Revert "LibWeb/CSS: Rename CalculatedStyleValue -> CSSMathValue"
...
This reverts commit 76daba3069
.
We're going to need separate types for the JS-exposed style values, so
it doesn't make sense for us to match their names with our internal
types.
2024-12-21 18:14:28 +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
Timothy Flynn
93712b24bf
Everywhere: Hoist the Libraries folder to the top-level
2024-11-10 12:50:45 +01:00