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

David Flanagan david at davidflanagan.com
Mon Feb 14 13:54:54 PST 2011

The draft specification defines 20+ medial event handler IDL attributes 
on HTMLElement.  These events are non-bubbling and are always targeted 
at <audio> and <video> tags, so I wonder if they wouldn't be better 
defined on HTMLMediaElement instead.


More information about the whatwg mailing list