Re: [selectors] Finding a way to run "complete" profile selectors in CSS



On 7/11/13 6:23 PM, "Boris Zbarsky" <bzbarsky@MIT.EDU> wrote:

>On 7/11/13 8:40 PM, Fran├žois REMY wrote:
>> [1] !label /for/ input:focused
>
>Sylvain said what I was going to say about this one, for what it's
>worth.  This one doesn't seem like it should be a "slow selector",
>fundamentally, because finding the set of labels for an input is trivial.
>
>-Boris
Incidentally, some of this already happens in some implementations. If you
click an input element in IE10 the associated labels match :active.
Doesn't work for :focus but I can't imagine it'd be hard to do that also.

  

Received on Friday, 12 July 2013 02:10:47 UTC