- From: Joey Arhar via GitHub <sysbot+gh@w3.org>
- Date: Wed, 13 Dec 2023 17:12:27 +0000
- To: public-css-archive@w3.org
josepharhar has just created a new issue for https://github.com/w3c/csswg-drafts: == [selectors] Should `:checked` and `:indeterminate` be exclusive? == The `:checked` and `:indeterminate` pseudo-classes can apply to `<input type=checkbox>`: https://drafts.csswg.org/selectors/#checked https://drafts.csswg.org/selectors/#indeterminate These are also defined in the HTML spec here: https://html.spec.whatwg.org/#selector-checked https://html.spec.whatwg.org/#selector-indeterminate WebKit recently implemented support for matching both of these selectors at the same time since the "checked" and "indeterminate" states exist independently and don't force each other on or off when modifying via javascript: https://github.com/WebKit/WebKit/pull/21157 I was going to implement the same behavior in chromium to pass the WPT, but it was pointed out that the idea of matching both at the same time was never discussed here. Can we formally decide to allow this and perhaps add a note to the spec saying that both can match at the same time? @dbaron @annevk Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/9706 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 13 December 2023 17:12:29 UTC