W3C home > Mailing lists > Public > www-dom@w3.org > July to September 2010

Re: [DOM Level 3 Events] Capture-phase listeners invoked on targets

From: Olli Pettay <Olli.Pettay@helsinki.fi>
Date: Mon, 27 Sep 2010 15:08:14 +0300
Message-ID: <4CA0892E.2080804@helsinki.fi>
To: Stewart Brodie <stewart.brodie@antplc.com>
CC: www-dom@w3.org, sergey@ilinsky.com
On 09/27/2010 12:42 PM, Stewart Brodie wrote:
> Sergey Ilinsky<sergey@ilinsky.com>  wrote:
>
>> As far as I know there are "modern" browsers which handle capture-phase
>> event handlers on targets. Is this behaviour wrong or correct? Is the
>> correct behaviour specified anywhere in the specification?
>
> This has been discussed before (although possibly not on this mailing list?)
> and I believe that a summary would be:
>
> * It was completely wrong
> * Firefox had this bug [bug 235441, lots of discussion there too]
> * Firefox won't fix it because there's a website builder that relies on it
Yeah, otherwise correct, except that the reason is more that many
web sites relies on the behavior where capturing listeners are
called in target phase.

-Olli


> * Other browsers have started to emulate this fault
> * The spec is being retrospectively changed to match Firefox's behaviour
> * any content that relied on the original specification is now broken
>
>
Received on Monday, 27 September 2010 12:09:23 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 June 2012 06:14:05 GMT