[html5] r1609 - /

whatwg at whatwg.org whatwg at whatwg.org
Wed May 14 00:22:47 PDT 2008


Author: ianh
Date: 2008-05-14 00:22:46 -0700 (Wed, 14 May 2008)
New Revision: 1609

Modified:
   index
   source
Log:
[e] (0) mention default values for when type='' and charset='' are omitted.

Modified: index
===================================================================
--- index	2008-05-14 07:12:54 UTC (rev 1608)
+++ index	2008-05-14 07:22:46 UTC (rev 1609)
@@ -22602,6 +22602,10 @@
    parameters. The <code title="">charset</code> parameter must not be
    specified. <a href="#refsRFC2046">[RFC2046]</a>
 
+  <p class=note>If the <code title=attr-script-type><a
+   href="#type11">type</a></code> attribute is omitted, the value <code
+   title="">text/javascript</code> will be assumed.
+
   <p>The <dfn id=charset2
    title=attr-script-charset><code>charset</code></dfn> attribute gives the
    character encoding of the external file. The attribute must not be
@@ -22611,6 +22615,10 @@
    preferred name for that encoding. <a
    href="#refsIANACHARSET">[IANACHARSET]</a>
 
+  <p class=note>If the <code title=attr-script-charset><a
+   href="#charset2">charset</a></code> attribute is omitted, the character
+   encoding of the document will be used.
+
   <p>The <dfn id=async title=attr-script-async><code>async</code></dfn> and
    <dfn id=defer title=attr-script-defer><code>defer</code></dfn> attributes
    are <a href="#boolean0" title="boolean attribute">boolean attributes</a>

Modified: source
===================================================================
--- source	2008-05-14 07:12:54 UTC (rev 1608)
+++ source	2008-05-14 07:22:46 UTC (rev 1609)
@@ -20444,6 +20444,10 @@
   parameter must not be specified. <a
   href="#refsRFC2046">[RFC2046]</a></p>
 
+  <p class="note">If the <code title="attr-script-type">type</code>
+  attribute is omitted, the value <code
+  title="">text/javascript</code> will be assumed.</p>
+
   <p>The <dfn title="attr-script-charset"><code>charset</code></dfn>
   attribute gives the character encoding of the external file. The
   attribute must not be specified if the <code
@@ -20452,6 +20456,10 @@
   and must be the preferred name for that encoding.  <a
   href="#refsIANACHARSET">[IANACHARSET]</a></p>
 
+  <p class="note">If the <code
+  title="attr-script-charset">charset</code> attribute is omitted, the
+  character encoding of the document will be used.</p>
+
   <p>The <dfn title="attr-script-async"><code>async</code></dfn> and
   <dfn title="attr-script-defer"><code>defer</code></dfn> attributes
   are <span title="boolean attribute">boolean attributes</span> that




More information about the Commit-Watchers mailing list