Skip to content

Navigation Menu

Sign in
Appearance settings
Sign up
Appearance settings

Commit 09ceac0

Browse filesBrowse the repository at this point in the historyBrowse files
cdoublevsvgeesus
authored andcommitted
Apply range definition notation to property values
1 parent d78f00e commit 09ceac0
Copy full SHA for 09ceac0

23 files changed

+58-58Lines changed: 58 additions & 58 deletions

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎css-align-3/Overview.bs‎

Copy file name to clipboardExpand all lines: css-align-3/Overview.bs
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1962,7 +1962,7 @@ Row and Column Gutters: the 'row-gap' and 'column-gap' properties</h3>
19621962

19631963
<pre class='propdef'>
19641964
Name: row-gap, column-gap
1965-
Value: normal | <<length-percentage>>
1965+
Value: normal | <<length-percentage [0,∞]>>
19661966
Initial: normal
19671967
Applies to: <a>multi-column containers</a>, <a>flex containers</a>, <a>grid containers</a>
19681968
Inherited: no
@@ -1986,7 +1986,7 @@ Row and Column Gutters: the 'row-gap' and 'column-gap' properties</h3>
19861986
Values have the following meanings:
19871987

19881988
<dl dfn-type=value dfn-for="row-gap, column-gap, gap">
1989-
: <<length-percentage>>
1989+
: <<length-percentage [0,∞]>>
19901990
::
19911991
Specifies a gap between “rows” or “columns”,
19921992
as defined by the layout modes to which it applies;
Collapse file

‎css-animations-1/Overview.bs‎

Copy file name to clipboardExpand all lines: css-animations-1/Overview.bs
+4-4Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -504,7 +504,7 @@ The 'animation-duration' property</h3>
504504

505505
<pre class='propdef'>
506506
Name: animation-duration
507-
Value: <<time>>#
507+
Value: <<time [0,∞]>>#
508508
Initial: 0s
509509
Applies to: all elements
510510
Inherited: no
@@ -515,7 +515,7 @@ The 'animation-duration' property</h3>
515515
</pre>
516516

517517
<dl>
518-
<dt><dfn value for=animation-duration><<time>></dfn>
518+
<dt><dfn value for=animation-duration><<time [0,∞]>></dfn>
519519
<dd>
520520
The <<time>> specifies the length of time that an animation takes to complete one cycle.
521521
A negative <<time>> is invalid.
@@ -604,14 +604,14 @@ The 'animation-iteration-count' property</h3>
604604
Canonical order: per grammar
605605
</pre>
606606

607-
<span class=prod><dfn>&lt;single-animation-iteration-count></dfn> = infinite | <<number>></span>
607+
<span class=prod><dfn>&lt;single-animation-iteration-count></dfn> = infinite | <<number [0,∞]>></span>
608608

609609
<dl dfn-type=value dfn-for=animation-iteration-count>
610610
<dt><dfn>infinite</dfn>
611611
<dd>
612612
The animation will repeat forever.
613613

614-
<dt><dfn><<number>></dfn>
614+
<dt><dfn><<number [0,∞]>></dfn>
615615
<dd>
616616
<p>The animation will repeat the specified number of times.
617617
If the number is not an integer,
Collapse file

‎css-box-3/Overview.bs‎

Copy file name to clipboardExpand all lines: css-box-3/Overview.bs
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,7 @@ Page-relative (Physical) Padding Properties: the 'padding-top', 'padding-right',
387387

388388
<pre class="propdef">
389389
Name: padding-top, padding-right, padding-bottom, padding-left
390-
Value: <<length-percentage>>
390+
Value: <<length-percentage [0,∞]>>
391391
Initial: 0
392392
Applies to: all elements except: <a>internal table elements</a> other than table cells, [=ruby base containers=], and [=ruby annotation containers=]
393393
Inherited: no
Collapse file

‎css-box-4/Overview.bs‎

Copy file name to clipboardExpand all lines: css-box-4/Overview.bs
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -511,7 +511,7 @@ Page-relative (Physical) Padding Properties: the 'padding-top', 'padding-right',
511511

512512
<pre class="propdef">
513513
Name: padding-top, padding-right, padding-bottom, padding-left
514-
Value: <<length-percentage>>
514+
Value: <<length-percentage [0,∞]>>
515515
Initial: 0
516516
Applies to: all elements except: <a>internal table elements</a> other than table cells, [=ruby base containers=], and [=ruby annotation containers=]
517517
Inherited: no
Collapse file

‎css-break-3/Overview.bs‎

Copy file name to clipboardExpand all lines: css-break-3/Overview.bs
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -449,7 +449,7 @@ Breaks Between Lines: 'orphans', 'widows'</h3>
449449

450450
<pre class="propdef">
451451
Name: orphans, widows
452-
Value: <<integer>>
452+
Value: <<integer [0,∞]>>
453453
Initial: 2
454454
Applies to: <a>block containers</a> that establish an <a>inline formatting context</a>
455455
Inherited: yes
Collapse file

‎css-break-4/Overview.bs‎

Copy file name to clipboardExpand all lines: css-break-4/Overview.bs
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -445,7 +445,7 @@ Breaks Between Lines: 'orphans', 'widows'</h3>
445445

446446
<pre class="propdef">
447447
Name: orphans, widows
448-
Value: <<integer>>
448+
Value: <<integer [0,∞]>>
449449
Initial: 2
450450
Applies to: <a>block containers</a> that establish an <a>inline formatting context</a>
451451
Inherited: yes
Collapse file

‎css-content-3/Overview.bs‎

Copy file name to clipboardExpand all lines: css-content-3/Overview.bs
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1212,7 +1212,7 @@ bookmark-level
12121212

12131213
<pre class="propdef">
12141214
Name: bookmark-level
1215-
Value: none | <<integer>>
1215+
Value: none | <<integer [1,∞]>>
12161216
Initial: none
12171217
Applies to: all elements
12181218
Inherited: no
@@ -1222,7 +1222,7 @@ bookmark-level
12221222
</pre>
12231223

12241224
<dl dfn-type="value" dfn-for="bookmark-level">
1225-
<dt><dfn><<integer>></dfn>
1225+
<dt><dfn><<integer [1,∞]>></dfn>
12261226
<dd>defines the level of the bookmark, with the top level being 1 (negative and zero values are invalid).
12271227
<dt><dfn>none</dfn>
12281228
<dd>no bookmark is generated.
Collapse file

‎css-egg-1/Overview.bs‎

Copy file name to clipboardExpand all lines: css-egg-1/Overview.bs
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -444,7 +444,7 @@ The <<gradient>> syntax is extended to accept <<double-rainbow()>> in addition t
444444

445445
<pre>
446446
<dfn>double-rainbow()</dfn> = double-rainbow(
447-
<<position>> [, [ <<extent>> | <<length>> | <<percentage>>]]?
447+
<<position>> [, [ <<extent>> | <<length-percentage [0,∞]>>]]?
448448
)
449449
<dfn noexport><<extent>></dfn> = ''closest-corner'' | ''closest-side'' | ''farthest-corner'' | ''farthest-side''
450450
</pre>
Collapse file

‎css-fonts-4/Overview.bs‎

Copy file name to clipboardExpand all lines: css-fonts-4/Overview.bs
+8-8Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -709,7 +709,7 @@ Font width: the 'font-stretch!!property' property</h3>
709709

710710
<pre class="propdef">
711711
Name: font-stretch
712-
Value: normal | <<percentage>> | ultra-condensed | extra-condensed | condensed | semi-condensed | semi-expanded | expanded | extra-expanded | ultra-expanded
712+
Value: normal | <<percentage [0,∞]>> | ultra-condensed | extra-condensed | condensed | semi-condensed | semi-expanded | expanded | extra-expanded | ultra-expanded
713713
Initial: normal
714714
Applies to: all elements and text
715715
Inherited: yes
@@ -741,7 +741,7 @@ Font width: the 'font-stretch!!property' property</h3>
741741
<tr><th><dfn>ultra-expanded</dfn> <td>200%
742742
</table>
743743

744-
<dfn value for=font-stretch><<percentage>></dfn>
744+
<dfn value for=font-stretch><<percentage [0,∞]>></dfn>
745745
values represent the fractional width of the glyphs,
746746
with 100% representing “normal” glyph widths
747747
(as defined by the font designer).
@@ -787,7 +787,7 @@ Font style: the 'font-style!!property' property</h3>
787787

788788
<pre class="propdef">
789789
Name: font-style
790-
Value: normal | italic | oblique <<angle>>?
790+
Value: normal | italic | oblique <<angle [-90,90]>>?
791791
Initial: normal
792792
Applies to: all elements and text
793793
Inherited: yes
@@ -825,7 +825,7 @@ Font style: the 'font-style!!property' property</h3>
825825
Matches against a font that is labeled as an italic face,
826826
or an oblique face if one does not exist.
827827

828-
<dt><dfn>oblique <<angle>>?</dfn>
828+
<dt><dfn>oblique <<angle [-90,90]>>?</dfn>
829829
<dd>
830830
Controls matching against an oblique face.
831831
Positive angles represent a clockwise slant;
@@ -914,7 +914,7 @@ Font size: the 'font-size' property</h3>
914914

915915
<pre class="propdef">
916916
Name: font-size
917-
Value: <<absolute-size>> | <<relative-size>> | <<length-percentage>> | math
917+
Value: <<absolute-size>> | <<relative-size>> | <<length-percentage [0,∞]>> | math
918918
Initial: medium
919919
Applies to: all elements and text
920920
Inherited: yes
@@ -976,7 +976,7 @@ Font size: the 'font-size' property</h3>
976976
In addition, a user agent may choose to use different ratios
977977
when it detects paragraph text as opposed to title text.
978978

979-
<dt><dfn><<length-percentage>></dfn>
979+
<dt><dfn><<length-percentage [0,∞]>></dfn>
980980
<dd>
981981
A length value specifies an absolute font size
982982
(independent of the user agent's font table).
@@ -1110,7 +1110,7 @@ Relative sizing: the 'font-size-adjust' property</h3>
11101110

11111111
<pre class="propdef">
11121112
Name: font-size-adjust
1113-
Value: none | <<number>>
1113+
Value: none | <<number [0,∞]>>
11141114
Initial: none
11151115
Applies to: all elements and text
11161116
Inherited: yes
@@ -1198,7 +1198,7 @@ Relative sizing: the 'font-size-adjust' property</h3>
11981198
<dd>
11991199
Do not preserve the font's x-height.
12001200

1201-
<dt><dfn id="aspect-ratio-value"><<number>></dfn>
1201+
<dt><dfn id="aspect-ratio-value"><<number [0,∞]>></dfn>
12021202

12031203
<dd>
12041204
Specifies the <a>aspect value</a> used in the calculation below
Collapse file

‎css-grid-1/Overview.bs‎

Copy file name to clipboardExpand all lines: css-grid-1/Overview.bs
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2960,7 +2960,7 @@ Line-based Placement: the 'grid-row-start', 'grid-column-start', 'grid-row-end',
29602960
auto |
29612961
<<custom-ident>> |
29622962
[ <<integer>> && <<custom-ident>>? ] |
2963-
[ span &amp;&amp; [ <<integer>> || <<custom-ident>> ] ]
2963+
[ span &amp;&amp; [ <<integer [1,∞]>> || <<custom-ident>> ] ]
29642964
</pre>
29652965

29662966
The 'grid-row-start', 'grid-column-start', 'grid-row-end', and 'grid-column-end' properties
@@ -3000,7 +3000,7 @@ Line-based Placement: the 'grid-row-start', 'grid-column-start', 'grid-row-end',
30003000

30013001
An <<integer>> value of zero makes the declaration invalid.
30023002

3003-
<dt><dfn id='grid-placement-span-int'>span && [ <<integer>> || <<custom-ident>> ]</dfn>
3003+
<dt><dfn id='grid-placement-span-int'>span && [ <<integer [1,∞]>> || <<custom-ident>> ]</dfn>
30043004
<dd>
30053005
Contributes a <a>grid span</a> to the <a>grid item</a>’s <a>placement</a>
30063006
such that the corresponding edge of the <a>grid item</a>’s <a>grid area</a> is <var>N</var> lines from its opposite edge

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.