Skip to content

Commit 0d2eca7

Browse files
committed
Revert "Change NUMBER to <integer> in Fonts 4, for #1127"
This reverts commit cb2aec3. In each of these circumstances, a <number> type was correct; more than just <integer>s were accepted.
1 parent f837a28 commit 0d2eca7

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

css-fonts-4/Overview.bs

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -335,19 +335,19 @@ Inherited: yes
335335
Percentages: n/a
336336
Computed value: numeric weight value (see description)
337337
Media: visual
338-
Animatable: As <<integer>>
338+
Animatable: As <<number>>
339339
</pre>
340340

341341
The 'font-weight' property specifies the weight of glyphs in the font, their degree of blackness or stroke thickness.
342342

343343
This property accepts values of the following:
344344

345-
<pre class="prod"><dfn id="font-weight-absolute-values">&lt;font-weight-absolute&gt;</dfn> = [normal | bold | <<integer>>]</pre>
345+
<pre class="prod"><dfn id="font-weight-absolute-values">&lt;font-weight-absolute&gt;</dfn> = [normal | bold | <<number>>]</pre>
346346

347347
Values have the following meanings:
348348

349349
<dl dfn-for=font-weight dfn-type=value>
350-
<dt id="font-weight-numeric-values"><dfn><<integer>></dfn>
350+
<dt id="font-weight-numeric-values"><dfn><<number>></dfn>
351351
<dd>
352352
These values form an ordered sequence, where each number indicates a weight that is
353353
at least as dark as its predecessor. Only values greater than or equal to 1, and less than or equal to 1000, are valid, and all other values are treated as parse errors. Certain numeric values correspond to the commonly used weight names below (Note that a font might internally provide its own mappings, but those mappings within the font are disregarded):
@@ -467,7 +467,7 @@ Inherited: yes
467467
Percentages: Not resolved.
468468
Computed value: As specified
469469
Media: visual
470-
Animatable: As <<integer>>
470+
Animatable: As <<number>>
471471
</pre>
472472

473473
The 'font-stretch' property selects a normal,
@@ -785,14 +785,14 @@ Relative sizing: the 'font-size-adjust' property</h3>
785785

786786
<pre class="propdef">
787787
Name: font-size-adjust
788-
Value: none | <<integer>>
788+
Value: none | <<number>>
789789
Initial: none
790790
Applies to: all elements
791791
Inherited: yes
792792
Percentages: N/A
793793
Computed value: as specified
794794
Media: visual
795-
Animatable: as <<integer>>
795+
Animatable: as <<number>>
796796
</pre>
797797

798798
For any given font size, the apparent size and legibility of text
@@ -1953,7 +1953,7 @@ For: @font-face
19531953

19541954
<pre class='descdef'>
19551955
Name: font-variation-settings
1956-
Value: normal | [ <<string>> <<integer>>] #
1956+
Value: normal | [ <<string>> <<number>>] #
19571957
Initial: normal
19581958
For: @font-face
19591959
</pre>
@@ -3045,7 +3045,7 @@ Low-level font variation settings control: the 'font-variation-settings' propert
30453045

30463046
<pre class="propdef">
30473047
Name: font-variation-settings
3048-
Value: normal | [ <<string>> <<integer>>] #
3048+
Value: normal | [ <<string>> <<number>>] #
30493049
Initial: normal
30503050
Applies to: all elements
30513051
Inherited: yes

0 commit comments

Comments
 (0)