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>In the absence of any media types, the import is
5656
5658
unconditional. Specifying 'all' for the medium has the same effect.
5659
+
The import only takes effect if the target medium matches the media
5660
+
list.
5661
+
5662
+
<p>A target medium matches a media list if one of the items in the
5663
+
media list is the target medium or 'all'.
5664
+
5665
+
<p class=note>Note that Media Queries <a href="refs.html#ref-MEDIAQ" rel="biblioentry" class="noxref"><span class="informref">[MEDIAQ]</span></a> extends the syntax of
5666
+
media lists and the definition of matching.
5667
+
5668
+
<p>When the same style sheet is imported or linked to a document in
5669
+
multiple places, user agents must process (or act as though they do)
5670
+
each link as though the link were to a separate style sheet.
font). See <ahref="sample.html"><del>"A</del><ins>A</ins> sample style sheet for HTML
286
298
</a><del>4.0"</del>for a recommended default style sheet for HTML <del>4.0</del>documents.
287
299
288
-
<pclass="note"><del>Note</del><del>that</del><del>the</del><del>default</del><del>style</del><del>sheet</del><del>may</del><del>change</del><del>if</del><del>system</del><del>settings</del><del>are</del><del>modified</del><del>by</del><ins>Note</ins><ins>that</ins> the user <del>(e.g.,</del><ins>may</ins><ins>modify</ins> system <del>colors).</del><ins>settings</ins><ins>(e.g.</ins>
289
-
<ins>system</ins><ins>colors)</ins><ins>that</ins><ins>affect</ins><ins>the</ins><ins>default</ins><ins>style</ins><ins>sheet.</ins> However, <del>due</del><del>to</del><del>limitations</del><del>in</del><del>a</del><ins>some</ins> user
300
+
<pclass="note">Notethatthe<del>default</del><del>style</del><del>sheet</del><ins>user</ins> may <del>change</del><del>if</del><ins>modify</ins> system settings<del>are</del><del>modified</del><del>by</del><del>the</del><del>user</del><del>(e.g.,</del><ins>(e.g.</ins>
301
+
system <del>colors).</del><ins>colors)</ins><ins>that</ins><ins>affect</ins><ins>the</ins><ins>default</ins><ins>style</ins><ins>sheet.</ins> However, <del>due</del><del>to</del><del>limitations</del><del>in</del><del>a</del><ins>some</ins> user
290
302
<del>agent's</del><del>internal</del><del>implementation,</del><ins>agent</ins><ins>implementations</ins><ins>make</ins> it <del>may</del><del>be</del>impossible to change the values in the
Find all declarations that apply to the element and property in
315
327
question, for the target <ahref="media.html">media type</a>.
316
328
Declarations apply if the associated selector <A
317
-
HREF="selector.html">matches</A> the element in question.
329
+
HREF="selector.html">matches</A> the element in <del>question.</del><ins>question</ins><ins>and</ins> the
330
+
<del>primary</del><del>sort</del><del>of</del><ins>target</ins><ins>medium</ins><ins>matches</ins> the <del>declarations</del><del>is</del><del>by</del><del>weight</del><ins>media</ins><ins>list</ins><ins>on</ins><ins>all</ins><ins>@media</ins><ins>rules</ins>
331
+
<ins>containing</ins><ins>the</ins><ins>declaration</ins> and <del>origin:</del><del>for</del><del>normal</del><del>declarations,</del><del>author</del><del>style</del><del>sheets</del><del>override</del><del>user</del><del>style</del><del>sheets</del><ins>on</ins><ins>all</ins><ins>links</ins><ins>on</ins><ins>the</ins><ins>path</ins><ins>through</ins>
332
+
which <del>override</del>the <del>default</del>style <del>sheet.</del><del>For</del><del>"!important"</del><del>declarations,</del><ins>sheet</ins><ins>was</ins><ins>reached.</ins>
and <del>origin:</del><del>for</del><del>normal</del><del>declarations,</del><del>author</del><del>style</del><del>sheets</del><del>override</del><ins>origin</ins><ins>(author,</ins><ins>user,</ins><ins>or</ins> user <del>style</del><del>sheets</del><del>which</del><del>override</del><del>the</del><del>default</del><del>style</del><del>sheet.</del><del>For</del><del>"!important"</del><del>declarations,</del><ins>agent).</ins><ins>In</ins><ins>ascending</ins><ins>order</ins><ins>of</ins>
<ins>and</ins><ins>origin</ins><ins>(author,</ins><ins>user,</ins><ins>or</ins> user <del>style</del><del>sheets</del><del>override</del><ins>agent).</ins><ins>In</ins><ins>ascending</ins><ins>order</ins><ins>of</ins>
0 commit comments