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

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 UTC