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

On Fri, 30 Mar 2012 22:06:39 +0200, Tab Atkins Jr. <jackalmage@gmail.com>  
wrote:

> 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 too was thinking that they were added "as needed for backward  
compatibility",
and I am not overly interested in adding them for other reasons. Not a
strong objection, but that's were my preference goes.

  - Florian

Received on Wednesday, 4 April 2012 06:22:01 UTC