svg2: add activeElement to the Document Interface

details:   https://svgwg.org/hg/svg2/rev/dfc8bdc26d34
branches:  
changeset: 526:dfc8bdc26d34
user:      Richard Schwerdtfeger <schwer@us.ibm.com>
date:      Wed Jul 17 17:20:41 2013 -0500
description:
add activeElement to the Document Interface

diffstat:

 master/struct.html |  9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

diffs (46 lines):

diff --git a/master/struct.html b/master/struct.html
--- a/master/struct.html
+++ b/master/struct.html
@@ -2173,16 +2173,17 @@ SVG documents.</p>
 <p>For historical reasons, <a>Window</a> objects must also have a writable, configurable,
 non-enumerable property named SVGDocument whose value is the <a>Document</a> interface object.</p>
 
 <pre class="idl">partial interface <a>Document</a> {
   readonly attribute DOMString <a href="struct.html#__svg__SVGDocument__title">title</a>;
   readonly attribute DOMString <a href="struct.html#__svg__SVGDocument__referrer">referrer</a>;
   readonly attribute DOMString <a href="struct.html#__svg__SVGDocument__domain">domain</a>;
   readonly attribute <a class="idlinterface" href="struct.html#InterfaceSVGSVGElement">SVGSVGElement</a> <a href="struct.html#__svg__SVGDocument__rootElement">rootElement</a>;
+  readonly attribute Element <a href="struct.html#_svg__SVGDocument__activeElement">activeElement</a>;
 };</pre><dl class="interface">
 <dt class="attributes-header">Attributes:</dt>
 <dd>
 <dl class="attributes">
 
 <dt id="__svg__SVGDocument__title" class="attribute first-child"><b>title</b><span class="idl-type-parenthetical"> (readonly DOMString)</span></dt>
 <dd class="attribute">
 <div>
@@ -2214,16 +2215,24 @@ if the server cannot be identified by a 
 
 <dt id="__svg__SVGDocument__rootElement" class="attribute"><b>rootElement</b><span class="idl-type-parenthetical"> (readonly <a class="idlinterface" href="struct.html#InterfaceSVGSVGElement">SVGSVGElement</a>)</span></dt>
 <dd class="attribute">
 <div>
 The root <a>'svg'</a> in the document hierarchy.
 
 </div>
 </dd>
+<dt id="__svg__SVGDocument__activeElement" class="attribute"><b>activeElement</b><span class="idl-type-parenthetical"> (readonly Element)</span></dt>
+<dd class="attribute">
+<div>
+The activeElement attribute must return the element in the document that is focused. If no element in the Document is focused, this must return the <a class="idlinterface" href="struct.html#InterfaceSVGSVGElement">SVGSVGElement</a>).
+</div>
+</dd>
+
+
 </dl>
 </dd>
 </dl>
 
 <h3 id="InterfaceSVGSVGElement">Interface SVGSVGElement</h3>
 
 
 

Received on Wednesday, 17 July 2013 22:23:07 UTC