- From: Sebastian Zartner via GitHub <noreply@w3.org>
- Date: Sun, 09 Nov 2025 22:12:50 +0000
- To: public-css-archive@w3.org
> So, it looks like the top attributes `|=` is used on are _mostly_ single-valued, with one big fat exception: `class`! Here are the results (thanks [@rviscomi](https://github.com/rviscomi)!): https://docs.google.com/spreadsheets/d/1aL4XJoEK-1siYmx-f1Sf6WyH0HWVLY-QlW9j4kOHH18/edit?gid=1039128869#gid=1039128869 I had a look at the few example pages in the spreadsheet that use `|=` for `class`. And those always use the class as the first one in a list and apply general styles, so would be fine if `|=` got relaxed as suggested by @Crissov. Though this still needs a broader evaluation for compatibility. @rviscomi Maybe you could do a query that tests whether sites using `class|=` do have classes somewhere in the middle of the `class` attribute? Sebastian -- GitHub Notification of comment by SebastianZ Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10001#issuecomment-3508885075 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Sunday, 9 November 2025 22:12:50 UTC