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

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 UTC