- From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
- Date: Wed, 17 Feb 2010 08:48:52 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv26434
Modified Files:
Overview.html
Log Message:
Mention the document.open() magic in document.write()'s domintro. (whatwg r4755)
Index: Overview.html
===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.3802
retrieving revision 1.3803
diff -u -d -r1.3802 -r1.3803
--- Overview.html 17 Feb 2010 07:39:13 -0000 1.3802
+++ Overview.html 17 Feb 2010 08:48:48 -0000 1.3803
@@ -8715,6 +8715,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><div class="impl">
Received on Wednesday, 17 February 2010 08:48:53 UTC