- From: Bramus! via GitHub <sysbot+gh@w3.org>
- Date: Mon, 12 Sep 2022 11:23:59 +0000
- To: public-css-archive@w3.org
_(Cross-post from #354)_ To numerically compare attribute values today, authors can work around this by: 1. Injecting all the values that the item is not equal to, using `data-*` attributes. 2. Using the CSS Attribute “Value Contains” Selector (e.g. `[attribute~=value]`) on those `data-*` attributes. I’ve detailed this nasty and cumbersome hack back in the day over at https://www.bram.us/2016/10/13/css-attribute-value-less-than-greater-than-equals-selectors/. -- GitHub Notification of comment by bramus Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5890#issuecomment-1243597340 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Monday, 12 September 2022 11:24:01 UTC