- From: Miriam Suzanne via GitHub <sysbot+gh@w3.org>
- Date: Fri, 09 Feb 2024 00:35:12 +0000
- To: public-css-archive@w3.org
I'm curious what the `.foo[@id]` selector syntax adds in this proposal. On the other end, `item-[@id]` seems like a more concise way of spelling something using the `attr()` function, like `item- attr(id, ident))`. If we can access attributes as idents (or interpolate them into idents), I'm not sure if the selector-side syntax bring anything new to the equation? Having a value-side shorthand for accessing attributes as idents might still be useful - it's certainly simpler to write. -- GitHub Notification of comment by mirisuzanne Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/8320#issuecomment-1935147429 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Friday, 9 February 2024 00:35:14 UTC