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

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

From: Ian Hickson <ian@hixie.ch>
Date: Tue, 1 Nov 2005 23:34:57 +0000 (UTC)
To: Martijn <martijn.martijn@gmail.com>
Cc: www-style@w3.org
Message-ID: <Pine.LNX.4.62.0511012334100.9929@dhalsim.dreamhost.com>

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 GMT

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