LibWeb/CSS: Link CalculationContext to new spec definition

Corresponds to ad244f3413

There's nothing that we need to do differently I think, but it's nice to
have a clear spec definition to refer to. :^)
This commit is contained in:
Sam Atkins 2025-06-17 10:59:50 +01:00
commit 7fe854c131
Notes: github-actions[bot] 2025-06-17 11:39:34 +00:00

View file

@ -25,7 +25,7 @@ namespace Web::CSS {
class CalculationNode;
// https://drafts.csswg.org/css-values-4/#ref-for-calc-calculation%E2%91%A2%E2%91%A7
// https://drafts.csswg.org/css-values-4/#calc-context
// Contains the context available at parse-time.
struct CalculationContext {
Optional<ValueType> percentages_resolve_as {};