svg2: Note the IDL interfaces defined in HTML that we can reuse for e...

details:   https://svgwg.org/hg/svg2/rev/c743c3ba8f17
branches:  
changeset: 416:c743c3ba8f17
user:      Cameron McCormack <cam@mcc.id.au>
date:      Wed Jan 16 14:41:26 2013 +1100
description:
Note the IDL interfaces defined in HTML that we can reuse for event listener IDL attributes.

diffstat:

 master/types.html |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (24 lines):

diff --git a/master/types.html b/master/types.html
--- a/master/types.html
+++ b/master/types.html
@@ -1498,17 +1498,19 @@ href="types.html#DataTypeColor">&lt;colo
 
 <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.</p>
+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>;
 

Received on Wednesday, 16 January 2013 03:43:22 UTC