W3C home > Mailing lists > Public > whatwg@whatwg.org > February 2011

[whatwg] Why are media event handlers defined on HTMLElement instead of HTMLMediaElement

From: David Flanagan <david@davidflanagan.com>
Date: Tue, 15 Feb 2011 14:54:10 -0800
Message-ID: <4D5B0412.1040703@davidflanagan.com>
On 02/15/2011 12:44 PM, Philip J?genstedt wrote:
> On Tue, 15 Feb 2011 19:13:26 +0100, David Flanagan
> <david at davidflanagan.com> wrote:
>> What about Document and Window? What's the justification for defining
>> the media event handler attributes on those objects?
>
> Huh, it is on Window, I hadn't seen that before. They were added in
> http://html5.org/r/3005 but I can't say I understand why.
>
> I can't see it on Document in Web DOM Core, though, am I missing something?
>

Sorry, I meant HTMLDocument:

http://www.whatwg.org/specs/web-apps/current-work/multipage/dom.html#documents

Looks like they were added to HTMLDocument in the same change set.

	David
Received on Tuesday, 15 February 2011 14:54:10 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:30 UTC