ACTION-3563: Mention in SVG2 that rootelement is deprecated.
authorErik Dahlström <ed@opera.com>
Fri, 31 Jan 2014 17:24:11 -0800
changeset 584 2f5842f8a1e0
parent 583 f05eb7f745b2
child 586 0346ff3b8efb
ACTION-3563: Mention in SVG2 that rootelement is deprecated.

Adjusted the activeElement attribute to refer to documentElement instead.
master/changes.html
master/struct.html
--- a/master/changes.html	Fri Jan 31 17:00:41 2014 -0800
+++ b/master/changes.html	Fri Jan 31 17:24:11 2014 -0800
@@ -104,6 +104,8 @@
   <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>
--- a/master/struct.html	Fri Jan 31 17:00:41 2014 -0800
+++ b/master/struct.html	Fri Jan 31 17:24:11 2014 -0800
@@ -1968,12 +1968,14 @@
 <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>