[csswg-drafts] [css-typed-om] CSSUnparsedValue constructor should throw (#13547)

andruud has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-typed-om] CSSUnparsedValue constructor should throw ==
The spec doesn't handle cases like `new CSSUnparsedValue(['env(0)'])`, and more generally cases which violate the [argument grammar](https://drafts.csswg.org/css-values-5/#argument-grammar) of substitution functions. It should probably also handle violations of `<declaration-value>`.

Same for the indexed setter.

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/13547 using your GitHub account


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

Received on Monday, 23 February 2026 09:53:49 UTC