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

David Flanagan david at davidflanagan.com
Tue Feb 15 14:54:10 PST 2011

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:


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


More information about the whatwg mailing list