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

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 UTC