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

I was also surprised by these.
It really looks like an error to me.

But well, maybe could it interesting to be able to manage documents like audio media for screen-readers...
It should then, if pertinent, be more explicitly specified

>From iPhone

Le 15 f?vr. 2011 ? 05:52, "David Flanagan" <david at davidflanagan.com> a ?crit :

> 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.
>
>    David



Alexandre Morgaut
Product Manager

4D SAS
60, rue d'Alsace
92110 Clichy
France

T?l?phone : +33 1 40 87 92 05
Standard :  +33 1 40 87 92 00
Fax :       +33 1 40 87 92 01
Email :     Alexandre.Morgaut at 4d.com
Web :       www.4D.com

Received on Monday, 14 February 2011 23:55:13 UTC