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

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.
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