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

Re: ::can-have-focus pseudo-class?

From: Orion Adrian <orion.adrian@gmail.com>
Date: Tue, 1 Nov 2005 10:09:12 -0500
Message-ID: <abd6c8010511010709q171447c1m809232c7989bc5b2@mail.gmail.com>
To: www-style@w3.org

On 11/1/05, David Latapie <david@empyree.org> wrote:
>
>
> Le 1 nov. 05 à 13:09, Martijn a écrit :
>
> >
> > I was just wondering, would a :can-have-focus (or something in that
> > line) pseudo-class be useful in order to be able to style all elements
> > that can receive focus?
>
> I do not know whether of not it will happen or is useful (I guess so,
> if not, you would not ask for it) but I'd suggest something broader:
>
> ::can-have:focus (notice the third colon)
>
> So you may have ::can-have:hover too, as well as any other possible
> behavioural thing

Wouldn't it be more in style to have ::can-have(:focus)


--

Orion Adrian
Received on Tuesday, 1 November 2005 15:09:20 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:41 GMT