Skip to content

Commit

Permalink
[e] (0) make scripts not execute outside documents
Browse files Browse the repository at this point in the history
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=8135

git-svn-id: http://svn.whatwg.org/webapps@4441 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Dec 13, 2009
1 parent 62b05c9 commit 41c8f10
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 8 deletions.
8 changes: 5 additions & 3 deletions complete.html
Expand Up @@ -108,7 +108,7 @@

<header class=head id=head><p><a class=logo href=http://www.whatwg.org/ rel=home><img alt=WHATWG src=/images/logo></a></p>
<hgroup><h1>Web Applications 1.0</h1>
<h2 class="no-num no-toc">Draft Standard &mdash; 11 December 2009</h2>
<h2 class="no-num no-toc">Draft Standard &mdash; 13 December 2009</h2>
</hgroup><p>You can take part in this work. <a href=http://www.whatwg.org/mailing-list>Join the working group's discussion list.</a></p>
<p><strong>Web designers!</strong> We have a <a href=http://blog.whatwg.org/faq/>FAQ</a>, a <a href=http://forums.whatwg.org/>forum</a>, and a <a href=http://www.whatwg.org/mailing-list#help>help mailing list</a> for you!</p>
<!--<p class="impl"><strong>Implementors!</strong> We have a <a href="http://www.whatwg.org/mailing-list#implementors">mailing list</a> for you too!</p>-->
Expand Down Expand Up @@ -12445,9 +12445,11 @@ <h4 id=script><span class=secno>4.3.1 </span>The <dfn><code>script</code></dfn>
<ul><li>The <code><a href=#script>script</a></code> element gets <a href=#insert-an-element-into-a-document title="insert an
element into a document">inserted into a document</a>.</li>

<li>The <code><a href=#script>script</a></code> element's child nodes are changed.</li>
<li>The <code><a href=#script>script</a></code> element is <a href=#in-a-document>in a
<code>Document</code></a> and its child nodes are changed.</li>

<li>The <code><a href=#script>script</a></code> element has a <code title=attr-script-src><a href=#attr-script-src>src</a></code> attribute set where previously
<li>The <code><a href=#script>script</a></code> element is <a href=#in-a-document>in a
<code>Document</code></a> and has a <code title=attr-script-src><a href=#attr-script-src>src</a></code> attribute set where previously
the element had no such attribute.</li>

</ul><p><dfn id=running-a-script title="running a script">Running a script</dfn>: When a
Expand Down
8 changes: 5 additions & 3 deletions index
Expand Up @@ -110,7 +110,7 @@

<header class=head id=head><p><a class=logo href=http://www.whatwg.org/ rel=home><img alt=WHATWG src=/images/logo></a></p>
<hgroup><h1>WHATWG HTML (Including HTML5)</h1>
<h2 class="no-num no-toc">Draft Standard &mdash; 11 December 2009</h2>
<h2 class="no-num no-toc">Draft Standard &mdash; 13 December 2009</h2>
</hgroup><p>You can take part in this work. <a href=http://www.whatwg.org/mailing-list>Join the working group's discussion list.</a></p>
<p><strong>Web designers!</strong> We have a <a href=http://blog.whatwg.org/faq/>FAQ</a>, a <a href=http://forums.whatwg.org/>forum</a>, and a <a href=http://www.whatwg.org/mailing-list#help>help mailing list</a> for you!</p>
<!--<p class="impl"><strong>Implementors!</strong> We have a <a href="http://www.whatwg.org/mailing-list#implementors">mailing list</a> for you too!</p>-->
Expand Down Expand Up @@ -12280,9 +12280,11 @@ c-end = "--&gt;"</pre>
<ul><li>The <code><a href=#script>script</a></code> element gets <a href=#insert-an-element-into-a-document title="insert an
element into a document">inserted into a document</a>.</li>

<li>The <code><a href=#script>script</a></code> element's child nodes are changed.</li>
<li>The <code><a href=#script>script</a></code> element is <a href=#in-a-document>in a
<code>Document</code></a> and its child nodes are changed.</li>

<li>The <code><a href=#script>script</a></code> element has a <code title=attr-script-src><a href=#attr-script-src>src</a></code> attribute set where previously
<li>The <code><a href=#script>script</a></code> element is <a href=#in-a-document>in a
<code>Document</code></a> and has a <code title=attr-script-src><a href=#attr-script-src>src</a></code> attribute set where previously
the element had no such attribute.</li>

</ul><p><dfn id=running-a-script title="running a script">Running a script</dfn>: When a
Expand Down
6 changes: 4 additions & 2 deletions source
Expand Up @@ -13016,9 +13016,11 @@ c-end = "-->"</pre>
<li>The <code>script</code> element gets <span title="insert an
element into a document">inserted into a document</span>.</li>

<li>The <code>script</code> element's child nodes are changed.</li>
<li>The <code>script</code> element is <span>in a
<code>Document</code></span> and its child nodes are changed.</li>

<li>The <code>script</code> element has a <code
<li>The <code>script</code> element is <span>in a
<code>Document</code></span> and has a <code
title="attr-script-src">src</code> attribute set where previously
the element had no such attribute.</li>

Expand Down

0 comments on commit 41c8f10

Please sign in to comment.