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

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

--- Comment #10 from Glenn Adams <glenn@skynav.com> 2012-09-12 00:25:45 UTC ---
(In reply to comment #9)
> (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.

Thanks for that correction. I assumed (wrongly) that a Dictionary operated like
an Interface, and had a corresponding Interface object.

-- 
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 Wednesday, 12 September 2012 00:25:47 UTC