Skip to content

Commit f9d89ae

Browse files
cdoublevsvgeesus
authored andcommitted
Apply range definition notation to descriptor and rule's prelude values
1 parent c1183b5 commit f9d89ae

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

css-animations-1/Overview.bs

+1-1
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ Keyframes</h2>
224224

225225
<dfn>&lt;keyframe-block></dfn> = <<keyframe-selector>># { <<declaration-list>> }
226226

227-
<dfn>&lt;keyframe-selector></dfn> = from | to | <<percentage>>
227+
<dfn>&lt;keyframe-selector></dfn> = from | to | <<percentage [0,100]>>
228228
</pre>
229229

230230
The <<rule-list>> inside of ''@keyframes'' can only contain <<keyframe-block>> rules.

css-fonts-4/Overview.bs

+3-3
Original file line numberDiff line numberDiff line change
@@ -3161,21 +3161,21 @@ the 'ascent-override', 'descent-override' and 'line-gap-override' descriptors</h
31613161

31623162
<pre class='descdef'>
31633163
Name: ascent-override
3164-
Value: normal | <<percentage>>
3164+
Value: normal | <<percentage [0,∞]>>
31653165
For: @font-face
31663166
Initial: normal
31673167
</pre>
31683168

31693169
<pre class='descdef'>
31703170
Name: descent-override
3171-
Value: normal | <<percentage>>
3171+
Value: normal | <<percentage [0,∞]>>
31723172
For: @font-face
31733173
Initial: normal
31743174
</pre>
31753175

31763176
<pre class='descdef'>
31773177
Name: line-gap-override
3178-
Value: normal | <<percentage>>
3178+
Value: normal | <<percentage [0,∞]>>
31793179
For: @font-face
31803180
Initial: normal
31813181
</pre>

css-syntax-3/Overview.bs

+2
Original file line numberDiff line numberDiff line change
@@ -3271,6 +3271,8 @@ Defining Grammars for Rules and Other Values</h2>
32713271
assumed to be defined elsewhere.
32723272
Substituting the <code>&lt;foo></code> for its definition results in a semantically identical grammar.
32733273

3274+
For numeric data types, this type notation can annotate any range restrictions using the bracketed range notation described in the <a href="https://www.w3.org/TR/css3-values/#numeric-ranges">Values</a> spec.
3275+
32743276
Several types of tokens are written literally, without quotes:
32753277

32763278
<ul>

0 commit comments

Comments
 (0)