[Bug 14895] MouseEventInit not defined by [DOMEVENTS] (DOM-3 Events)

https://www.w3.org/Bugs/Public/show_bug.cgi?id=14895

--- Comment #9 from Travis Leithead [MSFT] <travil@microsoft.com> 2012-09-11 16:30:55 UTC ---
(In reply to comment #8)
> while I would prefer changing DOM3 EVENTS to make the definition of
> MouseEventInit normative, I can accept this fix; however, note that this fix
> does not support the ability to perform instanceof MouseEventInit, which would
> have been available if MouseEventInit were defined on its own;
> 
> another alternative would have been defining a normative MouseEventInit in
> HTML5 itself;

Thanks for closing.

Actually, you misunderstand the structure of a dictionary definition.
Dictionaries are solely meant to be "implemented by" JavaScript objects (per
WebIDL), so really it was never possible to do an instanceof check, or an:
if (window.MouseEventInit) check.

-- 
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, 11 September 2012 16:31:00 UTC