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
@@ -994,7 +996,7 @@ shorthand property; instead, use the individual property.
994
996
name ''"new century schoolbook"'', which contains spaces, is enclosed in
995
997
quotes. The fourth rule sets the 'font-weight!!property' to ''bold'',
996
998
the 'font-style!!property' to ''italic'', and implicitly sets
997
-
'font-varian!!propertyt' to ''font-variant/normal''.
999
+
'font-variant!!property' to ''font-variant/normal''.
998
1000
999
1001
The fifth rule sets the 'font-variant!!property' (''small-caps''), the 'font-size!!property' (120% of the
1000
1002
parent's font size), the 'line-height!!property' (120% of the font size) and the
@@ -1233,7 +1235,7 @@ which dictate the rendering behavior of any elements using the font face:
1233
1235
Otherwise, the font face is used normally.
1234
1236
1235
1237
To <dfn export>render with a fallback font face</dfn> for a given element,
1236
-
the user agent must find the first font face specified in the element's 'font-family' list
1238
+
the user agent must find the first font face specified in the element's 'font-family!!property' list
1237
1239
which is already loaded,
1238
1240
and use that for rendering text.
1239
1241
Doing this must not trigger loads of any of the fallback fonts.
@@ -1603,7 +1605,8 @@ families that cannot otherwise be referenced.
1603
1605
</div>
1604
1606
1605
1607
<h3 id="font-prop-desc">
1606
-
Font property descriptors: the 'font-style', 'font-weight', and 'font-stretch' descriptors</h3>
1608
+
Font property descriptors: the 'font-style!!descriptor', 'font-weight!!descriptor', and
1609
+
'font-stretch!!descriptor' descriptors</h3>
1607
1610
1608
1611
<pre class='descdef'>
1609
1612
Name: font-style
@@ -1988,7 +1991,7 @@ defined in <code>@font-face</code> rules without considering whether
1988
1991
those fonts are in fact used within a page are considered
1989
1992
non-conformant. In cases where a font might be downloaded in character
1990
1993
fallback cases, user agents may download a font if it's contained within
1991
-
the computed value of <span title="font-family!!property">'font-family'</span>
1994
+
the computed value of 'font-family!!property'
1992
1995
for a given text run.
1993
1996
1994
1997
<pre>
@@ -2352,11 +2355,11 @@ if all font style properties were set to their initial value.
2352
2355
of font faces in that family and then narrows the set to a single
2353
2356
face using other font properties in the order given below. Fonts might be
2354
2357
present in this group which can support a range of
2355
-
'font-stretch', 'font-style', or 'font-weight' properties. In
2358
+
'font-stretch!!property', 'font-style!!property', or 'font-weight!!property' properties. In
2356
2359
this case, the algorithm proceeds as if each supported combination of
2357
2360
values are a unique font in the set. If such a font is ultimately
2358
2361
selected by this algorithm, particular values for
2359
-
'font-stretch', 'font-style', and 'font-weight' must be applied
2362
+
'font-stretch!!property', 'font-style!!property', and 'font-weight!!property' must be applied
2360
2363
before any layout or rendering occurs. The application of these values
2361
2364
must be applied in the <a href="#apply-font-matching-variations">Apply
2362
2365
font matching variations</a> step detailed in
@@ -2506,7 +2509,7 @@ if all font style properties were set to their initial value.
2506
2509
value of the 'font-synthesis' property.
2507
2510
2508
2511
2509
-
3. 'font-weight' is matched next. If a font does not have any concept of varying strengths of weights, its weight is mapped according list in the <a href="#font-weight-numeric-values">property definition</a>. If bolder/lighter relative weights are used, the effective weight is calculated based on the inherited weight value, as described in the definition of the 'font-weight' property. If the matching set after performing the steps above includes faces with weight values containing the font-weight desired value, faces with weight values which do not include the desired font-weight value are removed from the matching set. If there is no face which contains the desired value, a weight value is chosen using the rules below:
2512
+
3. 'font-weight!!property' is matched next. If a font does not have any concept of varying strengths of weights, its weight is mapped according list in the <a href="#font-weight-numeric-values">property definition</a>. If bolder/lighter relative weights are used, the effective weight is calculated based on the inherited weight value, as described in the definition of the 'font-weight!!property' property. If the matching set after performing the steps above includes faces with weight values containing the font-weight desired value, faces with weight values which do not include the desired font-weight value are removed from the matching set. If there is no face which contains the desired value, a weight value is chosen using the rules below:
2510
2513
2511
2514
* If the desired weight is inclusively between 400 and 500, weights greater than or equal to the target weight are checked in ascending order until 500 is hit and checked, followed by weights less than the target weight in descending order, followed by weights greater than 500, until a match is found.
2512
2515
* If the desired weight is less than 400, weights less than or equal to the
@@ -2844,8 +2847,8 @@ text run.
2844
2847
2845
2848
1. Font features enabled by default, including features required for a given script.
2846
2849
2847
-
2. <span id="apply-font-matching-variations">Font variations as enabled by the 'font-weight',
2848
-
'font-stretch', and 'font-style' properties.</span>
2850
+
2. <span id="apply-font-matching-variations">Font variations as enabled by the 'font-weight!!property',
2851
+
'font-stretch!!property', and 'font-style!!property' properties.</span>
2849
2852
2850
2853
The application of the value enabled by
2851
2854
'font-style' is affected by font selection, because this property might select an
@@ -2855,38 +2858,39 @@ text run.
2855
2858
not be set together.
2856
2859
2857
2860
If the selected font is defined in an ''@font-face'' rule, then the values applied at this step
2858
-
should be clamped to the value of the 'font-weight', 'font-stretch', and 'font-style'
2861
+
should be clamped to the value of the 'font-weight!!descriptor', 'font-stretch!!descriptor',
2862
+
and 'font-style!!descriptor'
2859
2863
descriptors in that ''@font-face'' rule.
2860
2864
2861
2865
Then, the values applied in this step should be clamped (possibly again) to the values
2862
2866
that are supported by the font.
2863
2867
2864
2868
3. If the font is defined via an ''@font-face'' rule, the font variations
2865
-
implied by the 'font-variation-settings' descriptor in the ''@font-face'' rule.
2869
+
implied by the 'font-variation-settings!!descriptor' descriptor in the ''@font-face'' rule.
2866
2870
2867
2871
4. If the font is defined via an ''@font-face'' rule, the font features
2868
2872
implied by the 'font-feature-settings' descriptor in the ''@font-face'' rule.
2869
2873
2870
2874
5. If the font is defined via an ''@font-face'' rule, the font features
2871
-
implied by the 'font-feature-settings' descriptor in the ''@font-face'' rule.
2875
+
implied by the 'font-feature-settings!!descriptor' descriptor in the ''@font-face'' rule.
2872
2876
2873
-
6. Font variations implied by the value of the 'font-optical-sizing' property.
2877
+
6. Font variations implied by the value of the 'font-optical-sizing!!property' property.
2874
2878
2875
-
7. Font features implied by the value of the 'font-variant' property,
2876
-
the related 'font-variant' subproperties and any other CSS property
2877
-
that uses OpenType features (e.g. the 'font-kerning' property).
2879
+
7. Font features implied by the value of the 'font-variant!!property' property,
2880
+
the related 'font-variant!!property' subproperties and any other CSS property
2881
+
that uses OpenType features (e.g. the 'font-kerning!!property' property).
2878
2882
2879
2883
<!-- other CSS props override 'font-variant' but not 'font-feature-settings' -->
0 commit comments