W3C home > Mailing lists > Public > public-html-diffs@w3.org > April 2010

hixie: try to make things clearer and more consistent (whatwg r4962)

From: poot <cvsmail@w3.org>
Date: Sat, 3 Apr 2010 11:45:42 +0900 (JST)
To: public-html-diffs@w3.org
Message-Id: <20100403024542.512C42BBEA@toro.w3.mag.keio.ac.jp>
hixie: try to make things clearer and more consistent (whatwg r4962)

http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.3983&r2=1.3984&f=h
http://html5.org/tools/web-apps-tracker?from=4961&to=4962

===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.3983
retrieving revision 1.3984
diff -u -d -r1.3983 -r1.3984
--- Overview.html	2 Apr 2010 23:18:10 -0000	1.3983
+++ Overview.html	3 Apr 2010 02:45:25 -0000	1.3984
@@ -11530,8 +11530,9 @@
   external file, if any. <a href="#refsIANACHARSET">[IANACHARSET]</a><p>The <dfn id="attr-script-async" title="attr-script-async"><code>async</code></dfn> and
   <dfn id="attr-script-defer" title="attr-script-defer"><code>defer</code></dfn> attributes
   are <a href="#boolean-attribute" title="boolean attribute">boolean attributes</a> that
-  indicate how the script should be executed. These attributes must
-  not be specified when the element is used to include data blocks.<p>There are three possible modes that can be selected using these
+  indicate how the script should be executed. The <code title="attr-script-defer"><a href="#attr-script-defer">defer</a></code> and <code title="attr-script-async"><a href="#attr-script-async">async</a></code> attributes must not be
+  specified if the <code title="attr-script-src"><a href="#attr-script-src">src</a></code> attribute
+  is not present.<p>There are three possible modes that can be selected using these
   attributes. If the <code title="attr-script-async"><a href="#attr-script-async">async</a></code>
   attribute is present, then the script will be executed
   asynchronously, as soon as it is available. If the <code title="attr-script-async"><a href="#attr-script-async">async</a></code> attribute is not present but
@@ -11551,9 +11552,7 @@
   specified even if the <code title="attr-script-async"><a href="#attr-script-async">async</a></code>
   attribute is specified, to cause legacy Web browsers that only
   support <code title="attr-script-defer"><a href="#attr-script-defer">defer</a></code> (and not <code title="attr-script-async"><a href="#attr-script-async">async</a></code>) to fall back to the <code title="attr-script-defer"><a href="#attr-script-defer">defer</a></code> behavior instead of the
-  synchronous blocking behavior that is the default.<p>If one or both of the <code title="attr-script-defer"><a href="#attr-script-defer">defer</a></code> and <code title="attr-script-async"><a href="#attr-script-async">async</a></code> attributes are specified, the
-  <code title="attr-script-src"><a href="#attr-script-src">src</a></code> attribute must also be
-  specified.<p>Changing the <code title="attr-script-src"><a href="#attr-script-src">src</a></code>, <code title="attr-script-type"><a href="#attr-script-type">type</a></code>, <code title="attr-script-charset"><a href="#attr-script-charset">charset</a></code>, <code title="attr-script-async"><a href="#attr-script-async">async</a></code>, and <code title="attr-script-defer"><a href="#attr-script-defer">defer</a></code> attributes dynamically has no
+  synchronous blocking behavior that is the default.<p>Changing the <code title="attr-script-src"><a href="#attr-script-src">src</a></code>, <code title="attr-script-type"><a href="#attr-script-type">type</a></code>, <code title="attr-script-charset"><a href="#attr-script-charset">charset</a></code>, <code title="attr-script-async"><a href="#attr-script-async">async</a></code>, and <code title="attr-script-defer"><a href="#attr-script-defer">defer</a></code> attributes dynamically has no
   direct effect; these attribute are only used at specific times
   described below.</p><!-- by implication, changes to the base URL
   also have no effect --><div class="impl">
Received on Saturday, 3 April 2010 02:46:11 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 18 December 2010 06:14:18 GMT