ACTION-3543: Make SVGElement implement GlobalEventHandlers.
authorErik Dahlstrom <ed@opera.com>
Tue, 03 Dec 2013 17:26:50 +0100
changeset 574 a871fef5859b
parent 573 7a902f4a33f6
child 575 aa262a4102af
ACTION-3543: Make SVGElement implement GlobalEventHandlers.
master/definitions.xml
master/types.html
--- a/master/definitions.xml	Mon Dec 02 11:15:12 2013 +0100
+++ b/master/definitions.xml	Tue Dec 03 17:26:50 2013 +0100
@@ -1422,6 +1422,7 @@
   <interface name='EmbeddingElement' href='http://www.w3.org/TR/Window/#embeddingelt'/>
   <interface name='Window' href='http://www.w3.org/TR/2013/CR-html5-20130806/browsers.html#the-window-object'/>
   <interface name='WindowEventHandlers' href='http://www.w3.org/TR/2013/CR-html5-20130806/webappapis.html#windoweventhandlers'/>
+  <interface name='GlobalEventHandlers' href='http://www.whatwg.org/specs/web-apps/current-work/multipage/webappapis.html#globaleventhandlers'/>
 
   <!-- ... terms .......................................................... -->
   <term name='compound selector' href='http://dev.w3.org/csswg/selectors4/#compound'/>
--- a/master/types.html	Mon Dec 02 11:15:12 2013 +0100
+++ b/master/types.html	Tue Dec 03 17:26:50 2013 +0100
@@ -1437,11 +1437,6 @@
 SVG language (such as the <a>SVGPathElement</a> interface for the
 <a>'path'</a> element) derive from the <a>SVGElement</a> interface.</p>
 
-<p class="issue">SVGElement needs to gain IDL attributes for all of the
-event listener attributes that are supported.  HTML conveniently has
-<a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/webappapis.html#idl-definitions">some interfaces</a>
-we can use directly for that.</p>
-
 <pre class="idl">interface <b>SVGElement</b> : <a class="idlinterface" href="http://www.w3.org/TR/DOM-Level-2-Core/core.html#ID-745549614">Element</a> {
            attribute DOMString <a href="types.html#__svg__SVGElement__id">id</a>;
            attribute DOMString <a href="types.html#__svg__SVGElement__xmlbase">xmlbase</a>;
@@ -1457,7 +1452,9 @@
   readonly attribute <a href="types.html#DataTypeNumber">number</a> <a href="types.html#__svg__SVGElement__tabindex">tabIndex</a>;
   void <a href="types.html#__svg__SVGElement__focus">focus</a>();
   void <a href="types.html#__svg__SVGElement__blur">blur</a>();        
-};</pre>
+};
+
+<a>SVGElement</a> implements <a>GlobalEventHandlers</a>;</pre>
 
 <dl class="interface">
   <dt class="attributes-header">Attributes:</dt>