Skip to content

Commit b3c2bc1

Browse files
committed
[css-device-adapt][css-grid][css-shapes][css-speech] Add range notation
1 parent 122d114 commit b3c2bc1

File tree

5 files changed

+31
-31
lines changed

5 files changed

+31
-31
lines changed

css-device-adapt-1/Overview.bs

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -425,7 +425,7 @@ The 'zoom' descriptor</h3>
425425
<pre class=descdef>
426426
Name: zoom
427427
For: @viewport
428-
Value: auto | <<number>> | <<percentage>>
428+
Value: auto | <<number [0,∞]>> | <<percentage [0,∞]>>
429429
Initial: auto
430430
Percentages: The zoom factor itself
431431
Computed value: auto, or a non-negative number or percentage as specified
@@ -447,14 +447,14 @@ Values have the following meanings:
447447
proposed way of handling ''zoom/auto'' values for 'zoom'.
448448
</dd>
449449

450-
<dt><var><<number>></var></dt>
450+
<dt><var><<number [0,∞]>></var></dt>
451451
<dd>
452452
A non-negative number used as a zoom factor. A factor of 1.0 means
453453
that no zooming is done. Values larger than 1.0 gives a zoomed-in
454454
effect and values smaller than 1.0 a zoomed-out effect.
455455
</dd>
456456

457-
<dt><var><<percentage>></var></dt>
457+
<dt><var><<percentage [0,∞]>></var></dt>
458458
<dd>
459459
A non-negative percentage value used as a zoom factor. A factor of
460460
100% means that no zooming is done. Values larger than 100% gives a
@@ -468,7 +468,7 @@ The 'min-zoom' descriptor</h3>
468468
<pre class=descdef>
469469
Name: min-zoom
470470
For: @viewport
471-
Value: auto | <<number>> | <<percentage>>
471+
Value: auto | <<number [0,∞]>> | <<percentage [0,∞]>>
472472
Initial: auto
473473
Percentages: The zoom factor itself
474474
Computed value: auto, or a non-negative number or percentage as specified
@@ -492,12 +492,12 @@ Values have the following meanings:
492492
procedure</a>
493493
</dd>
494494

495-
<dt><var><<number>></var></dt>
495+
<dt><var><<number [0,∞]>></var></dt>
496496
<dd>
497497
A non-negative number limiting the minimum value of the zoom factor.
498498
</dd>
499499

500-
<dt><var><<percentage>></var></dt>
500+
<dt><var><<percentage [0,∞]>></var></dt>
501501
<dd>
502502
A non-negative percentage limiting the minimum value of the zoom factor.
503503
</dd>
@@ -509,7 +509,7 @@ The 'max-zoom' descriptor</h3>
509509
<pre class=descdef>
510510
Name: max-zoom
511511
For: @viewport
512-
Value: auto | <<number>> | <<percentage>>
512+
Value: auto | <<number [0,∞]>> | <<percentage [0,∞]>>
513513
Initial: auto
514514
Percentages: The zoom factor itself
515515
Computed value: auto, or a non-negative number or percentage as specified
@@ -535,12 +535,12 @@ Values have the following meanings:
535535
procedure</a>
536536
</dd>
537537

538-
<dt><var><<number>></var></dt>
538+
<dt><var><<number [0,∞]>></var></dt>
539539
<dd>
540540
A non-negative number limiting the maximum value of the zoom factor.
541541
</dd>
542542

543-
<dt><var><<percentage>></var></dt>
543+
<dt><var><<percentage [0,∞]>></var></dt>
544544
<dd>
545545
A non-negative percentage limiting the maximum value of the zoom factor.
546546
</dd>

css-grid-1/Overview.bs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1509,11 +1509,11 @@ Explicit Track Sizing: the 'grid-template-rows' and 'grid-template-columns' prop
15091509
[ <<line-names>>? [ <<fixed-size>> | <<fixed-repeat>> ] ]* <<line-names>>?
15101510
<dfn>&lt;explicit-track-list></dfn> = [ <<line-names>>? <<track-size>> ]+ <<line-names>>?
15111511
1512-
<dfn>&lt;track-size></dfn> = <<track-breadth>> | minmax( <<inflexible-breadth>> , <<track-breadth>> ) | fit-content( <<length-percentage>> )
1512+
<dfn>&lt;track-size></dfn> = <<track-breadth>> | minmax( <<inflexible-breadth>> , <<track-breadth>> ) | fit-content( <<length-percentage [0,∞]>> )
15131513
<dfn>&lt;fixed-size></dfn> = <<fixed-breadth>> | minmax( <<fixed-breadth>> , <<track-breadth>> ) | minmax( <<inflexible-breadth>> , <<fixed-breadth>> )
1514-
<dfn>&lt;track-breadth></dfn> = <<length-percentage>> | <<flex>> | min-content | max-content | auto
1515-
<dfn>&lt;inflexible-breadth></dfn> = <<length-percentage>> | min-content | max-content | auto
1516-
<dfn>&lt;fixed-breadth></dfn> = <<length-percentage>>
1514+
<dfn>&lt;track-breadth></dfn> = <<length-percentage [0,∞]>> | <<flex [0,∞]>> | min-content | max-content | auto
1515+
<dfn>&lt;inflexible-breadth></dfn> = <<length-percentage [0,∞]>> | min-content | max-content | auto
1516+
<dfn>&lt;fixed-breadth></dfn> = <<length-percentage [0,∞]>>
15171517
<dfn>&lt;line-names></dfn> = '[' <<custom-ident>>* ']'
15181518
</pre>
15191519

@@ -1523,7 +1523,7 @@ Explicit Track Sizing: the 'grid-template-rows' and 'grid-template-columns' prop
15231523
Track Sizes</h4>
15241524

15251525
<dl dfn-for="grid-template-columns, grid-template-rows" dfn-type=value>
1526-
<dt><dfn><<length-percentage>></dfn>
1526+
<dt><dfn><<length-percentage [0,∞]>></dfn>
15271527
<dd>
15281528
A non-negative length or percentage, as defined by CSS3 Values. [[!CSS-VALUES-3]]
15291529

@@ -1540,7 +1540,7 @@ Track Sizes</h4>
15401540
and then resolve against that resulting <a>grid container</a> size
15411541
for the purpose of laying out the <a>grid</a> and its items.
15421542

1543-
<dt><dfn><<flex>></dfn>
1543+
<dt><dfn><<flex [0,∞]>></dfn>
15441544
<dd>
15451545
A non-negative dimension with the unit ''fr'' specifying the track's <dfn dfn noexport>flex factor</dfn>.
15461546
Each <<flex>>-sized track takes a share of the remaining space in proportion to its <a>flex factor</a>.

css-grid-2/Overview.bs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1593,11 +1593,11 @@ Explicit Track Sizing: the 'grid-template-rows' and 'grid-template-columns' prop
15931593
<dfn>&lt;explicit-track-list></dfn> = [ <<line-names>>? <<track-size>> ]+ <<line-names>>?
15941594
15951595
<dfn>&lt;line-name-list></dfn> = [ <<line-names>> | <<name-repeat>> ]+
1596-
<dfn>&lt;track-size></dfn> = <<track-breadth>> | minmax( <<inflexible-breadth>> , <<track-breadth>> ) | fit-content( <<length-percentage>> )
1596+
<dfn>&lt;track-size></dfn> = <<track-breadth>> | minmax( <<inflexible-breadth>> , <<track-breadth>> ) | fit-content( <<length-percentage [0,∞]>> )
15971597
<dfn>&lt;fixed-size></dfn> = <<fixed-breadth>> | minmax( <<fixed-breadth>> , <<track-breadth>> ) | minmax( <<inflexible-breadth>> , <<fixed-breadth>> )
1598-
<dfn>&lt;track-breadth></dfn> = <<length-percentage>> | <<flex>> | min-content | max-content | auto
1599-
<dfn>&lt;inflexible-breadth></dfn> = <<length-percentage>> | min-content | max-content | auto
1600-
<dfn>&lt;fixed-breadth></dfn> = <<length-percentage>>
1598+
<dfn>&lt;track-breadth></dfn> = <<length-percentage [0,∞]>> | <<flex [0,∞]>> | min-content | max-content | auto
1599+
<dfn>&lt;inflexible-breadth></dfn> = <<length-percentage [0,∞]>> | min-content | max-content | auto
1600+
<dfn>&lt;fixed-breadth></dfn> = <<length-percentage [0,∞]>>
16011601
<dfn>&lt;line-names></dfn> = '[' <<custom-ident>>* ']'
16021602
</pre>
16031603

@@ -1607,7 +1607,7 @@ Explicit Track Sizing: the 'grid-template-rows' and 'grid-template-columns' prop
16071607
Track Sizes</h4>
16081608

16091609
<dl dfn-for="grid-template-columns, grid-template-rows" dfn-type=value>
1610-
<dt><dfn><<length-percentage>></dfn>
1610+
<dt><dfn><<length-percentage [0,∞]>></dfn>
16111611
<dd>
16121612
A non-negative length or percentage, as defined by CSS3 Values. [[!CSS-VALUES-3]]
16131613

@@ -1624,7 +1624,7 @@ Track Sizes</h4>
16241624
and then resolve against that resulting <a>grid container</a> size
16251625
for the purpose of laying out the <a>grid</a> and its items.
16261626

1627-
<dt><dfn><<flex>></dfn>
1627+
<dt><dfn><<flex [0,∞]>></dfn>
16281628
<dd>
16291629
A non-negative dimension with the unit ''fr'' specifying the track's <dfn dfn noexport>flex factor</dfn>.
16301630
Each <<flex>>-sized track takes a share of the remaining space in proportion to its <a>flex factor</a>.

css-shapes-1/Overview.bs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1089,7 +1089,7 @@ Expanding a Shape: the 'shape-margin' property</h3>
10891089

10901090
<pre class='propdef'>
10911091
Name: shape-margin
1092-
Value: <<length-percentage>>
1092+
Value: <<length-percentage [0,∞]>>
10931093
Initial: 0
10941094
Applies to: floats
10951095
Inherited: no
@@ -1099,7 +1099,7 @@ Expanding a Shape: the 'shape-margin' property</h3>
10991099
</pre>
11001100

11011101
<dl dfn-type="value" dfn-for="shape-margin">
1102-
<dt><dfn><<length-percentage>></dfn></dt>
1102+
<dt><dfn><<length-percentage [0,∞]>></dfn></dt>
11031103
<dd>
11041104
Sets the margin of the shape to the specified value.
11051105
</dl>

css-speech-1/Overview.bs

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -568,7 +568,7 @@ The 'pause-before' and 'pause-after' properties</h3>
568568

569569
<pre class=propdef>
570570
Name: pause-before, pause-after
571-
Value: &lt;time&gt; | none | x-weak | weak | medium | strong | x-strong
571+
Value: &lt;time [0s,∞]&gt; | none | x-weak | weak | medium | strong | x-strong
572572
Initial: none
573573
Applies to: all elements
574574
Inherited: no
@@ -589,7 +589,7 @@ The 'pause-before' and 'pause-after' properties</h3>
589589
requires special considerations (e.g. <a href="#collapsed-pauses">"collapsed" pauses</a>).
590590

591591
<dl dfn-type=value dfn-for="pause-before,pause-after">
592-
<dt><dfn><<time>></dfn>
592+
<dt><dfn><<time [0s,∞]>></dfn>
593593
<dd>
594594
Expresses the pause in absolute time units
595595
(seconds and milliseconds, e.g. "+3s", "250ms").
@@ -687,7 +687,7 @@ The 'rest-before' and 'rest-after' properties</h3>
687687

688688
<pre class=propdef>
689689
Name: rest-before, rest-after
690-
Value: <<time>> | none | x-weak | weak | medium | strong | x-strong
690+
Value: <<time [0s,∞]>> | none | x-weak | weak | medium | strong | x-strong
691691
Initial: none
692692
Applies to: all elements
693693
Inherited: no
@@ -706,7 +706,7 @@ The 'rest-before' and 'rest-after' properties</h3>
706706
requires special considerations (e.g. interspersed audio cues, additive adjacent rests).
707707

708708
<dl dfn-type=value dfn-for="rest-before,rest-after">
709-
<dt><dfn><<time>></dfn>
709+
<dt><dfn><<time [0s,∞]>></dfn>
710710
<dd>
711711
Expresses the rest in absolute time units (seconds and milliseconds, e.g. "+3s", "250ms").
712712
Only non-negative values are allowed.
@@ -1111,7 +1111,7 @@ The 'voice-rate' property</h3>
11111111

11121112
<pre class=propdef>
11131113
Name: voice-rate
1114-
Value: [normal | x-slow | slow | medium | fast | x-fast] || <<percentage>>
1114+
Value: [normal | x-slow | slow | medium | fast | x-fast] || <<percentage [0,∞]>>
11151115
Initial: normal
11161116
Applies to: all elements
11171117
Inherited: yes
@@ -1143,7 +1143,7 @@ The 'voice-rate' property</h3>
11431143
For example, typical values for the English language are
11441144
(in words per minute) x-slow = 80, slow = 120, medium = between 180 and 200, fast = 500.
11451145

1146-
<dt><dfn><<percentage>></dfn>
1146+
<dt><dfn><<percentage [0,∞]>></dfn>
11471147
<dd>
11481148
<p>Only non-negative [=percentage=] values are allowed.
11491149
This represents a change relative to the given keyword value (see enumeration above),
@@ -1535,7 +1535,7 @@ The 'voice-duration' property</h3>
15351535

15361536
<pre class=propdef>
15371537
Name: voice-duration
1538-
Value: auto | &lt;time&gt;
1538+
Value: auto | &lt;time [0s,∞]&gt;
15391539
Initial: auto
15401540
Applies to: all elements
15411541
Inherited: no
@@ -1565,7 +1565,7 @@ The 'voice-duration' property</h3>
15651565
Resolves to a used value corresponding to the duration of the speech synthesis
15661566
when using the inherited 'voice-rate'.
15671567

1568-
<dt><dfn><<time>></dfn>
1568+
<dt><dfn><<time [0s,∞]>></dfn>
15691569
<dd>
15701570
Specifies a value in absolute time units
15711571
(seconds and milliseconds, e.g. "+3s", "250ms").

0 commit comments

Comments
 (0)