W3C home > Mailing lists > Public > public-webapps-bugzilla@w3.org > August 2012

[Bug 18455] [Shadow]: Stop 'load' and 'error' events at shadow boundaries

From: <bugzilla@jessica.w3.org>
Date: Tue, 14 Aug 2012 00:58:57 +0000
Message-Id: <E1T15TF-0007FO-4J@jessica.w3.org>
To: public-webapps-bugzilla@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=18455

--- Comment #11 from Hayato Ito <hayato@chromium.org> 2012-08-14 00:58:56 UTC ---
I understood. The current webkit implementation for <img> element is just
wrong. A 'load' event in such case should be fired on the host element, not the
element in the shadow dom subtree.


(In reply to comment #10)
> I am lost. Could you guys explain what is concluded?
> 
> 1. Users add a 'onload' listener on the <img> (or <video> element).
> 2. Users add a author shadow root to the <img> element.
> 3. Users set img.src = 'someurl'.
> 
> In this case, will the listener receive an onload event?
> 
> 
> (In reply to comment #9)
> > (In reply to comment #8)
> > 
> > > Hmm... OK...
> > > You say that just adding an EventListener to the host is enough? Then we could
> > > handle it...
> > 
> > Great!

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Tuesday, 14 August 2012 00:58:59 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 14 August 2012 00:59:00 GMT