Skip to content

Commit

Permalink
Bug 24042 - [imports]: document.write() in imports should do nothing.
Browse files Browse the repository at this point in the history
  • Loading branch information
omo committed Feb 11, 2014
1 parent c479efe commit 3a2ac11
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions spec/imports/index.html
Expand Up @@ -360,6 +360,15 @@ <h3 id="additions-to-parsing-xhtml-documents">Additions to Parsing XHTML Documen
</ol>
</div>

<h3 id="additions-to-prepare-a-script-algorithm">Additions to document.write() method</h3>

<p>Insert following step between step 2 and step 3 of <a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/webappapis.html#document.write()">document.write() method</a>:</p>

<div class="monkeypatch">
<ul>
<li>If <a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/dom.html#dom-document-currentscript">document.currentScript</a> points the element that isn't owned by the <a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/browsers.html#active-document">active document</a>, then abort these steps.</li>
</ul>
</div>
<h2 id="scripts-imports">Scripting in Imports</h2>

<p>Scripting in <a href="#dfn-import">imports</a> is defined as a set of changes to the <a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/webappapis.html#scripting">HTML Scripting</a>.</p>
Expand Down

0 comments on commit 3a2ac11

Please sign in to comment.