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
The processing of imported style sheets depends on the actual type of the linked resource.
232
-
If the resource does not have <a href="https://html.spec.whatwg.org/multipage/urls-and-fetching.html#content-type">Content-Type metadata</a>,
233
-
or the host document is in <a href="https://html.spec.whatwg.org/multipage/infrastructure.html#quirks-mode">quirks mode</a>
234
-
and has the <a href="https://html.spec.whatwg.org/multipage/origin.html#same-origin">same origin</a> as the imported style sheet,
235
-
the type of the linked resource is <code>text/css</code>.
236
-
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>.
231
+
The processing of imported style sheets depends on the actual type of the linked resource:
232
+
233
+
* If the resource does not have <l spec=html>[=Content-Type metadata=]</l>,
234
+
the type is treated as <code>text/css</code>.
235
+
* If the host document is in [=quirks mode=],
236
+
and the host document's origin is [=same origin=]
237
+
with the linked resource [=/response's=][=response/URL's=] origin,
238
+
the type is treated as <code>text/css</code>.
239
+
* Otherwise, the type is determined from its <l spec=html>[=Content-Type metadata=]</l>.
237
240
238
241
If the linked resource's type is <code>text/css</code>,
The processing of imported style sheets depends on the actual type of the linked resource.
225
-
If the resource does not have <a href="https://html.spec.whatwg.org/multipage/urls-and-fetching.html#content-type">Content-Type metadata</a>,
226
-
or the host document is in <a href="https://html.spec.whatwg.org/multipage/infrastructure.html#quirks-mode">quirks mode</a>
227
-
and has the <a href="https://html.spec.whatwg.org/multipage/origin.html#same-origin">same origin</a> as the imported style sheet,
228
-
the type of the linked resource is <code>text/css</code>.
229
-
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>.
224
+
The processing of imported style sheets depends on the actual type of the linked resource:
225
+
226
+
* If the resource does not have <l spec=html>[=Content-Type metadata=]</l>,
227
+
the type is treated as <code>text/css</code>.
228
+
* If the host document is in [=quirks mode=],
229
+
and the host document's origin is [=same origin=]
230
+
with the linked resource [=/response's=][=response/URL's=] origin,
231
+
the type is treated as <code>text/css</code>.
232
+
* Otherwise, the type is determined from its <l spec=html>[=Content-Type metadata=]</l>.
230
233
231
234
If the linked resource's type is <code>text/css</code>,
0 commit comments