Re: [selectors] css4 focus-within

>On 1/6/15 2:09 PM, "Florian Rivoal" <florian@rivoal.net> wrote:
>
>>
>>So you'd write *:has( *:focus ) {}
>>
>>1) :has() is not part of the "fast profile" [2], meaning :has is not
>>available for CSS selection, only for things like query() method, so it
>>cannot be used here
>

Are you saying we can't do: parent:has( child:focus ) {}?

Would we still have to use javascript and do: parent:has( child.active )
{}?

Could you elaborate with a few examples on what can be done and what can't?
Not sure what you mean entirely by "not available for CSS selection".


-Bruno

Received on Wednesday, 7 January 2015 09:49:18 UTC