- From: Xiaocheng Hu via GitHub <sysbot+gh@w3.org>
- Date: Fri, 01 Mar 2024 11:56:36 +0000
- To: public-css-archive@w3.org
@Crissov This looks like custom mixins (#9350) So IIUC wildcard class selectors and custom mixins are basically solving the same problem. I'm also wondering if a selector that targets a group of class names / attribute names will make implementations significantly more complicated. For example, Blink maintains maps keyed by class names for efficient style matching and invalidation, and it will be much more complicated if we have to eg put a trie there for prefix matching. Mixins solve the same use cases without affecting style matching and invalidation. So +1 to mixins over wildcard selectors. -- GitHub Notification of comment by xiaochengh Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10001#issuecomment-1973057268 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Friday, 1 March 2024 11:56:37 UTC