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

Re: [css3-transitions] Content attribute for transitionend event handling

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Fri, 30 Mar 2012 13:06:39 -0700
Message-ID: <CAAWBYDA=Ygy_N6Sq5d8xODMRFzca4ga2C1aFTFLMNT4Y98maHA@mail.gmail.com>
To: "L. David Baron" <dbaron@dbaron.org>
Cc: Sylvain Galineau <sylvaing@microsoft.com>, "www-style@w3.org" <www-style@w3.org>
On Fri, Mar 30, 2012 at 11:44 AM, L. David Baron <dbaron@dbaron.org> wrote:
> I was under the impression that these attributes were seen as a
> backwards-compatibility feature and plan in the DOM events world was
> to not add them for new events.  But I could be wrong there.
>
> http://www.w3.org/TR/DOM-Level-3-Events/#EventTarget-onfoo doesn't
> say anything about that other than saying the attributes are
> language-specific.
>
> http://dev.w3.org/html5/spec/webappapis.html#event-handler-content-attributes
> doesn't say which events have event handler content attributes in
> HTML5, though I bet something in HTML5 does.

Nope, they're just added "as needed", when it makes sense to have a
content attribute for the event listener.

(I think transitionend is sufficiently useful to justify an on* attribute.)

~TJ
Received on Friday, 30 March 2012 20:07:28 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 22 May 2012 03:48:53 GMT