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

[Bug 18630] [Shadow]: It's unclear where a 'load' event is fired for replaced elements which has an author shadow root.

From: <bugzilla@jessica.w3.org>
Date: Mon, 20 Aug 2012 23:17:35 +0000
Message-Id: <E1T3bDz-0004AR-QX@jessica.w3.org>
To: public-webapps-bugzilla@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=18630

--- Comment #4 from Dimitri Glazkov <dglazkov@chromium.org> 2012-08-20 23:17:35 UTC ---
(In reply to comment #3)
> I don't have a strong technical reason, but it looks natural for me at first
> glance.

Here's why I think we should stay with option A (which is what is in HTML spec
right now):

1) No additional work necessary. The HTML spec clearly states that the event is
dispatched on HTMLImageElement.

2)  Logically, there's a clear separation of responsibilities. The
<real-image-implementation> is just a pixel surface. The loading machinery
lives in HTMLImageElement, where it should be. In a way, the
<real-image-implementation> could be just a canvas tag. It has no loading/error
plumbing whatsoever.

-- 
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 Monday, 20 August 2012 23:17:36 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 20 August 2012 23:17:37 GMT