on<event> attributes as global attributes

Hi,

I was wondering why most of the events attributes are defined as global
attributes (i.e. available on all HTML elements):
http://dev.w3.org/html5/spec/elements.html#global-attributes

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?

Thanks,

Dom

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