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

On Wed, 2 Nov 2005, Martijn wrote:
>
> Well, what happens when you have div { overflow:scroll;} div:focus
> {overflow:visible;}?

Then the moment you focus the element, it expands, you lose focus, and it 
shrinks again. No loop.


> If Gecko can manage that, it should also handle the
> :can-have-state(:focus) thing.

No, because here you have the potential for an actual loop.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'

Received on Tuesday, 1 November 2005 23:35:05 UTC