Skip to content

Commit f25cac5

Browse files
committed
ok lets try some more bikeshed syntax for property descriptor disambiguation
1 parent cdd5ad3 commit f25cac5

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

css-fonts-4/Overview.bs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -456,7 +456,7 @@ Previously, interpolated values of font-weight were rounded to their closest mul
456456
rounded values. In this specification, the font-matching algorithm is able to accept any value, so no rounding occurs. The small behavior change is due to the discontinuous nature of the font-matching algorithm.
457457

458458
<h3 id="font-stretch-prop">
459-
Font width: the 'font-stretch' property</h3>
459+
Font width: the 'font-stretch!!property' property</h3>
460460

461461
<pre class="propdef">
462462
Name: font-stretch
@@ -470,7 +470,7 @@ Media: visual
470470
Animatable: As <<number>>
471471
</pre>
472472

473-
The 'font-stretch' property selects a normal,
473+
The 'font-stretch!!property' property selects a normal,
474474
condensed, or expanded face from a font family.
475475

476476
This property accepts values of the following:
@@ -956,8 +956,8 @@ none of the 'font-variant!!property' values added in this specification can be u
956956

957957
<pre class="prod"><dfn id="font-variant-css21-values">&lt;font-variant-css21&gt;</dfn> = [normal | small-caps]</pre>
958958

959-
Values for the 'font-stretch' property can also be included but only those supported in
960-
CSS Fonts level 3, none of the 'font-stretch' values added in this specification can be used in the 'font' shorthand:
959+
Values for the 'font-stretch!!property' property can also be included but only those supported in
960+
CSS Fonts level 3, none of the 'font-stretch!!property' values added in this specification can be used in the 'font' shorthand:
961961

962962
<pre class="prod"><dfn id="font-stretch-css3-values">&lt;font-stretch-css3&gt;</dfn> = [normal | ultra-condensed | extra-condensed | condensed | semi-condensed | semi-expanded | expanded | extra-expanded | ultra-expanded]</pre>
963963

@@ -2371,11 +2371,11 @@ if all font style properties were set to their initial value.
23712371
a single <dfn>composite face</dfn> for this step:
23722372

23732373
<ol id="fontstylematchingalg">
2374-
1. 'font-stretch' is tried first. If a font
2374+
1. 'font-stretch!!property' is tried first. If a font
23752375
does not have any concept of varying strengths of stretch values, its stretch value
23762376
is mapped according table in the <a href="#stretchmappings">property definition</a>.
23772377
If the matching set includes faces with width values
2378-
containing the 'font-stretch' desired value, faces with width values which do not include the desired width value
2378+
containing the 'font-stretch!!property' desired value, faces with width values which do not include the desired width value
23792379
are removed from the matching set. If there is no face
23802380
which contains the desired value, a stretch value is chosen using the rules below:
23812381

@@ -2395,7 +2395,7 @@ if all font style properties were set to their initial value.
23952395
<div class="example" id="ascendingstretch">
23962396
This search algorithm can be thought of as a distance function, where the lowest-distance value present in the font family is selected, and all fonts not including that value are eliminated.
23972397

2398-
Consider a font family with three fonts, named A, B, and C, each with associated supported ranges for the 'font-stretch' descriptor. If an element is styled with "font-stretch: 125", the search algorithm can be visualized as follows:
2398+
Consider a font family with three fonts, named A, B, and C, each with associated supported ranges for the 'font-stretch!!property' descriptor. If an element is styled with "font-stretch: 125", the search algorithm can be visualized as follows:
23992399

24002400
<img src="images/stretchdistance.svg" alt="algorithm">
24012401

0 commit comments

Comments
 (0)