Re: [csswg-drafts] [css-values] Specs that use CSS values outside of normal style rules should provide information on calc()/non-absolute length resolution in a uniform way (#10853)

@tabatkins @fantasai do either of you have thoughts on this?

I continue to run into places where this lack of definition makes it unclear how to implement. 

A few recent issues are all around specs that want to process a DOMString from JS using the grammar of a CSS property or descriptor:
- How should calc()/non-absolute lengths work in the `ViewTimeline()` constructor when the spec say "parse it as a `<'view-timeline-inset'>` value" (https://github.com/w3c/csswg-drafts/issues/13852)
- How should calc()/non-absolute lengths work in the `Animation` interface's `rangeStart/rangeEnd` attributes when the spec say "parsed as an 'animation-range-end' value" (https://github.com/w3c/csswg-drafts/issues/13853)
- How should calc()/non-absolute lengths work in the `FontFace` interface's attributes on a worker.  Here even a formulation like [@font-palette-values](https://drafts.csswg.org/css-fonts/#font-palette-values) won't work as the root element is not accessible. (https://github.com/w3c/csswg-drafts/issues/13909)

-- 
GitHub Notification of comment by weinig
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10853#issuecomment-4415983642 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Sunday, 10 May 2026 18:11:14 UTC