[whatwg] Should onfoo event handler properties be on Element or HTMLElement?
Boris Zbarsky
bzbarsky at MIT.EDU
Wed Jan 22 15:09:44 PST 2014
On 1/22/14 9:06 AM, Erik Dahlström wrote:
> In SVG2 most of the events with "SVG" event name prefixes have been
> removed[4], e.g "SVGLoad" is now a plain "load", which means they follow
> the pattern for event handler content attributes.
>
> SVGResize, SVGScroll and SVGZoom still remain to be fixed in the spec.
> Of these only SVGZoom lacks an existing unprefixed counterpart, so that
> would be a possible addition to GlobalEventHandlers with the event name
> "zoom".
>
> My question is: what should be done with the SVG specific event
> handlers? Should they be added to GlobalEventHandlers, or should they be
> just on SVGElement?
Or neither, if desired. In Gecko we don't expose the SVG* properties in
IDL at all...
-Boris
More information about the whatwg
mailing list