svg2: ACTION-3563: Mention in SVG2 that rootelement is deprecated.

details:   https://svgwg.org/hg/svg2/rev/2f5842f8a1e0
branches:  
changeset: 584:2f5842f8a1e0
user:      Erik Dahlstr?m <ed@opera.com>
date:      Fri Jan 31 17:24:11 2014 -0800
description:
ACTION-3563: Mention in SVG2 that rootelement is deprecated.

Adjusted the activeElement attribute to refer to documentElement instead.

diffstat:

 master/changes.html |  2 ++
 master/struct.html  |  4 +++-
 2 files changed, 5 insertions(+), 1 deletions(-)

diffs (51 lines):

diff --git a/master/changes.html b/master/changes.html
--- a/master/changes.html
+++ b/master/changes.html
@@ -99,16 +99,18 @@ have been made.</p>
 
   <li>Lifted the restriction on <a>'use'</a> not being able to reference an entire document.</li>
 
   <li>Added <a>'lang'</a> attribute on <a>'desc'</a> and <a>'title'</a> elements.</li>
 
   <li>Added section on WAI-ARIA attributes.</li>
 
   <li>Clarified that CSS transforms on an <a>outermost svg element</a> do not affect <a href="struct.html#__svg__SVGSVGElement__currentScale">currentScale</a> or <a href="struct.html#__svg__SVGSVGElement__currentTranslate">currentTranslate</a>. Defined the returned values on <a>'svg'</a> elements that are not <a>outermost svg element</a>.</li>
+
+  <li class="added-since-last-wd">Deprecated the <a href="struct.html#__svg__SVGDocument__rootElement">rootElement</a> attribute.</li>
 </ul>
 
 <h3 id="styling">Styling chapter</h3>
 
 <ul>
   <li>Removed the <span class="attr-name">'contentStyleType'</span> attribute.</li>
 </ul>
 
diff --git a/master/struct.html b/master/struct.html
--- a/master/struct.html
+++ b/master/struct.html
@@ -1963,22 +1963,24 @@ if the server cannot be identified by a 
 </div>
 </dd>
 
 <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.
 
+This attribute is deprecated, and may be removed in a future svg specification.
+Authors are encouraged to use the <a href="http://www.w3.org/TR/dom/#dom-document-documentelement">documentElement</a> attribute in Document instead.
 </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 href="struct.html#__svg__SVGDocument__rootElement">rootElement</a>.
+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 href="http://www.w3.org/TR/dom/#dom-document-documentelement">documentElement</a>.
 </div>
 </dd>
 
 </dl>
 </dd>
 </dl>
 
 <h3 id="InterfaceSVGSVGElement">Interface SVGSVGElement</h3>

Received on Saturday, 1 February 2014 01:26:34 UTC