W3C home > Mailing lists > Public > public-css-archive@w3.org > November 2018

[csswg-drafts] [selectors-4] Clarify :blank application to radio buttons etc. (#3339)

From: fantasai via GitHub <sysbot+gh@w3.org>
Date: Fri, 23 Nov 2018 19:41:20 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-383915360-1543002079-sysbot+gh@w3.org>
fantasai has just created a new issue for https://github.com/w3c/csswg-drafts:

== [selectors-4] Clarify :blank application to radio buttons etc. ==
Andrew Fedoniouk points out that it's not entirely clear whether/how :blank applies to radio buttons etc.
https://lists.w3.org/Archives/Public/www-style/2018Nov/0028.html
We should clarify this. Some options are:

- :blank checks the 'value' on radio buttons and checkboxes; :not(:blank) effectively always applies
-:not(:blank) applies when a radio button or checkbox is has a non-blank 'value' *and* is checked (will submit if not disabled); :blank applies otherwise
- :blank applies to each input element in a group when no radio button or checkbox in its group is checked

Probably the most simple definition is 1; it largely falls out of the existing definition. However the last definition is perhaps more useful. It would be good to hear from authors here what they expect.

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3339 using your GitHub account
Received on Friday, 23 November 2018 19:41:22 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:39 UTC