- From: Chris Rebert <csswg@chrisrebert.com>
- Date: Mon, 11 Apr 2016 16:11:03 -0700
- To: www-style@w3.org
On Mon, Feb 8, 2016, at 12:04 AM, Chris Rebert wrote: > Currently, in https://drafts.csswg.org/selectors-4/#checked there's: > > > EXAMPLE 34 > > An unchecked checkbox can be selected by using the negation pseudo-class: > > :not(:checked) > > This strikes me as a suboptimal, especially-unrealistic example since in > addition to unchecked checkboxes, it also matches *all elements which > lack a concept of checkedness* (i.e. almost all elements; e.g. <div>, > <span>). (And unchecked radio buttons too, but that's a much more minor > point.) > > Perhaps the example selector could be qualified with > `input[type="checkbox"]` ? This correction has apparently been applied in https://github.com/w3c/csswg-drafts/commit/d3fbb3d6b4fcdf7e61427e2aa2ec4d77e738f04e Regards, Chris -- https://github.com/cvrebert Browser 🐛 of the day: https://webkit.org/b/137269
Received on Monday, 11 April 2016 23:11:26 UTC