- From: poot <cvsmail@w3.org>
- Date: Tue, 2 Dec 2008 15:15:06 +0900 (JST)
- To: public-html-diffs@w3.org
document.close() should insert the EOF at the end of the file, not in the middle... (whatwg r2514) 3.7.2 Dynamic markup insertion in HTML http://people.w3.org/mike/diffs/html5/spec/Overview.1.1685.html#dynamic-markup-insertion-in-html close() http://people.w3.org/mike/diffs/html5/spec/Overview.1.1685.html#dom-document-close http://people.w3.org/mike/diffs/html5/spec/Overview.diff.html http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.1684&r2=1.1685&f=h http://html5.org/tools/web-apps-tracker?from=2513&to=2514 =================================================================== RCS file: /sources/public/html5/spec/Overview.html,v retrieving revision 1.1684 retrieving revision 1.1685 diff -u -d -r1.1684 -r1.1685 --- Overview.html 2 Dec 2008 06:08:46 -0000 1.1684 +++ Overview.html 2 Dec 2008 06:12:16 -0000 1.1685 @@ -6065,8 +6065,8 @@ 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 parser, then, when the method is called, the user agent must insert - an <a href=#explicit-eof-character>explicit "EOF" character</a> at the <a href=#insertion-point>insertion - point</a> of the parser's <a href=#the-input-stream>input stream</a>.<h4 id=dynamic-markup-insertion-in-html><span class=secno>3.7.2 </span>Dynamic markup insertion in HTML</h4><p>In HTML, the <dfn id=dom-document-write-html title=dom-document-write-HTML><code>document.write(...)</code></dfn> + an <a href=#explicit-eof-character>explicit "EOF" character</a> at the end of the parser's + <a href=#the-input-stream>input stream</a>.<h4 id=dynamic-markup-insertion-in-html><span class=secno>3.7.2 </span>Dynamic markup insertion in HTML</h4><p>In HTML, the <dfn id=dom-document-write-html title=dom-document-write-HTML><code>document.write(...)</code></dfn> method must act as follows:<ol><li> <p>If the <a href=#insertion-point>insertion point</a> is undefined, the <code title=dom-document-open><a href=#dom-document-open>open()</a></code> method must be called
Received on Tuesday, 2 December 2008 06:15:43 UTC