You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<aclass="external" data-anolis-spec="fetch" href="http://fetch.spec.whatwg.org/#concept-request" title="concept-request">request</a>), follow these steps:
1469
1469
1470
1470
<ol>
1471
-
<li><p>Let <var>origin</var> be <var>document</var>'s <aclass="external" data-anolis-spec="html" href="http://www.whatwg.org/specs/web-apps/current-work/multipage/origin-0.html#origin">origin</a>.
1471
+
<li><p>Let <var>origin</var> be <var>document</var>'s <aclass="external" data-anolis-spec="html" href="http://www.whatwg.org/specs/web-apps/current-work/multipage/browsers.html#origin">origin</a>.
1472
1472
1473
1473
<li><p>Let <var>request</var> be a new <aclass="external" data-anolis-spec="fetch" href="http://fetch.spec.whatwg.org/#concept-request" title="concept-request">request</a>, with the
<li><p>If <var>response</var> is a <aclass="external" data-anolis-spec="fetch" href="http://fetch.spec.whatwg.org/#concept-network-error" title="concept-network-error">network error</a>, return an error.
1483
1483
1484
1484
<li><p>If <var>document</var> is in <aclass="external" data-anolis-spec="dom" href="http://dom.spec.whatwg.org/#concept-document-quirks" title="concept-document-quirks">quirks mode</a>, <var>response</var> is
1485
-
<spantitle="">CORS-same-origin</span><!--XXX xref--> and the <aclass="external" data-anolis-spec="html" href="http://www.whatwg.org/specs/web-apps/current-work/multipage/fetching-resources.html#content-type">Content-Type metadata</a> of <var>response</var> is not a
1486
-
<ahref="#supported-styling-language">supported styling language</a> change the <aclass="external" data-anolis-spec="html" href="http://www.whatwg.org/specs/web-apps/current-work/multipage/fetching-resources.html#content-type">Content-Type metadata</a> of <var>response</var> to
1485
+
<spantitle="">CORS-same-origin</span><!--XXX xref--> and the <aclass="external" data-anolis-spec="html" href="http://www.whatwg.org/specs/web-apps/current-work/multipage/infrastructure.html#content-type">Content-Type metadata</a> of <var>response</var> is not a
1486
+
<ahref="#supported-styling-language">supported styling language</a> change the <aclass="external" data-anolis-spec="html" href="http://www.whatwg.org/specs/web-apps/current-work/multipage/infrastructure.html#content-type">Content-Type metadata</a> of <var>response</var> to
1487
1487
<codetitle="">text/css</code>.
1488
1488
1489
1489
<li><p>If <var>response</var> is not in a <ahref="#supported-styling-language">supported styling language</a> return an error.</li>
<li><p>Let <var>document</var> be <var>node</var>'s <aclass="external" data-anolis-spec="dom" href="http://dom.spec.whatwg.org/#concept-node-document" title="concept-node-document">node document</a>
1581
1581
1582
-
<li><p>Let <var>base URL</var> be <var>document</var>'s <aclass="external" data-anolis-spec="html" href="http://www.whatwg.org/specs/web-apps/current-work/multipage/urls.html#document-base-url">document base URL</a>.
1582
+
<li><p>Let <var>base URL</var> be <var>document</var>'s <aclass="external" data-anolis-spec="html" href="http://www.whatwg.org/specs/web-apps/current-work/multipage/infrastructure.html#document-base-url">document base URL</a>.
1583
1583
1584
1584
<li><p>Let <var>referrer</var> be <var>document</var>'s <aclass="external" data-anolis-spec="html" href="http://www.whatwg.org/specs/web-apps/current-work/multipage/dom.html#the-document's-address" title="the document's address">address</a>.
<p>A style sheet referenced by an <aclass="external" data-anolis-spec="xmlss" href="http://www.w3.org/TR/xml-stylesheet/#dt-xml-stylesheet">xml-stylesheet processing instruction</a> using the rules in this section, in the context of
1643
-
the <codeclass="external" data-anolis-spec="dom"><ahref="http://dom.spec.whatwg.org/#document">Document</a></code> of an <aclass="external" data-anolis-spec="html" href="http://www.whatwg.org/specs/web-apps/current-work/multipage/the-xhtml-syntax.html#xml-parser">XML parser</a> is said to be
1643
+
the <codeclass="external" data-anolis-spec="dom"><ahref="http://dom.spec.whatwg.org/#document">Document</a></code> of an <aclass="external" data-anolis-spec="html" href="http://www.whatwg.org/specs/web-apps/current-work/multipage/xhtml.html#xml-parser">XML parser</a> is said to be
1644
1644
<aclass="external" data-anolis-spec="html" href="http://www.whatwg.org/specs/web-apps/current-work/multipage/semantics.html#a-style-sheet-that-is-blocking-scripts">a style sheet that is blocking scripts</a> if the <codeclass="external" data-anolis-spec="dom"><ahref="http://dom.spec.whatwg.org/#processinginstruction">ProcessingInstruction</a></code>
1645
1645
<aclass="external" data-anolis-spec="dom" href="http://dom.spec.whatwg.org/#concept-node" title="concept-node">node</a> was created by that <codeclass="external" data-anolis-spec="dom"><ahref="http://dom.spec.whatwg.org/#document">Document</a></code>'s parser, and the style sheet was
1646
1646
enabled when the node was created by the parser, and the <aclass="external" data-anolis-spec="html" href="http://www.whatwg.org/specs/web-apps/current-work/multipage/semantics.html#style-sheet-ready">style sheet ready</a> flag is not yet set, and, the last time the
<li><p>Let <var>input URL</var> be the value specified. <spanclass="issue" title="">Be more specific</span>
1674
1674
1675
-
<li><p>Let <var>base URL</var> be the document's <aclass="external" data-anolis-spec="html" href="http://www.whatwg.org/specs/web-apps/current-work/multipage/urls.html#document-base-url">document base URL</a>. <spanclass="issue" title="">Is there a document at this
1675
+
<li><p>Let <var>base URL</var> be the document's <aclass="external" data-anolis-spec="html" href="http://www.whatwg.org/specs/web-apps/current-work/multipage/infrastructure.html#document-base-url">document base URL</a>. <spanclass="issue" title="">Is there a document at this
1676
1676
point?</span>
1677
1677
1678
1678
<li><p>Let <var>referrer</var> be the document's <aclass="external" data-anolis-spec="html" href="http://www.whatwg.org/specs/web-apps/current-work/multipage/dom.html#the-document's-address" title="the document's address">address</a>.
1679
1679
1680
-
<li><p>Let <var>origin</var> be the document's <aclass="external" data-anolis-spec="html" href="http://www.whatwg.org/specs/web-apps/current-work/multipage/origin-0.html#origin">origin</a>.
1680
+
<li><p>Let <var>origin</var> be the document's <aclass="external" data-anolis-spec="html" href="http://www.whatwg.org/specs/web-apps/current-work/multipage/browsers.html#origin">origin</a>.
1681
1681
1682
1682
<li><p>Let <var>parsed URL</var> be the return value of invoking the <aclass="external" data-anolis-spec="url" href="http://url.spec.whatwg.org/#concept-url-parser" title="concept-url-parser">URL parser</a> with the
1683
1683
string <var>input URL</var> and the base URL <var>base URL</var>.
<p class=atrisk>The <dfn title=dom-GetStyleUtils-defaultStyle><code>defaultStyle</code></dfn> attribute must return a live <span>CSS declaration block</span>
3042
+
<pclass="atrisk">The <dfnid="dom-getstyleutils-defaultstyle" title="dom-GetStyleUtils-defaultStyle"><code>defaultStyle</code></dfn> attribute must return a live <ahref="#css-declaration-block">CSS declaration block</a>
<dd><p>All longhand properties that are <span title="supported CSS property">supported CSS properties</span>, in lexicographical order, with the value being
3050
-
the <span>computed value</span> computed for the <span data-anolis-spec=dom>context object</span> using the user-agent-level style rules and user-level style
3051
-
rules associated with the <span data-anolis-spec=dom>context object</span>'s <span>associated document</span>, ignoring transitions, animations, author-level
<dd><p>All longhand properties that are <ahref="#supported-css-property" title="supported CSS property">supported CSS properties</a>, in lexicographical order, with the value being
3049
+
the <ahref="#computed-value">computed value</a> computed for the <aclass="external" data-anolis-spec="dom" href="http://dom.spec.whatwg.org/#context-object">context object</a> using the user-agent-level style rules and user-level style
3050
+
rules associated with the <aclass="external" data-anolis-spec="dom" href="http://dom.spec.whatwg.org/#context-object">context object</a>'s <ahref="#associated-document">associated document</a>, ignoring transitions, animations, author-level
3052
3051
style rules, author-level presentational hints and override-level style rules.</p>
<pclass="atrisk">The <dfnid="dom-getstyleutils-rawcomputedstyle" title="dom-GetStyleUtils-rawComputedStyle"><code>rawComputedStyle</code></dfn> attribute must return a live <ahref="#css-declaration-block">CSS declaration
<pclass=atrisk>The <dfntitle=dom-GetStyleUtils-defaultStyle><code>defaultStyle</code></dfn> attribute must return a live <span>CSS declaration block</span>
0 commit comments