[html5] r1608 - /
whatwg at whatwg.org
whatwg at whatwg.org
Wed May 14 00:12:55 PDT 2008
Author: ianh
Date: 2008-05-14 00:12:54 -0700 (Wed, 14 May 2008)
New Revision: 1608
Modified:
index
source
Log:
[e] (0) Oops, the default script type when there's no type='' nor languauge='' on the <script> wasn't defined.
Modified: index
===================================================================
--- index 2008-05-14 01:49:14 UTC (rev 1607)
+++ index 2008-05-14 07:12:54 UTC (rev 1608)
@@ -22670,12 +22670,15 @@
<ol>
<li>
<p>If the <code><a href="#script0">script</a></code> element has a <code
- title=attr-script-type><a href="#type11">type</a></code> attribute but
+ title=attr-script-type><a href="#type11">type</a></code> attribute and
its value is the empty string, or if the <code><a
href="#script0">script</a></code> element has no <code
title=attr-script-type><a href="#type11">type</a></code> attribute but
- it has a <code title=attr-script-language>language</code> attribute, and
- <em>that</em> attribute's value is the empty string, let <var><a
+ it has a <code title=attr-script-language>language</code> attribute and
+ <em>that</em> attribute's value is the empty string, or if the <code><a
+ href="#script0">script</a></code> element has neither a <code
+ title=attr-script-type><a href="#type11">type</a></code> attribute nor a
+ <code title=attr-script-language>language</code> attribute, let <var><a
href="#the-scripts">the script's type</a></var> for this <code><a
href="#script0">script</a></code> element be "<code
title="">text/javascript</code>".</p>
@@ -22686,8 +22689,8 @@
for this <code><a href="#script0">script</a></code> element be the value
of that attribute.</p>
- <p>Otherwise, if the element has a <code
- title=attr-script-language>language</code> attribute, let <var><a
+ <p>Otherwise, the element has a <code
+ title=attr-script-language>language</code> attribute; let <var><a
href="#the-scripts">the script's type</a></var> for this <code><a
href="#script0">script</a></code> element be the concatenation of the
string "<code title="">text/</code>" followed by the value of the <code
Modified: source
===================================================================
--- source 2008-05-14 01:49:14 UTC (rev 1607)
+++ source 2008-05-14 07:12:54 UTC (rev 1608)
@@ -20511,21 +20511,24 @@
<li>
<p>If the <code>script</code> element has a <code
- title="attr-script-type">type</code> attribute but its value is
+ title="attr-script-type">type</code> attribute and its value is
the empty string, or if the <code>script</code> element has no
<code title="attr-script-type">type</code> attribute but it has a
- <code title="attr-script-language">language</code> attribute, and
- <em>that</em> attribute's value is the empty string, let <var>the
- script's type</var> for this <code>script</code> element be "<code
- title="">text/javascript</code>".</p>
+ <code title="attr-script-language">language</code> attribute and
+ <em>that</em> attribute's value is the empty string, or if the
+ <code>script</code> element has neither a <code
+ title="attr-script-type">type</code> attribute nor a <code
+ title="attr-script-language">language</code> attribute, let
+ <var>the script's type</var> for this <code>script</code> element
+ be "<code title="">text/javascript</code>".</p>
<p>Otherwise, if the <code>script</code> element has a <code
title="attr-script-type">type</code> attribute, let <var>the
script's type</var> for this <code>script</code> element be the
value of that attribute.</p>
- <p>Otherwise, if the element has a <code
- title="attr-script-language">language</code> attribute, let
+ <p>Otherwise, the element has a <code
+ title="attr-script-language">language</code> attribute; let
<var>the script's type</var> for this <code>script</code> element
be the concatenation of the string "<code title="">text/</code>"
followed by the value of the <code
More information about the Commit-Watchers
mailing list