W3C home > Mailing lists > Public > public-html-commits@w3.org > February 2010

html5/spec Overview.html,1.3802,1.3803

From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
Date: Wed, 17 Feb 2010 08:48:52 +0000
To: public-html-commits@w3.org
Message-Id: <E1NhfaW-0006si-F7@lionel-hutz.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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 17 February 2010 08:48:54 GMT