Skip to content

Commit

Permalink
[e] (0) clarifications for <script language=''> (credit: jj)
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.whatwg.org/webapps@2673 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Jan 16, 2009
1 parent 44e57af commit 15bc05e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
5 changes: 4 additions & 1 deletion index
Expand Up @@ -9787,12 +9787,15 @@ people expect to have work and what is necessary.
script block's type</a></var> for this <code><a href=#script>script</a></code> element be
the value of that attribute.</p>

<p>Otherwise, the element has a <code title=attr-script-language>language</code> attribute; let
<p>Otherwise, the element has a non-empty <code title=attr-script-language>language</code> attribute; let
<var><a href="#the-script-block's-type">the script block's type</a></var> for this <code><a href=#script>script</a></code>
element be the concatenation of the string "<code title="">text/</code>" followed by the value of the <code title=attr-script-language>language</code> attribute.</p> <!--
user agents already support, e.g., type="text/javascript1.3", so
we don't have to support that separately. -->

<p class=note>The <code title=attr-script-language>language</code> attribute is never
conforming, and is always ignored if there is a <code title=attr-script-type><a href=#attr-script-type>type</a></code> attribute present.</p>

</li>

<li>
Expand Down
7 changes: 6 additions & 1 deletion source
Expand Up @@ -10328,7 +10328,7 @@ people expect to have work and what is necessary.
script block's type</var> for this <code>script</code> element be
the value of that attribute.</p>

<p>Otherwise, the element has a <code
<p>Otherwise, the element has a non-empty <code
title="attr-script-language">language</code> attribute; let
<var>the script block's type</var> for this <code>script</code>
element be the concatenation of the string "<code
Expand All @@ -10337,6 +10337,11 @@ people expect to have work and what is necessary.
user agents already support, e.g., type="text/javascript1.3", so
we don't have to support that separately. -->

<p class="note">The <code
title="attr-script-language">language</code> attribute is never
conforming, and is always ignored if there is a <code
title="attr-script-type">type</code> attribute present.</p>

</li>

<li>
Expand Down

0 comments on commit 15bc05e

Please sign in to comment.