W3C home > Mailing lists > Public > whatwg@whatwg.org > July 2011

[whatwg] on* attributes on DOM elements

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Thu, 28 Jul 2011 21:59:07 -0400
Message-ID: <4E3213EB.8020508@mit.edu>
On 7/28/11 6:05 PM, Anne van Kesteren wrote:
> So the SVG WG discussed this and they would like this as well. (They
> basically want the same behavior as HTML has here and converge as much
> as possible.) The change to the current mechanism required for SVG is to
> expose an "evt" variable somehow in scope of the Function.

Why, exactly?  I thought for SVG the "evt" thing was only relevant for 
content attributes, not IDL attributes.

> Now does it make sense to have the IDL attributes on Element but not
> have the content attributes on all elements? That would mean it still
> depends on the markup language what you can use as on* attributes which
> is not very straightforward.

It might make sense to look into that too; I did not propose it because 
that's not what UAs do right now.  At least Gecko doesn't; I didn't look 
at others.

Received on Thursday, 28 July 2011 18:59:07 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:35 UTC