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

html5/spec Overview.html,1.3983,1.3984

From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
Date: Sat, 03 Apr 2010 02:45:29 +0000
To: public-html-commits@w3.org
Message-Id: <E1NxtMX-0001DB-Ld@lionel-hutz.w3.org>
Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv4641

Modified Files:
	Overview.html 
Log Message:
try to make things clearer and more consistent (whatwg r4962)

Index: Overview.html
===================================================================
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:45:31 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 3 April 2010 02:45:32 GMT