Skip to content

Commit 72d2cd9

Browse files
cdoublevfantasai
authored andcommitted
[css-device-adapt][css-grid][css-shapes][css-speech] Add range notation
1 parent 1e0c9da commit 72d2cd9

File tree

4 files changed

+22
-22
lines changed

4 files changed

+22
-22
lines changed

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
@@ -1079,7 +1079,7 @@ Expanding a Shape: the 'shape-margin' property</h3>
10791079

10801080
<pre class='propdef'>
10811081
Name: shape-margin
1082-
Value: <<length-percentage>>
1082+
Value: <<length-percentage [0,∞]>>
10831083
Initial: 0
10841084
Applies to: floats
10851085
Inherited: no
@@ -1089,7 +1089,7 @@ Expanding a Shape: the 'shape-margin' property</h3>
10891089
</pre>
10901090

10911091
<dl dfn-type="value" dfn-for="shape-margin">
1092-
<dt><dfn><<length-percentage>></dfn></dt>
1092+
<dt><dfn><<length-percentage [0,∞]>></dfn></dt>
10931093
<dd>
10941094
Sets the margin of the shape to the specified value.
10951095
</dl>

css-speech-1/Overview.bs

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

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

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

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

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

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

1150-
<dt><dfn><<percentage>></dfn>
1150+
<dt><dfn><<percentage [0,∞]>></dfn>
11511151
<dd>
11521152
<p>Only non-negative [=percentage=] values are allowed.
11531153
This represents a change relative to the given keyword value (see enumeration above),
@@ -1539,7 +1539,7 @@ The 'voice-duration' property</h3>
15391539

15401540
<pre class=propdef>
15411541
Name: voice-duration
1542-
Value: auto | &lt;time&gt;
1542+
Value: auto | &lt;time [0s,∞]&gt;
15431543
Initial: auto
15441544
Applies to: all elements
15451545
Inherited: no
@@ -1569,7 +1569,7 @@ The 'voice-duration' property</h3>
15691569
Resolves to a used value corresponding to the duration of the speech synthesis
15701570
when using the inherited 'voice-rate'.
15711571

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

0 commit comments

Comments
 (0)