[html5] r5387 - [giow] (2) define when rel=stylesheet should be downloaded Fixing http://www.w3. [...]

whatwg at whatwg.org whatwg at whatwg.org
Fri Aug 27 21:24:46 PDT 2010


Author: ianh
Date: 2010-08-27 21:24:44 -0700 (Fri, 27 Aug 2010)
New Revision: 5387

Modified:
   complete.html
   index
   source
Log:
[giow] (2) define when rel=stylesheet should be downloaded
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=10011

Modified: complete.html
===================================================================
--- complete.html	2010-08-28 01:56:10 UTC (rev 5386)
+++ complete.html	2010-08-28 04:24:44 UTC (rev 5387)
@@ -12587,9 +12587,11 @@
   does not support the given <a href=#mime-type>MIME type</a> for the given link
   relationship, then the UA should not <a href=#concept-link-obtain title=concept-link-obtain>obtain</a> the resource; if the UA
   does support the given <a href=#mime-type>MIME type</a> for the given link
-  relationship, then the UA should <a href=#concept-link-obtain title=concept-link-obtain>obtain</a> the resource. If the
-  attribute is omitted, and the external resource link type does not
-  have a default type defined, but the user agent would <a href=#concept-link-obtain title=concept-link-obtain>obtain</a> the resource if the type
+  relationship, then the UA should <a href=#concept-link-obtain title=concept-link-obtain>obtain</a> the resource at the
+  approprite time as specified for the <a href=#external-resource-link>external resource
+  link</a>'s particular type. If the attribute is omitted, and the
+  external resource link type does not have a default type defined,
+  but the user agent would <a href=#concept-link-obtain title=concept-link-obtain>obtain</a> the resource if the type
   was known and supported, then the user agent should <a href=#concept-link-obtain title=concept-link-obtain>obtain</a> the resource under the
   assumption that it will be supported.</span></p>
 
@@ -51914,6 +51916,16 @@
 
   <div class=impl>
 
+  <p>The appropriate time to <a href=#concept-link-obtain title=concept-link-obtain>obtain</a> the resource is when the
+  <a href=#external-resource-link title="external resource link">external resource link</a>
+  is created or when its element is <a href=#insert-an-element-into-a-document title="insert an element
+  into a document">inserted into a document</a>, whichever happens
+  last. If the resource is <a href=#the-link-is-an-alternative-stylesheet title="the link is an alternative
+  stylesheet">an alternative stylesheet</a> then the user agent may
+  defer obtaining the resource until it is part of the <span>preferred
+  style sheet set</span>. <a href=#refsCSSOM>[CSSOM]</a></p> <!--
+  what about DOM access of alt style sheets? -->
+
   <p><strong>Quirk</strong>: If the document has been set to
   <a href=#quirks-mode>quirks mode</a>, has the <a href=#same-origin>same origin</a> as the
   <a href=#url>URL</a> of the external resource<!-- CVE-2010-0654 -->, and

Modified: index
===================================================================
--- index	2010-08-28 01:56:10 UTC (rev 5386)
+++ index	2010-08-28 04:24:44 UTC (rev 5387)
@@ -12509,9 +12509,11 @@
   does not support the given <a href=#mime-type>MIME type</a> for the given link
   relationship, then the UA should not <a href=#concept-link-obtain title=concept-link-obtain>obtain</a> the resource; if the UA
   does support the given <a href=#mime-type>MIME type</a> for the given link
-  relationship, then the UA should <a href=#concept-link-obtain title=concept-link-obtain>obtain</a> the resource. If the
-  attribute is omitted, and the external resource link type does not
-  have a default type defined, but the user agent would <a href=#concept-link-obtain title=concept-link-obtain>obtain</a> the resource if the type
+  relationship, then the UA should <a href=#concept-link-obtain title=concept-link-obtain>obtain</a> the resource at the
+  approprite time as specified for the <a href=#external-resource-link>external resource
+  link</a>'s particular type. If the attribute is omitted, and the
+  external resource link type does not have a default type defined,
+  but the user agent would <a href=#concept-link-obtain title=concept-link-obtain>obtain</a> the resource if the type
   was known and supported, then the user agent should <a href=#concept-link-obtain title=concept-link-obtain>obtain</a> the resource under the
   assumption that it will be supported.</span></p>
 
@@ -51839,6 +51841,16 @@
 
   <div class=impl>
 
+  <p>The appropriate time to <a href=#concept-link-obtain title=concept-link-obtain>obtain</a> the resource is when the
+  <a href=#external-resource-link title="external resource link">external resource link</a>
+  is created or when its element is <a href=#insert-an-element-into-a-document title="insert an element
+  into a document">inserted into a document</a>, whichever happens
+  last. If the resource is <a href=#the-link-is-an-alternative-stylesheet title="the link is an alternative
+  stylesheet">an alternative stylesheet</a> then the user agent may
+  defer obtaining the resource until it is part of the <span>preferred
+  style sheet set</span>. <a href=#refsCSSOM>[CSSOM]</a></p> <!--
+  what about DOM access of alt style sheets? -->
+
   <p><strong>Quirk</strong>: If the document has been set to
   <a href=#quirks-mode>quirks mode</a>, has the <a href=#same-origin>same origin</a> as the
   <a href=#url>URL</a> of the external resource<!-- CVE-2010-0654 -->, and

Modified: source
===================================================================
--- source	2010-08-28 01:56:10 UTC (rev 5386)
+++ source	2010-08-28 04:24:44 UTC (rev 5387)
@@ -13103,9 +13103,11 @@
   title="concept-link-obtain">obtain</span> the resource; if the UA
   does support the given <span>MIME type</span> for the given link
   relationship, then the UA should <span
-  title="concept-link-obtain">obtain</span> the resource. If the
-  attribute is omitted, and the external resource link type does not
-  have a default type defined, but the user agent would <span
+  title="concept-link-obtain">obtain</span> the resource at the
+  approprite time as specified for the <span>external resource
+  link</span>'s particular type. If the attribute is omitted, and the
+  external resource link type does not have a default type defined,
+  but the user agent would <span
   title="concept-link-obtain">obtain</span> the resource if the type
   was known and supported, then the user agent should <span
   title="concept-link-obtain">obtain</span> the resource under the
@@ -58083,6 +58085,17 @@
 
   <div class="impl">
 
+  <p>The appropriate time to <span
+  title="concept-link-obtain">obtain</span> the resource is when the
+  <span title="external resource link">external resource link</span>
+  is created or when its element is <span title="insert an element
+  into a document">inserted into a document</span>, whichever happens
+  last. If the resource is <span title="the link is an alternative
+  stylesheet">an alternative stylesheet</span> then the user agent may
+  defer obtaining the resource until it is part of the <span>preferred
+  style sheet set</span>. <a href="#refsCSSOM">[CSSOM]</a></p> <!--
+  what about DOM access of alt style sheets? -->
+
   <p><strong>Quirk</strong>: If the document has been set to
   <span>quirks mode</span>, has the <span>same origin</span> as the
   <span>URL</span> of the external resource<!-- CVE-2010-0654 -->, and




More information about the Commit-Watchers mailing list