Re: [csswg-drafts] [css-properties-values-api] Are fallbacks provided for registered properties validated by the CP syntax? (#10455)

> Nothing in any of the specs suggests there should be such an effect

It's specified here: https://drafts.css-houdini.org/css-properties-values-api-1/#fallbacks-in-var-references

See also https://github.com/w3c/css-houdini-drafts/issues/360.

---

But I agree that this seems odd now that we have other arbitrary substitution functions that can violate the "grammar" in the fallback, e.g.:

```
width: attr(my-width px, auto);
                         ^^^^ <-- Not px, but valid
``` 

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


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

Received on Tuesday, 17 September 2024 09:11:25 UTC