W3C home > Mailing lists > Public > public-html-bugzilla@w3.org > September 2012

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

From: <bugzilla@jessica.w3.org>
Date: Wed, 12 Sep 2012 00:25:46 +0000
Message-Id: <E1TBam2-0002ro-Eq@jessica.w3.org>
To: public-html-bugzilla@w3.org
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

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 16:31:33 UTC