Skip to content

Commit c1183b5

Browse files
cdoublevsvgeesus
authored andcommitted
Normalize Infinity to ∞ in range notation
1 parent 09ceac0 commit c1183b5

File tree

5 files changed

+15
-15
lines changed

5 files changed

+15
-15
lines changed

css-fonts-5/Overview.bs

+6-6
Original file line numberDiff line numberDiff line change
@@ -447,7 +447,7 @@ the 'size-adjust' descriptor</h3>
447447

448448
<pre class='descdef'>
449449
Name: size-adjust
450-
Value: <<percentage [0,Infinity]>>
450+
Value: <<percentage [0,]>>
451451
For: @font-face
452452
Initial: 100%
453453
</pre>
@@ -484,21 +484,21 @@ the 'ascent-override', 'descent-override', and 'line-gap-override' descriptors</
484484

485485
<pre class='descdef'>
486486
Name: ascent-override
487-
Value: [ normal | <<percentage [0,Infinity]>> ]{1,2}
487+
Value: [ normal | <<percentage [0,]>> ]{1,2}
488488
For: @font-face
489489
Initial: normal
490490
</pre>
491491

492492
<pre class='descdef'>
493493
Name: descent-override
494-
Value: [ normal | <<percentage [0,Infinity]>> ]{1,2}
494+
Value: [ normal | <<percentage [0,]>> ]{1,2}
495495
For: @font-face
496496
Initial: normal
497497
</pre>
498498

499499
<pre class='descdef'>
500500
Name: line-gap-override
501-
Value: [ normal | <<percentage [0,Infinity]>> ]{1,2}
501+
Value: [ normal | <<percentage [0,]>> ]{1,2}
502502
For: @font-face
503503
Initial: normal
504504
</pre>
@@ -611,14 +611,14 @@ the 'superscript-position-override', 'subscript-position-override','superscript-
611611

612612
<pre class='descdef'>
613613
Name: superscript-size-override
614-
Value: [ normal | from-font | <<percentage [0,Infinity]>> ]{1,2}
614+
Value: [ normal | from-font | <<percentage [0,]>> ]{1,2}
615615
For: @font-face
616616
Initial: normal
617617
</pre>
618618

619619
<pre class='descdef'>
620620
Name: subscript-size-override
621-
Value: [ normal | from-font | <<percentage [0,Infinity]>> ]{1,2}
621+
Value: [ normal | from-font | <<percentage [0,]>> ]{1,2}
622622
For: @font-face
623623
Initial: normal
624624
</pre>

css-grid-1/Overview.bs

+3-3
Original file line numberDiff line numberDiff line change
@@ -1744,7 +1744,7 @@ Syntax of ''repeat()''</h5>
17441744
The generic form of the ''repeat()'' syntax is, approximately,
17451745

17461746
<pre class='prod'>
1747-
repeat( [ <<integer [1,Infinity]>> | auto-fill | auto-fit ] , <<track-list>> )
1747+
repeat( [ <<integer [1,]>> | auto-fill | auto-fit ] , <<track-list>> )
17481748
</pre>
17491749

17501750
The first argument specifies the number of repetitions.
@@ -1762,9 +1762,9 @@ Syntax of ''repeat()''</h5>
17621762
has several forms:
17631763

17641764
<pre class='prod'>
1765-
<dfn><<track-repeat>></dfn> = repeat( [ <<integer [1, Infinity]>> ] , [ <<line-names>>? <<track-size>> ]+ <<line-names>>? )
1765+
<dfn><<track-repeat>></dfn> = repeat( [ <<integer [1,]>> ] , [ <<line-names>>? <<track-size>> ]+ <<line-names>>? )
17661766
<dfn><<auto-repeat>></dfn> = repeat( [ auto-fill | auto-fit ] , [ <<line-names>>? <<fixed-size>> ]+ <<line-names>>? )
1767-
<dfn><<fixed-repeat>></dfn> = repeat( [ <<integer [1, Infinity]>> ] , [ <<line-names>>? <<fixed-size>> ]+ <<line-names>>? )
1767+
<dfn><<fixed-repeat>></dfn> = repeat( [ <<integer [1,]>> ] , [ <<line-names>>? <<fixed-size>> ]+ <<line-names>>? )
17681768
</pre>
17691769

17701770
* The <<track-repeat>> variant can represent the repetition of any <<track-size>>,

css-grid-2/Overview.bs

+4-4
Original file line numberDiff line numberDiff line change
@@ -1828,7 +1828,7 @@ Syntax of ''repeat()''</h5>
18281828
The generic form of the ''repeat()'' syntax is, approximately,
18291829

18301830
<pre class='prod'>
1831-
repeat( [ <<integer [1,Infinity]>> | auto-fill | auto-fit ] , <<track-list>> )
1831+
repeat( [ <<integer [1,]>> | auto-fill | auto-fit ] , <<track-list>> )
18321832
</pre>
18331833

18341834
The first argument specifies the number of repetitions.
@@ -1846,10 +1846,10 @@ Syntax of ''repeat()''</h5>
18461846
has several forms:
18471847

18481848
<pre class='prod'>
1849-
<dfn><<track-repeat>></dfn> = repeat( [ <<integer [1, Infinity]>> ] , [ <<line-names>>? <<track-size>> ]+ <<line-names>>? )
1849+
<dfn><<track-repeat>></dfn> = repeat( [ <<integer [1,]>> ] , [ <<line-names>>? <<track-size>> ]+ <<line-names>>? )
18501850
<dfn><<auto-repeat>></dfn> = repeat( [ auto-fill | auto-fit ] , [ <<line-names>>? <<fixed-size>> ]+ <<line-names>>? )
1851-
<dfn><<fixed-repeat>></dfn> = repeat( [ <<integer [1, Infinity]>> ] , [ <<line-names>>? <<fixed-size>> ]+ <<line-names>>? )
1852-
<dfn><<name-repeat>></dfn> = repeat( [ <<integer [1, Infinity]>> | auto-fill ], <<line-names>>+)
1851+
<dfn><<fixed-repeat>></dfn> = repeat( [ <<integer [1,]>> ] , [ <<line-names>>? <<fixed-size>> ]+ <<line-names>>? )
1852+
<dfn><<name-repeat>></dfn> = repeat( [ <<integer [1,]>> | auto-fill ], <<line-names>>+)
18531853
</pre>
18541854

18551855
* The <<track-repeat>> variant can represent the repetition of any <<track-size>>,

css-values-4/Overview.bs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1456,7 +1456,7 @@ Ratios: the <<ratio>> type</h3>
14561456
a <dfn export>ratio</dfn> has the syntax:
14571457

14581458
<pre class=prod>
1459-
<<ratio>> = <<number [0,Infinity]>> [ / <<number [0,Infinity]>> ]?
1459+
<<ratio>> = <<number [0,]>> [ / <<number [0,]>> ]?
14601460
</pre>
14611461

14621462
The second <<number>> is optional,

mediaqueries-4/Overview.bs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2209,7 +2209,7 @@ The following changes were made to this specification since the
22092209

22102210
Note: [[CSS-VALUES-4]] has expanded the definition
22112211
from <code class=prod><<ratio>> = <<integer>> / <<integer>></code>
2212-
to <code class=prod><<ratio>> = <<number [0,Infinity]>> [ / <<number [0,Infinity]>> ]?</code>
2212+
to <code class=prod><<ratio>> = <<number [0,]>> [ / <<number [0,]>> ]?</code>
22132213

22142214
<li>
22152215
Various editorial tweaks, phrasing improvements, and clarifications.

0 commit comments

Comments
 (0)