[html5] r3701 - [e] (0) Split document.open() and document.close().
whatwg at whatwg.org
whatwg at whatwg.org
Sat Aug 29 16:48:21 PDT 2009
Author: ianh
Date: 2009-08-29 16:48:20 -0700 (Sat, 29 Aug 2009)
New Revision: 3701
Modified:
index
source
Log:
[e] (0) Split document.open() and document.close().
Modified: index
===================================================================
--- index 2009-08-29 23:33:07 UTC (rev 3700)
+++ index 2009-08-29 23:48:20 UTC (rev 3701)
@@ -282,12 +282,13 @@
<li><a href=#interactions-with-xpath-and-xslt><span class=secno>3.4 </span>Interactions with XPath and XSLT</a></li>
<li><a href=#dynamic-markup-insertion><span class=secno>3.5 </span>Dynamic markup insertion</a>
<ol>
- <li><a href=#controlling-the-input-stream><span class=secno>3.5.1 </span>Controlling the input stream</a></li>
- <li><a href=#document.write()><span class=secno>3.5.2 </span><code title=dom-document-write>document.write()</code></a></li>
- <li><a href=#document.writeln()><span class=secno>3.5.3 </span><code title=dom-document-writeln>document.writeln()</code></a></li>
- <li><a href=#innerhtml><span class=secno>3.5.4 </span><code title=dom-innerHTML>innerHTML</code></a></li>
- <li><a href=#outerhtml><span class=secno>3.5.5 </span><code title=dom-outerHTML>outerHTML</code></a></li>
- <li><a href=#insertadjacenthtml()><span class=secno>3.5.6 </span><code title=dom-insertAdjacentHTML>insertAdjacentHTML()</code></a></ol></ol></li>
+ <li><a href=#opening-the-input-stream><span class=secno>3.5.1 </span>Opening the input stream</a></li>
+ <li><a href=#closing-the-input-stream><span class=secno>3.5.2 </span>Closing the input stream</a></li>
+ <li><a href=#document.write()><span class=secno>3.5.3 </span><code title=dom-document-write>document.write()</code></a></li>
+ <li><a href=#document.writeln()><span class=secno>3.5.4 </span><code title=dom-document-writeln>document.writeln()</code></a></li>
+ <li><a href=#innerhtml><span class=secno>3.5.5 </span><code title=dom-innerHTML>innerHTML</code></a></li>
+ <li><a href=#outerhtml><span class=secno>3.5.6 </span><code title=dom-outerHTML>outerHTML</code></a></li>
+ <li><a href=#insertadjacenthtml()><span class=secno>3.5.7 </span><code title=dom-insertAdjacentHTML>insertAdjacentHTML()</code></a></ol></ol></li>
<li><a href=#semantics><span class=secno>4 </span>The elements of HTML</a>
<ol>
<li><a href=#the-root-element><span class=secno>4.1 </span>The root element</a>
@@ -9373,7 +9374,7 @@
- <h4 id=controlling-the-input-stream><span class=secno>3.5.1 </span>Controlling the input stream</h4>
+ <h4 id=opening-the-input-stream><span class=secno>3.5.1 </span>Opening the input stream</h4>
<p>The <dfn id=dom-document-open title=dom-document-open><code>open()</code></dfn>
method comes in several variants with different numbers of
@@ -9413,14 +9414,6 @@
</dd>
- <dt><var title="">document</var> . <code title=dom-document-close><a href=#dom-document-close>close</a></code>()</dt>
-
- <dd>
-
- <p>Closes the input stream that was opened by the <code title=dom-document-open><a href=#dom-document-open>document.open()</a></code> method.</p>
-
- </dd>
-
</dl><div class=impl>
<p>When called with two or fewer arguments, the method must act as
@@ -9569,6 +9562,22 @@
<code><a href=#window>Window</a></code> object, then the method must raise an
<code><a href=#invalid_access_err>INVALID_ACCESS_ERR</a></code> exception.</p>
+ </div>
+
+
+
+ <h4 id=closing-the-input-stream><span class=secno>3.5.2 </span>Closing the input stream</h4>
+
+ <dl class=domintro><dt><var title="">document</var> . <code title=dom-document-close><a href=#dom-document-close>close</a></code>()</dt>
+
+ <dd>
+
+ <p>Closes the input stream that was opened by the <code title=dom-document-open><a href=#dom-document-open>document.open()</a></code> method.</p>
+
+ </dd>
+
+ </dl><div class=impl>
+
<p>The <dfn id=dom-document-close title=dom-document-close><code>close()</code></dfn>
method must do nothing if there is no <a href=#script-created-parser>script-created
parser</a> associated with the document. If there is such a
@@ -9580,7 +9589,7 @@
- <h4 id=document.write()><span class=secno>3.5.2 </span><code title=dom-document-write><a href=#dom-document-write>document.write()</a></code></h4>
+ <h4 id=document.write()><span class=secno>3.5.3 </span><code title=dom-document-write><a href=#dom-document-write>document.write()</a></code></h4>
<dl class=domintro><dt><var title="">document</var> . <code title=dom-document-write><a href=#dom-document-write>write</a></code>(<var title="">text</var>...)</dt>
@@ -9666,7 +9675,7 @@
</ol></div>
- <h4 id=document.writeln()><span class=secno>3.5.3 </span><code title=dom-document-writeln><a href=#dom-document-writeln>document.writeln()</a></code></h4>
+ <h4 id=document.writeln()><span class=secno>3.5.4 </span><code title=dom-document-writeln><a href=#dom-document-writeln>document.writeln()</a></code></h4>
<dl class=domintro><dt><var title="">document</var> . <code title=dom-document-writeln><a href=#dom-document-writeln>writeln</a></code>(<var title="">text</var>...)</dt>
@@ -9693,7 +9702,7 @@
- <h4 id=innerhtml><span class=secno>3.5.4 </span><code title=dom-innerHTML><a href=#dom-innerhtml>innerHTML</a></code></h4>
+ <h4 id=innerhtml><span class=secno>3.5.5 </span><code title=dom-innerHTML><a href=#dom-innerhtml>innerHTML</a></code></h4>
<p>The <dfn id=dom-innerhtml title=dom-innerHTML><code>innerHTML</code></dfn> DOM
attribute represents the markup of the node's contents.</p>
@@ -9811,7 +9820,7 @@
- <h4 id=outerhtml><span class=secno>3.5.5 </span><code title=dom-outerHTML><a href=#dom-outerhtml>outerHTML</a></code></h4>
+ <h4 id=outerhtml><span class=secno>3.5.6 </span><code title=dom-outerHTML><a href=#dom-outerhtml>outerHTML</a></code></h4>
<p>The <dfn id=dom-outerhtml title=dom-outerHTML><code>outerHTML</code></dfn> DOM
attribute represents the markup of the element and its contents.</p>
@@ -9920,7 +9929,7 @@
- <h4 id=insertadjacenthtml()><span class=secno>3.5.6 </span><code title=dom-insertAdjacentHTML><a href=#dom-insertadjacenthtml>insertAdjacentHTML()</a></code></h4>
+ <h4 id=insertadjacenthtml()><span class=secno>3.5.7 </span><code title=dom-insertAdjacentHTML><a href=#dom-insertadjacenthtml>insertAdjacentHTML()</a></code></h4>
<dl class=domintro><dt><var title="">element</var> . <code title=dom-insertAdjacentHTML><a href=#dom-insertadjacenthtml>insertAdjacentHTML</a></code>(<var title="">position</var>, <var title="">text</var>)</dt>
Modified: source
===================================================================
--- source 2009-08-29 23:33:07 UTC (rev 3700)
+++ source 2009-08-29 23:48:20 UTC (rev 3701)
@@ -9742,7 +9742,7 @@
- <h4>Controlling the input stream</h4>
+ <h4>Opening the input stream</h4>
<p>The <dfn title="dom-document-open"><code>open()</code></dfn>
method comes in several variants with different numbers of
@@ -9786,15 +9786,6 @@
</dd>
- <dt><var title="">document</var> . <code title="dom-document-close">close</code>()</dt>
-
- <dd>
-
- <p>Closes the input stream that was opened by the <code
- title="dom-document-open">document.open()</code> method.</p>
-
- </dd>
-
</dl>
<div class="impl">
@@ -9963,6 +9954,27 @@
<code>Window</code> object, then the method must raise an
<code>INVALID_ACCESS_ERR</code> exception.</p>
+ </div>
+
+
+
+ <h4>Closing the input stream</h4>
+
+ <dl class="domintro">
+
+ <dt><var title="">document</var> . <code title="dom-document-close">close</code>()</dt>
+
+ <dd>
+
+ <p>Closes the input stream that was opened by the <code
+ title="dom-document-open">document.open()</code> method.</p>
+
+ </dd>
+
+ </dl>
+
+ <div class="impl">
+
<p>The <dfn title="dom-document-close"><code>close()</code></dfn>
method must do nothing if there is no <span>script-created
parser</span> associated with the document. If there is such a
More information about the Commit-Watchers
mailing list