W3C home > Mailing lists > Public > www-style@w3.org > November 2008

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

From: Brad Kemper <brkemper.comcast@gmail.com>
Date: Mon, 17 Nov 2008 12:57:15 -0800
Message-Id: <20BAED83-268E-4ABF-85AF-821BD689DFDB@gmail.com>
To: Boris Zbarsky <bzbarsky@MIT.EDU>
Cc: "www-style@w3.org List" <www-style@w3.org>


> 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  

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

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:41 UTC