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
Copy file name to clipboardExpand all lines: css-cascade-3/Overview.bs
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -150,11 +150,11 @@ Importing Style Sheets: the ''@import'' rule</h2>
150
150
Content-Type of CSS Style Sheets</h3>
151
151
152
152
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>,
154
154
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,
156
156
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>.
158
158
159
159
If the linked resource's type is <code>text/css</code>,
160
160
it must be interpreted as a CSS style sheet.
@@ -717,7 +717,7 @@ Cascading Origins</h3>
717
717
A user agent's default style sheet should present the elements of the document language
718
718
in ways that satisfy general presentation expectations for the document language
719
719
(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]]
721
721
</dl>
722
722
723
723
Extensions to CSS define the following additional <a>origins</a>:
@@ -1040,7 +1040,7 @@ Privacy and Security Considerations</h2>
1040
1040
* The ''@import'' rule does not apply the [=CORS protocol=] to loading cross-origin stylesheets,
1041
1041
instead allowing them to be freely imported and applied.
1042
1042
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>
1044
1044
(or any same-origin file if the host document is in quirks mode)
1045
1045
are <code>text/css</code>,
1046
1046
potentially allowing arbitrary files to be imported into the page
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>,
208
208
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,
210
210
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>.
212
212
213
213
If the linked resource's type is <code>text/css</code>,
214
214
it must be interpreted as a CSS style sheet.
@@ -814,7 +814,7 @@ Cascading Origins</h3>
814
814
A user agent's default style sheet should present the elements of the document language
815
815
in ways that satisfy general presentation expectations for the document language
816
816
(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]]
818
818
</dl>
819
819
820
820
Extensions to CSS define the following additional <a>origins</a>:
@@ -1153,7 +1153,7 @@ Privacy and Security Considerations</h2>
1153
1153
* The ''@import'' rule does not apply the [=CORS protocol=] to loading cross-origin stylesheets,
1154
1154
instead allowing them to be freely imported and applied.
1155
1155
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>
1157
1157
(or any same-origin file if the host document is in quirks mode)
1158
1158
are <code>text/css</code>,
1159
1159
potentially allowing arbitrary files to be imported into the page
0 commit comments