Re: [csswg-drafts] Is <attr-unit> parse-time behavior intentional? (#13060)

I could see it going either way, but I do lean slightly towards the current behavior of making things invalid; putting the number in an attribute and using `attr(foo cool-unit)` to reference it then acts identically to just putting `2cool-unit` in. Fallback is, generally, meant to handle *dynamic* failures that can't be predicted ahead of time.

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


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

Received on Wednesday, 5 November 2025 20:49:44 UTC