Re: [css3-selectors] Elements that can have :focus pseudo-class

>>>

> Note that it'd have to be something like @window:focus or something,  
> since window:focus already means something in CSS.

It does? I was not aware of that. Can you elighten me?

How do you feel about *:root:focus, asidecfrom being a bit awkward? I  
haven't tested that one out yet to see if it works. Is it semanticly  
correct?

>> I don't like it (body:focus)

See? My inference was correct.

>> because it's very HTML-centric and changes behavior of existing  
>> stylesheets.

OK then. That's a reasonable argument. Although it would only change  
the behavior of stylesheets that specified something that didn't work  
before. But whatever. I accept your argument about HTML-centricity.

>> Is there another way of doing this that will select the focused  
>> viewport?
>>>
>>> There is not, but perhaps there should be.
>> What syntax would you prefer then?
>
> I don't have a strong preference, actually, as long as it doesn't  
> change the meaning of existing syntax that already means something  
> else.
>
> -Boris

Received on Monday, 17 November 2008 20:58:09 UTC