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
<p>To <dfnid="fetch-a-css-style-sheet">fetch a CSS style sheet</dfn> with input URL <var>input URL</var>, base URL <var>base URL</var>, referrer <var>referrer</var>, document
1445
+
<p>To <dfnid="fetch-a-css-style-sheet">fetch a CSS style sheet</dfn> with parsed URL <var>parsed URL</var>, referrer <var>referrer</var>, document
1446
1446
<var>document</var>, optionally a set of parameters <var>parameters</var> (used as input to creating a
1447
1447
<aclass="external" data-anolis-spec="fetch" href="http://fetch.spec.whatwg.org/#concept-request" title="concept-request">request</a>), follow these steps:
1448
1448
1449
1449
<ol>
1450
1450
<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>.
1451
1451
1452
-
<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
1453
-
string <var>input URL</var> and the base URL <var>base URL</var>.
1454
-
1455
-
<li><p>If <var>parsed URL</var> is failure, return an error.
1456
-
1457
1452
<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>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>.
1571
1566
1572
-
<li><p>Let <var>response</var> be the result of <ahref="#fetch-a-css-style-sheet" title="fetch a CSS style sheet">fetching a CSS style sheet</a> with input URL <var>input URL</var>,
1573
-
base URL <var>base URL</var>, referrer <var>referrer</var> and document <var>document</var>.
1567
+
<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
1568
+
string <var>input URL</var> and the base URL <var>base URL</var>.
1569
+
1570
+
<li><p>If <var>parsed URL</var> is failure, terminate these steps.
1571
+
1572
+
<li><p>Let <var>response</var> be the result of <ahref="#fetch-a-css-style-sheet" title="fetch a CSS style sheet">fetching a CSS style sheet</a> with parsed URL <var>parsed URL</var>,
1573
+
referrer <var>referrer</var> and document <var>document</var>.
1574
1574
1575
1575
<li><p>If <var>response</var> is an error, terminate these steps.
<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>.
1643
1643
1644
-
<li><p>Let <var>response</var> be the result of <ahref="#fetch-a-css-style-sheet" title="fetch a CSS style sheet">fetching a CSS style sheet</a> with input URL <var>input URL</var>,
1645
-
base URL <var>base URL</var>, referrer <var>referrer</var> and document being the document. <spanclass="issue" title="">What if the HTML parser hasn't decided on
1646
-
quirks/non-quirks yet?</span>
1644
+
<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
1645
+
string <var>input URL</var> and the base URL <var>base URL</var>.
1646
+
1647
+
<li><p>If <var>parsed URL</var> is failure, terminate these steps.
1648
+
1649
+
<li><p>Let <var>response</var> be the result of <ahref="#fetch-a-css-style-sheet" title="fetch a CSS style sheet">fetching a CSS style sheet</a> with parsed URL <var>parsed URL</var>,
1650
+
referrer <var>referrer</var> and document being the document. <spanclass="issue" title="">What if the HTML parser hasn't decided on quirks/non-quirks yet?</span>
1647
1651
1648
1652
<li>
1649
1653
<p><ahref="#create-a-css-style-sheet">Create a CSS style sheet</a> with the following properties:</p>
@@ -1490,8 +1485,13 @@ <h4>Requirements on User Agents Implementing the xml-stylesheet processing instr
1490
1485
1491
1486
<li><p>Let <var>referrer</var> be <var>document</var>'s <spandata-anolis-spec=htmltitle="the document's address">address</span>.
1492
1487
1493
-
<li><p>Let <var>response</var> be the result of <spantitle="fetch a CSS style sheet">fetching a CSS style sheet</span> with input URL <var>input URL</var>,
1494
-
base URL <var>base URL</var>, referrer <var>referrer</var> and document <var>document</var>.
1488
+
<li><p>Let <var>parsed URL</var> be the return value of invoking the <spandata-anolis-spec=urltitle=concept-url-parser>URL parser</span> with the
1489
+
string <var>input URL</var> and the base URL <var>base URL</var>.
1490
+
1491
+
<li><p>If <var>parsed URL</var> is failure, terminate these steps.
1492
+
1493
+
<li><p>Let <var>response</var> be the result of <spantitle="fetch a CSS style sheet">fetching a CSS style sheet</span> with parsed URL <var>parsed URL</var>,
1494
+
referrer <var>referrer</var> and document <var>document</var>.
1495
1495
1496
1496
<li><p>If <var>response</var> is an error, terminate these steps.
1497
1497
@@ -1562,9 +1562,13 @@ <h4>Requirements on User Agents Implementing the HTTP
1562
1562
1563
1563
<li><p>Let <var>origin</var> be the document's <spandata-anolis-spec=html>origin</span>.
1564
1564
1565
-
<li><p>Let <var>response</var> be the result of <spantitle="fetch a CSS style sheet">fetching a CSS style sheet</span> with input URL <var>input URL</var>,
1566
-
base URL <var>base URL</var>, referrer <var>referrer</var> and document being the document. <spanclass=issuetitle>What if the HTML parser hasn't decided on
1567
-
quirks/non-quirks yet?</span>
1565
+
<li><p>Let <var>parsed URL</var> be the return value of invoking the <spandata-anolis-spec=urltitle=concept-url-parser>URL parser</span> with the
1566
+
string <var>input URL</var> and the base URL <var>base URL</var>.
1567
+
1568
+
<li><p>If <var>parsed URL</var> is failure, terminate these steps.
1569
+
1570
+
<li><p>Let <var>response</var> be the result of <spantitle="fetch a CSS style sheet">fetching a CSS style sheet</span> with parsed URL <var>parsed URL</var>,
1571
+
referrer <var>referrer</var> and document being the document. <spanclass=issuetitle>What if the HTML parser hasn't decided on quirks/non-quirks yet?</span>
1568
1572
1569
1573
<li>
1570
1574
<p><span>Create a CSS style sheet</span> with the following properties:</p>
0 commit comments