Re: [csswg-drafts] [css-values-5] attr()'s "px"/etc keywords (#11034)

To re-iterate and elaborate on my [comment](https://github.com/w3c/csswg-drafts/issues/10457#issuecomment-2449338191) in the `<boolean[<test>]>` related issue, it might be worth considering syntax component attribute names now.

`<number [0,1]>` is not a valid `<syntax>` (or `@property/syntax`) at the moment, but I assume it will become valid if `<number px>` becomes valid. People may ask for other syntax component attributes. For example, `<ident range="foo BAR" case-sensitive>` could match a range of identifiers case-sensitively (related: #11124).

`<number px>` is shorter than `<number unit=px>` but it might prevent such extension to the CSS value definition syntax.

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


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

Received on Friday, 1 November 2024 06:50:06 UTC