[html5] r7800 - [giow] (3) Match reality Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=2 [...]

whatwg at whatwg.org whatwg at whatwg.org
Wed Apr 10 15:00:39 PDT 2013


Author: ianh
Date: 2013-04-10 15:00:38 -0700 (Wed, 10 Apr 2013)
New Revision: 7800

Modified:
   complete.html
   index
   source
Log:
[giow] (3) Match reality
Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=20656
Affected topics: DOM APIs

Modified: complete.html
===================================================================
--- complete.html	2013-04-10 21:21:51 UTC (rev 7799)
+++ complete.html	2013-04-10 22:00:38 UTC (rev 7800)
@@ -8694,7 +8694,10 @@
    incumbent body element</a> as its two arguments respectively,
    then abort these steps.</li>
 
-   <li>Otherwise, <a href=#the-body-element-0>the body element</a> is null. Append
+   <li>Otherwise, if there is no root element, throw a <code><a href=#hierarchyrequesterror>HierarchyRequestError</a></code> exception
+   and abort these steps.</li>
+
+   <li>Otherwise, <a href=#the-body-element-0>the body element</a> is null, but there's a root element. Append
    the new value to the root element.</li>
 
   </ol></div>

Modified: index
===================================================================
--- index	2013-04-10 21:21:51 UTC (rev 7799)
+++ index	2013-04-10 22:00:38 UTC (rev 7800)
@@ -8694,7 +8694,10 @@
    incumbent body element</a> as its two arguments respectively,
    then abort these steps.</li>
 
-   <li>Otherwise, <a href=#the-body-element-0>the body element</a> is null. Append
+   <li>Otherwise, if there is no root element, throw a <code><a href=#hierarchyrequesterror>HierarchyRequestError</a></code> exception
+   and abort these steps.</li>
+
+   <li>Otherwise, <a href=#the-body-element-0>the body element</a> is null, but there's a root element. Append
    the new value to the root element.</li>
 
   </ol></div>

Modified: source
===================================================================
--- source	2013-04-10 21:21:51 UTC (rev 7799)
+++ source	2013-04-10 22:00:38 UTC (rev 7800)
@@ -8478,7 +8478,10 @@
    incumbent body element</span> as its two arguments respectively,
    then abort these steps.</li>
 
-   <li>Otherwise, <span>the body element</span> is null. Append
+   <li>Otherwise, if there is no root element, throw a <code>HierarchyRequestError</code> exception
+   and abort these steps.</li>
+
+   <li>Otherwise, <span>the body element</span> is null, but there's a root element. Append
    the new value to the root element.</li>
 
   </ol>




More information about the Commit-Watchers mailing list