svg2: ACTION-3543: Make SVGElement implement GlobalEventHandlers.

details:   https://svgwg.org/hg/svg2/rev/a871fef5859b
branches:  
changeset: 574:a871fef5859b
user:      Erik Dahlstrom <ed@opera.com>
date:      Tue Dec 03 17:26:50 2013 +0100
description:
ACTION-3543: Make SVGElement implement GlobalEventHandlers.

diffstat:

 master/definitions.xml |  1 +
 master/types.html      |  9 +++------
 2 files changed, 4 insertions(+), 6 deletions(-)

diffs (65 lines):

diff --git a/master/definitions.xml b/master/definitions.xml
--- a/master/definitions.xml
+++ b/master/definitions.xml
@@ -1417,16 +1417,17 @@
   <interface name='CSSPrimitiveValue' href='http://www.w3.org/TR/2000/REC-DOM-Level-2-Style-20001113/css.html#CSS-CSSPrimitiveValue'/>
   <interface name='CSSRule' href='http://www.w3.org/TR/2000/REC-DOM-Level-2-Style-20001113/css.html#CSS-CSSRule'/>
   <interface name='ViewCSS' href='http://www.w3.org/TR/2000/REC-DOM-Level-2-Style-20001113/css.html#CSS-ViewCSS'/>
   <interface name='RGBColor' href='http://www.w3.org/TR/2000/REC-DOM-Level-2-Style-20001113/css.html#CSS-RGBColor'/>
   <interface name='AbstractView' href='http://www.w3.org/TR/DOM-Level-2-Views/views.html#Views-AbstractView'/>
   <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'/>
   <term name='compound selectors' href='http://dev.w3.org/csswg/selectors4/#compound'/>
   <term name='tree order' href='http://www.w3.org/TR/2012/WD-dom-20120405/#concept-tree-order'/>
   <term name='InvalidAccessError' href='http://www.w3.org/TR/2012/WD-dom-20120405/#invalidaccesserror'/>
   <term name='InvalidStateError' href='http://www.w3.org/TR/2012/WD-dom-20120405/#invalidstateerror'/>
   <term name='SyntaxError' href='http://www.w3.org/TR/2012/WD-dom-20120405/#syntaxerror'/>
diff --git a/master/types.html b/master/types.html
--- a/master/types.html
+++ b/master/types.html
@@ -1432,37 +1432,34 @@ href="types.html#DataTypeColor">&lt;colo
 </div>
 
 <h3 id="InterfaceSVGElement">Interface SVGElement</h3>
 
 <p>All of the SVG DOM interfaces that correspond directly to elements in the
 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>;
 
   readonly attribute <a class="idlinterface" href="types.html#InterfaceSVGAnimatedString">SVGAnimatedString</a> <a href="types.html#__svg__SVGElement__className">className</a>;
   readonly attribute <a class="idlinterface" href="http://www.w3.org/TR/2000/REC-DOM-Level-2-Style-20001113/css.html#CSS-CSSStyleDeclaration">CSSStyleDeclaration</a> <a href="types.html#__svg__SVGElement__style">style</a>;
 
   attribute DOMString <a href="types.html#__svg__SVGElement__xmllang">xmllang</a>;
   attribute DOMString <a href="types.html#__svg__SVGElement__xmlspace">xmlspace</a>;
 
   readonly attribute <a class="idlinterface" href="struct.html#InterfaceSVGSVGElement">SVGSVGElement</a>? <a href="types.html#__svg__SVGElement__ownerSVGElement">ownerSVGElement</a>;
   readonly attribute <a class="idlinterface" href="types.html#InterfaceSVGElement">SVGElement</a>? <a href="types.html#__svg__SVGElement__viewportElement">viewportElement</a>;
   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>
   <dd>
     <dl class="attributes">
       <dt id="__svg__SVGElement__id" class="attribute first-child"><b>id</b><span class="idl-type-parenthetical"> (DOMString)</span></dt>
       <dd class="attribute">
         <div>

Received on Tuesday, 3 December 2013 16:30:17 UTC