Re: [csswg-drafts] [css-values-5] support HTML syntax such as <html-integer> in typed attr() (#12875)

Even though it sort of works, it seems weird to me to encourage developers (especially those building things that are more library-like) to style based on stricter parsing than the underlying language requires.

I wonder if an alternative is to be able to style based on a normalized reflection of the attributes rather than their raw values (probably tied to the [reflection rules](https://html.spec.whatwg.org/multipage/common-dom-interfaces.html#reflecting-content-attributes-in-idl-attributes) for the relevant IDL attribute).

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


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

Received on Tuesday, 30 September 2025 14:52:21 UTC