W3C home > Mailing lists > Public > www-style@w3.org > March 2012

Re: [css3-transitions][css3-animations] Event handler attributes on Window

From: Aryeh Gregor <ayg@aryeh.name>
Date: Thu, 1 Mar 2012 13:49:24 -0500
Message-ID: <CAKA+Ax=t8u44uAD=HLv1pUwSUi=7hv4C=NP3a_Ha7pFMZB+m_w@mail.gmail.com>
To: Øyvind Stenhaug <oyvinds@opera.com>
Cc: "www-style@w3.org" <www-style@w3.org>
On Mon, Feb 27, 2012 at 12:47 PM, Øyvind Stenhaug <oyvinds@opera.com> wrote:
> Chrome/WebKit has these event handler attributes on the window object:
> onwebkittransitionend
> onwebkitanimationstart
> onwebkitanimationiteration
> onwebkitanimationend
> I don't see anything about this in the specs, and neither Firefox/Gecko nor
> Opera/Presto have corresponding attributes.
> Should this be regarded as a WebKit issue, or a spec issue?

Just to clarify for those who come after me, because I was quite
confused at first: the events themselves are in the spec, and all
browsers support them (at least transitionend).  The issue is the
event handler attributes.

As far as I can tell, HTML has added new event handler attributes for
all its new event types, like onvolumechange and so on.  The practice
seems to be to still do that.  Tab Atkins agreed when I brought it up
in #whatwg.  So I'd say the specs should be fixed to add new content
attributes and IDL attributes to HTMLElement.  Alternatively, if we
don't want a dependency on HTML5, we could ask to add the attributes
in HTML5 (which already has normative dependencies on other CSS3
modules, like Color and Images).
Received on Thursday, 1 March 2012 18:50:20 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:38:56 UTC