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

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

From: Alexandre Morgaut <Alexandre.Morgaut@4d.com>
Date: Tue, 15 Feb 2011 08:55:13 +0100
Message-ID: <4DE8DF07-DF82-4D3F-848D-F635F54AE2FA@4d.com>
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

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