- From: Keith Cirkel via GitHub <sysbot+gh@w3.org>
- Date: Wed, 22 Mar 2023 12:35:59 +0000
- To: public-css-archive@w3.org
keithamus has just created a new issue for https://github.com/w3c/csswg-drafts: == [css-selectors] Be able to select for partial attribute names == It can be useful to select for _partial_ attribute _names_ (not values); for example trying select all elements with an aria attribute (i.e. any attribute name which matches `/aria-.*/`) or data attribute (`/data-.*/`), another example is the recent popover attributes; `popovertoggletarget`, `popoverhidetarget`, `popovershowtarget` - it would be useful to have on selector to find all "popover invokers" that have an attribute matching `/^popover.*target$/`. I'd like to propose some way of extending the attribute selector syntax to allow for this kind of wildcard. Simple wildcards rather than regexes will likely be sufficient. Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/8632 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 22 March 2023 12:36:01 UTC