- From: Michael Smith via cvs-syncmail <cvsmail@w3.org>
- Date: Wed, 17 Feb 2010 08:57:03 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/spec-author-view
In directory hutz:/tmp/cvs-serv27331
Modified Files:
Overview.html apis-in-html-documents.html spec.html
Log Message:
Mention the document.open() magic in document.write()'s domintro. (whatwg r4755)
[updated by splitter]
Index: Overview.html
===================================================================
RCS file: /sources/public/html5/spec-author-view/Overview.html,v
retrieving revision 1.705
retrieving revision 1.706
diff -u -d -r1.705 -r1.706
--- Overview.html 17 Feb 2010 07:47:01 -0000 1.705
+++ Overview.html 17 Feb 2010 08:57:00 -0000 1.706
@@ -304,7 +304,7 @@
</dl><p>This specification is available in the following formats:
<a href="spec.html">single page HTML</a>,
<a href="Overview.html">multipage HTML</a>.
-This is revision 1.3802.
+This is revision 1.3803.
</p>
<p class="copyright"><a href="http://www.w3.org/Consortium/Legal/ipr-notice#Copyright">Copyright</a>
© 2009 <a href="http://www.w3.org/"><abbr title="World Wide
Index: apis-in-html-documents.html
===================================================================
RCS file: /sources/public/html5/spec-author-view/apis-in-html-documents.html,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -d -r1.19 -r1.20
--- apis-in-html-documents.html 16 Feb 2010 08:36:52 -0000 1.19
+++ apis-in-html-documents.html 17 Feb 2010 08:57:00 -0000 1.20
@@ -440,6 +440,12 @@
<p>This method throws an <code><a href="urls.html#invalid_access_err">INVALID_ACCESS_ERR</a></code> exception
when invoked on <a href="dom.html#xml-documents">XML documents</a>.</p>
+ <p>Unless called from the body of a <code><a href="scripting-1.html#script">script</a></code> element
+ while the document is being parsed, or called on a script-created
+ document, calling this method will clear the current page first,
+ as if <code title="dom-document-open"><a href="#dom-document-open">document.open()</a></code> had
+ been called.</p>
+
</dd>
</dl><h4 id="document.writeln"><span class="secno">3.4.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>
Index: spec.html
===================================================================
RCS file: /sources/public/html5/spec-author-view/spec.html,v
retrieving revision 1.710
retrieving revision 1.711
diff -u -d -r1.710 -r1.711
--- spec.html 17 Feb 2010 07:47:01 -0000 1.710
+++ spec.html 17 Feb 2010 08:57:00 -0000 1.711
@@ -302,7 +302,7 @@
</dl><p>This specification is available in the following formats:
<a href=spec.html>single page HTML</a>,
<a href=Overview.html>multipage HTML</a>.
-This is revision 1.3802.
+This is revision 1.3803.
</p>
<p class=copyright><a href=http://www.w3.org/Consortium/Legal/ipr-notice#Copyright>Copyright</a>
© 2009 <a href=http://www.w3.org/><abbr title="World Wide
@@ -3996,6 +3996,12 @@
<p>This method throws an <code><a href=#invalid_access_err>INVALID_ACCESS_ERR</a></code> exception
when invoked on <a href=#xml-documents>XML documents</a>.</p>
+ <p>Unless called from the body of a <code><a href=#script>script</a></code> element
+ while the document is being parsed, or called on a script-created
+ document, calling this method will clear the current page first,
+ as if <code title=dom-document-open><a href=#dom-document-open>document.open()</a></code> had
+ been called.</p>
+
</dd>
</dl><h4 id=document.writeln><span class=secno>3.4.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>
Received on Wednesday, 17 February 2010 08:57:04 UTC