Skip to content

Commit be66aad

Browse files
committed
fix w3c#3041
1 parent a9204ad commit be66aad

2 files changed

Lines changed: 10 additions & 10 deletions

File tree

css-cascade-3/Overview.bs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -150,11 +150,11 @@ Importing Style Sheets: the ''@import'' rule</h2>
150150
Content-Type of CSS Style Sheets</h3>
151151

152152
The processing of imported style sheets depends on the actual type of the linked resource.
153-
If the resource does not have <a href="https://html.spec.whatwg.org/multipage/infrastructure.html#content-type">Content-Type metadata</a>,
153+
If the resource does not have <a href="https://html.spec.whatwg.org/multipage/urls-and-fetching.html#content-type">Content-Type metadata</a>,
154154
or the host document is in <a href="https://html.spec.whatwg.org/multipage/infrastructure.html#quirks-mode">quirks mode</a>
155-
and has the <a href="https://html.spec.whatwg.org/multipage/browsers.html#same-origin">same origin</a> as the imported style sheet,
155+
and has the <a href="https://html.spec.whatwg.org/multipage/origin.html#same-origin">same origin</a> as the imported style sheet,
156156
the type of the linked resource is <code>text/css</code>.
157-
Otherwise, the type is determined from its <a href="https://html.spec.whatwg.org/multipage/infrastructure.html#content-type">Content-Type metadata</a>.
157+
Otherwise, the type is determined from its <a href="https://html.spec.whatwg.org/multipage/urls-and-fetching.html#content-type">Content-Type metadata</a>.
158158

159159
If the linked resource's type is <code>text/css</code>,
160160
it must be interpreted as a CSS style sheet.
@@ -717,7 +717,7 @@ Cascading Origins</h3>
717717
A user agent's default style sheet should present the elements of the document language
718718
in ways that satisfy general presentation expectations for the document language
719719
(e.g., for visual browsers, the EM element in HTML is presented using an italic font).
720-
See e.g. the <a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/rendering.html#the-css-user-agent-style-sheet-and-presentational-hints">HTML user agent style sheet</a>. [[HTML]]
720+
See e.g. the <a href="https://html.spec.whatwg.org/multipage/rendering.html#the-css-user-agent-style-sheet-and-presentational-hints">HTML user agent style sheet</a>. [[HTML]]
721721
</dl>
722722

723723
Extensions to CSS define the following additional <a>origins</a>:
@@ -1040,7 +1040,7 @@ Privacy and Security Considerations</h2>
10401040
* The ''@import'' rule does not apply the [=CORS protocol=] to loading cross-origin stylesheets,
10411041
instead allowing them to be freely imported and applied.
10421042

1043-
* The ''@import'' rule assumes that resources without <a href="https://html.spec.whatwg.org/multipage/infrastructure.html#content-type"><code>Content-Type</code> metadata</a>
1043+
* The ''@import'' rule assumes that resources without <a href="https://html.spec.whatwg.org/multipage/urls-and-fetching.html#content-type"><code>Content-Type</code> metadata</a>
10441044
(or any same-origin file if the host document is in quirks mode)
10451045
are <code>text/css</code>,
10461046
potentially allowing arbitrary files to be imported into the page

css-cascade-4/Overview.bs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -204,11 +204,11 @@ Processing Stylesheet Imports</h3>
204204
Content-Type of CSS Style Sheets</h3>
205205

206206
The processing of imported style sheets depends on the actual type of the linked resource.
207-
If the resource does not have <a href="https://html.spec.whatwg.org/multipage/infrastructure.html#content-type">Content-Type metadata</a>,
207+
If the resource does not have <a href="https://html.spec.whatwg.org/multipage/urls-and-fetching.html#content-type">Content-Type metadata</a>,
208208
or the host document is in <a href="https://html.spec.whatwg.org/multipage/infrastructure.html#quirks-mode">quirks mode</a>
209-
and has the <a href="https://html.spec.whatwg.org/multipage/browsers.html#same-origin">same origin</a> as the imported style sheet,
209+
and has the <a href="https://html.spec.whatwg.org/multipage/origin.html#same-origin">same origin</a> as the imported style sheet,
210210
the type of the linked resource is <code>text/css</code>.
211-
Otherwise, the type is determined from its <a href="https://html.spec.whatwg.org/multipage/infrastructure.html#content-type">Content-Type metadata</a>.
211+
Otherwise, the type is determined from its <a href="https://html.spec.whatwg.org/multipage/urls-and-fetching.html#content-type">Content-Type metadata</a>.
212212

213213
If the linked resource's type is <code>text/css</code>,
214214
it must be interpreted as a CSS style sheet.
@@ -814,7 +814,7 @@ Cascading Origins</h3>
814814
A user agent's default style sheet should present the elements of the document language
815815
in ways that satisfy general presentation expectations for the document language
816816
(e.g., for visual browsers, the EM element in HTML is presented using an italic font).
817-
See e.g. the <a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/rendering.html#the-css-user-agent-style-sheet-and-presentational-hints">HTML user agent style sheet</a>. [[HTML]]
817+
See e.g. the <a href="https://html.spec.whatwg.org/multipage/rendering.html#the-css-user-agent-style-sheet-and-presentational-hints">HTML user agent style sheet</a>. [[HTML]]
818818
</dl>
819819

820820
Extensions to CSS define the following additional <a>origins</a>:
@@ -1153,7 +1153,7 @@ Privacy and Security Considerations</h2>
11531153
* The ''@import'' rule does not apply the [=CORS protocol=] to loading cross-origin stylesheets,
11541154
instead allowing them to be freely imported and applied.
11551155

1156-
* The ''@import'' rule assumes that resources without <a href="https://html.spec.whatwg.org/multipage/infrastructure.html#content-type"><code>Content-Type</code> metadata</a>
1156+
* The ''@import'' rule assumes that resources without <a href="https://html.spec.whatwg.org/multipage/urls-and-fetching.html#content-type"><code>Content-Type</code> metadata</a>
11571157
(or any same-origin file if the host document is in quirks mode)
11581158
are <code>text/css</code>,
11591159
potentially allowing arbitrary files to be imported into the page

0 commit comments

Comments
 (0)