W3C home > Mailing lists > Public > www-style@w3.org > August 2004

Re: [css3-selectors] May ':active' be applied to "normal" elements or not?

From: Ian Hickson <ian@hixie.ch>
Date: Wed, 18 Aug 2004 17:16:51 +0000 (UTC)
To: lachlan.hunt@lachy.id.au
Cc: Boris Zbarsky <bzbarsky@MIT.EDU>, W3C CSS List <www-style@w3.org>
Message-ID: <Pine.LNX.4.61.0408181713530.18046@dhalsim.dreamhost.com>

On Thu, 19 Aug 2004, Lachlan Hunt wrote:
>
> Why can't it just detect if an event handler is attached to it during 
> the capture, or bubble phase?

Doing that is quite inefficient since you have to check the entire 
ancestor tree for capture and bubbling handlers, the element itself, any 
forwarded event handlers from an XBL binding, any XML Event handlers on 
all of those (if those aren't implemented as normal event handlers), and 
for an event handler attribute.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Wednesday, 18 August 2004 17:16:53 GMT

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