Skip to content

Commit

Permalink
[e] (0) Mention the document.open() magic in document.write()'s domin…
Browse files Browse the repository at this point in the history
…tro.

Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=8938

git-svn-id: http://svn.whatwg.org/webapps@4755 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Feb 17, 2010
1 parent 71ab72e commit b936713
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 0 deletions.
6 changes: 6 additions & 0 deletions complete.html
Expand Up @@ -10137,6 +10137,12 @@ <h4 id=document.write()><span class=secno>3.5.3 </span><code title=dom-document-
<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>
Expand Down
6 changes: 6 additions & 0 deletions index
Expand Up @@ -10036,6 +10036,12 @@ http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C%21DOCTYPE%20HTML%3E%0
<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>
Expand Down
6 changes: 6 additions & 0 deletions source
Expand Up @@ -10392,6 +10392,12 @@ http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C%21DOCTYPE%20HTML%3E%0
<p>This method throws an <code>INVALID_ACCESS_ERR</code> exception
when invoked on <span>XML documents</span>.</p>

<p>Unless called from the body of a <code>script</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">document.open()</code> had
been called.</p>

</dd>

</dl>
Expand Down

0 comments on commit b936713

Please sign in to comment.