W3C home > Mailing lists > Public > public-html@w3.org > June 2010

on<event> attributes as global attributes

From: Dominique Hazael-Massieux <dom@w3.org>
Date: Thu, 24 Jun 2010 13:40:50 +0000
To: public-html@w3.org
Message-ID: <1277386836.1845.920.camel@localhost>

I was wondering why most of the events attributes are defined as global
attributes (i.e. available on all HTML elements):

The specs mentions that:
        "While these attributes apply to all elements, they are not
        useful on all elements. For example, only media elements will
        ever receive a volumechange  event fired by the user agent."
Why couldn't these events attributes only be defined for the relevant
elements then?


Received on Thursday, 24 June 2010 13:44:12 UTC

This archive was generated by hypermail 2.3.1 : Thursday, 29 October 2015 10:16:03 UTC