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
@@ -85,14 +97,14 @@ Importing Style Sheets: the ''@import'' rule</h2>
85
97
states the conditions under which it applies.
86
98
87
99
If a <<string>> is provided,
88
-
it must be interpreted as a url with the same value.
100
+
it must be interpreted as a <<url>> with the same value.
89
101
90
102
<div class="example">
91
103
The following lines are equivalent in meaning
92
104
and illustrate both ''@import'' syntaxes
93
105
(one with ''url()'' and one with a bare string):
94
106
95
-
<pre>
107
+
<pre class='lang-css'>
96
108
@import "mystyle.css";
97
109
@import url("mystyle.css");
98
110
</pre>
@@ -113,7 +125,7 @@ Importing Style Sheets: the ''@import'' rule</h2>
113
125
<div class=example>
114
126
The following rules illustrate how ''@import'' rules can be made media-dependent:
115
127
116
-
<pre>
128
+
<pre class='lang-css'>
117
129
@import url("fineprint.css") print;
118
130
@import url("bluish.css") projection, tv;
119
131
@import url("narrow.css") handheld and (max-width: 400px);
@@ -130,7 +142,7 @@ Importing Style Sheets: the ''@import'' rule</h2>
130
142
it is perfectly appropriate for a UA to fetch a style sheet only once,
131
143
even though it's linked or imported multiple times.
132
144
133
-
The <a>origin</a> of an imported style sheet is the same as the <a>origin</a> of the style sheet that imported it.
145
+
The <a>origin</a> of an imported style sheet is the <a>origin</a> of the style sheet that imported it.
134
146
135
147
The <a>environment encoding</a> of an imported style sheet is the encoding of the style sheet that imported it. [[CSS3SYN]]
136
148
@@ -188,19 +200,20 @@ Shorthand Properties</h2>
188
200
is a <a>shorthand</a> property for setting <a property>font-style</a>, <a property>font-variant</a>, <a property>font-weight</a>, 'font-size', 'line-height', and <a property>font-family</a> all at once.
As more 'font'<a>sub-properties</a> are introduced into CSS,
206
219
the shorthand declaration resets those to their initial values as well.
@@ -236,7 +249,8 @@ Resetting All Properties: the 'all' property</h3>
236
249
Value: initial | inherit | unset
237
250
</pre>
238
251
239
-
The 'all' property is a <a>shorthand</a> that resets <em>all</em> CSS properties
252
+
The 'all' property is a <a>shorthand</a>
253
+
that resets <em>all</em> CSS properties
240
254
except 'direction' and 'unicode-bidi'.
241
255
It only accepts the <a href="https://www.w3.org/TR/css3-values/#common-keywords">CSS-wide keywords</a>.
242
256
It does not reset <a>custom properties</a>[[css-variables-1]].
@@ -670,7 +684,7 @@ Cascading</h2>
670
684
</ul>
671
685
</dl>
672
686
673
-
The <dfn>output of the cascade</dfn>
687
+
The <dfn export>output of the cascade</dfn>
674
688
is a (potentially empty) sorted list of <a>declared values</a> for each property on each element.
675
689
676
690
@@ -703,17 +717,17 @@ Cascading Origins</h3>
703
717
A user agent's default style sheet should present the elements of the document language
704
718
in ways that satisfy general presentation expectations for the document language
705
719
(e.g., for visual browsers, the EM element in HTML is presented using an italic font).
706
-
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>. [[HTML5]]
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]]
707
721
</dl>
708
722
709
723
Extensions to CSS define the following additional <a>origins</a>:
0 commit comments