- From: poot <cvsmail@w3.org>
- Date: Sat, 28 Aug 2010 13:31:15 +0900 (JST)
- To: public-html-diffs@w3.org
hixie: define when rel=stylesheet should be downloaded (whatwg r5387) http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.4300&r2=1.4301&f=h http://html5.org/tools/web-apps-tracker?from=5386&to=5387 =================================================================== RCS file: /sources/public/html5/spec/Overview.html,v retrieving revision 1.4300 retrieving revision 1.4301 diff -u -d -r1.4300 -r1.4301 --- Overview.html 28 Aug 2010 01:56:15 -0000 1.4300 +++ Overview.html 28 Aug 2010 04:24:50 -0000 1.4301 @@ -10852,9 +10852,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><div class="impl"> @@ -40067,6 +40069,16 @@ is an alternative stylesheet</dfn>; in this case, the <code title="attr-title"><a href="#the-title-attribute">title</a></code> attribute must be specified on the <code><a href="#the-link-element">link</a></code> element, with a non-empty value.<p>The default type for resources given by the <code title="rel-stylesheet"><a href="#link-type-stylesheet">stylesheet</a></code> keyword is <code title="">text/css</code>.<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
Received on Saturday, 28 August 2010 04:25:51 UTC