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

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

From: Florian Rivoal <florianr@opera.com>
Date: Wed, 04 Apr 2012 08:26:19 +0200
To: "www-style@w3.org" <www-style@w3.org>
Message-ID: <op.wb79h5q84p7avi@eeeflorian>
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 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:52 GMT