- From: poot <cvsmail@w3.org>
- Date: Sat, 6 Feb 2010 10:58:21 +0900 (JST)
- To: public-html-diffs@w3.org
hixie: Harmonise <script type> and <style type> rules. (whatwg r4676) http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.3729&r2=1.3730&f=h http://html5.org/tools/web-apps-tracker?from=4675&to=4676 =================================================================== RCS file: /sources/public/html5/spec/Overview.html,v retrieving revision 1.3729 retrieving revision 1.3730 diff -u -d -r1.3729 -r1.3730 --- Overview.html 6 Feb 2010 00:32:14 -0000 1.3729 +++ Overview.html 6 Feb 2010 01:58:08 -0000 1.3730 @@ -10343,10 +10343,12 @@ </dl><p>The <code><a href="#the-style-element">style</a></code> element allows authors to embed style information in their documents. The <code><a href="#the-style-element">style</a></code> element is one of several inputs to the <a href="#styling">styling processing - model</a>. The element does not <a href="#represents" title="represents">represent</a> content for the user.<p>If the <dfn id="attr-style-type" title="attr-style-type"><code>type</code></dfn> - attribute is given, it must contain a <a href="#valid-mime-type">valid MIME type</a> - that designates a styling language. If the attribute is absent, the - type defaults to <code>text/css</code>. <a href="#refsRFC2318">[RFC2318]</a><div class="impl"> + model</a>. The element does not <a href="#represents" title="represents">represent</a> content for the user.<p>The <dfn id="attr-style-type" title="attr-style-type"><code>type</code></dfn> + attribute gives the styling language. If the attribute is present, + its value must be a <a href="#valid-mime-type">valid MIME type</a> that designates a + styling language. The <code title="">charset</code> parameter must + not be specified. The default, which is used if the attribute is + absent, is "<code title="">text/css</code>". <a href="#refsRFC2318">[RFC2318]</a><div class="impl"> <!-- this paragraph is also present in the <script type="text/javascript"> section --> <p>When examining types to determine if they support the language, @@ -10654,8 +10656,8 @@ attribute gives the language of the script or format of the data. If the attribute is present, its value must be a <a href="#valid-mime-type">valid MIME type</a>. The <code title="">charset</code> parameter must not be - specified. (The default, which is used if the attribute is absent, - is "<code title="">text/javascript</code>".)<p>The <dfn id="attr-script-src" title="attr-script-src"><code>src</code></dfn> + specified. The default, which is used if the attribute is absent, + is "<code title="">text/javascript</code>".<p>The <dfn id="attr-script-src" title="attr-script-src"><code>src</code></dfn> attribute, if specified, gives the address of the external script resource to use. The value of the attribute must be a <a href="#valid-url">valid URL</a> identifying a script resource of the type given by the
Received on Saturday, 6 February 2010 01:58:52 UTC