Skip to content

Commit 09ceac0

Browse files
cdoublevsvgeesus
authored andcommitted
Apply range definition notation to property values
1 parent d78f00e commit 09ceac0

File tree

23 files changed

+58
-58
lines changed

23 files changed

+58
-58
lines changed

css-align-3/Overview.bs

Lines 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
19621962

19631963
19641964
Name: row-gap, column-gap
1965-
Value: normal | <>
1965+
Value: normal | < [0,∞]>>
19661966
Initial: normal
19671967
19681968
Inherited: no
@@ -1986,7 +1986,7 @@ Row and Column Gutters: the 'row-gap' and 'column-gap' properties
19861986
Values have the following meanings:
19871987

19881988
1989-
: <>
1989+
: < [0,∞]>>
19901990
::
19911991
Specifies a gap between “rows” or “columns”,
19921992
as defined by the layout modes to which it applies;

css-animations-1/Overview.bs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -504,7 +504,7 @@ The 'animation-duration' property
504504

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

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

607-
<single-animation-iteration-count> = infinite | <>
607+
<single-animation-iteration-count> = infinite | < [0,∞]>>
608608

609609
610610
infinite
611611
612612
The animation will repeat forever.
613613

614-
<>
614+
< [0,∞]>>
615615
616616

The animation will repeat the specified number of times.

617617
If the number is not an integer,

css-box-3/Overview.bs

Lines 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
389389
Name: padding-top, padding-right, padding-bottom, padding-left
390-
Value: <>
390+
Value: < [0,∞]>>
391391
Initial: 0
392392
Applies to: all elements except: internal table elements other than table cells, [=ruby base containers=], and [=ruby annotation containers=]
393393
Inherited: no

css-box-4/Overview.bs

Lines 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
513513
Name: padding-top, padding-right, padding-bottom, padding-left
514-
Value: <>
514+
Value: < [0,∞]>>
515515
Initial: 0
516516
Applies to: all elements except: internal table elements other than table cells, [=ruby base containers=], and [=ruby annotation containers=]
517517
Inherited: no

css-break-3/Overview.bs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -449,7 +449,7 @@ Breaks Between Lines: 'orphans', 'widows'
449449

450450
451451
Name: orphans, widows
452-
Value: <>
452+
Value: < [0,∞]>>
453453
Initial: 2
454454
Applies to: block containers that establish an inline formatting context
455455
Inherited: yes

css-break-4/Overview.bs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -445,7 +445,7 @@ Breaks Between Lines: 'orphans', 'widows'
445445

446446
447447
Name: orphans, widows
448-
Value: <>
448+
Value: < [0,∞]>>
449449
Initial: 2
450450
Applies to: block containers that establish an inline formatting context
451451
Inherited: yes

css-content-3/Overview.bs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1212,7 +1212,7 @@ bookmark-level
12121212

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

12241224
1225-
<>
1225+
< [1,∞]>>
12261226
defines the level of the bookmark, with the top level being 1 (negative and zero values are invalid).
12271227
none
12281228
no bookmark is generated.

css-egg-1/Overview.bs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -444,7 +444,7 @@ The <> syntax is extended to accept <> in addition t
444444

445445
446446
double-rainbow() = double-rainbow(
447-
<> [, [ <> | <>> | <<percentage>>]]?
447+
<> [, [ <> | <-percentage [0,∞]>>]]?
448448
)
449449
<> = ''closest-corner'' | ''closest-side'' | ''farthest-corner'' | ''farthest-side''
450450

css-fonts-4/Overview.bs

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -709,7 +709,7 @@ Font width: the 'font-stretch!!property' property
709709

710710
711711
Name: font-stretch
712-
Value: normal | <> | ultra-condensed | extra-condensed | condensed | semi-condensed | semi-expanded | expanded | extra-expanded | ultra-expanded
712+
Value: normal | < [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
741741
ultra-expanded 200%
742742
743743

744-
<>
744+
< [0,∞]>>
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
787787

788788
789789
Name: font-style
790-
Value: normal | italic | oblique <>?
790+
Value: normal | italic | oblique < [-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
825825
Matches against a font that is labeled as an italic face,
826826
or an oblique face if one does not exist.
827827

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

915915
916916
Name: font-size
917-
Value: <> | <> | <> | math
917+
Value: <> | <> | < [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
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-
<>
979+
< [0,∞]>>
980980
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
11101110

11111111
11121112
Name: font-size-adjust
1113-
Value: none | <>
1113+
Value: none | < [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
11981198
11991199
Do not preserve the font's x-height.
12001200

1201-
<>
1201+
< [0,∞]>>
12021202

12031203
12041204
Specifies the aspect value used in the calculation below

css-grid-1/Overview.bs

Lines 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
<> |
29622962
[ <> && <>? ] |
2963-
[ span && [ <> || <> ] ]
2963+
[ span && [ < [1,∞]>> || <> ] ]
29642964
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 <> value of zero makes the declaration invalid.
30023002

3003-
span && [ <> || <> ]
3003+
span && [ < [1,∞]>> || <> ]
30043004
30053005
Contributes a grid span to the grid item’s placement
30063006
such that the corresponding edge of the grid item’s grid area is N lines from its opposite edge

css-grid-2/Overview.bs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3104,7 +3104,7 @@ Line-based Placement: the 'grid-row-start', 'grid-column-start', 'grid-row-end',
31043104
auto |
31053105
<> |
31063106
[ <> && <>? ] |
3107-
[ span && [ <> || <> ] ]
3107+
[ span && [ < [1,∞]>> || <> ] ]
31083108
31093109

31103110
The 'grid-row-start', 'grid-column-start', 'grid-row-end', and 'grid-column-end' properties
@@ -3144,7 +3144,7 @@ Line-based Placement: the 'grid-row-start', 'grid-column-start', 'grid-row-end',
31443144

31453145
An <> value of zero makes the declaration invalid.
31463146

3147-
span && [ <> || <> ]
3147+
span && [ < [1,∞]>> || <> ]
31483148
31493149
Contributes a grid span to the grid item’s placement
31503150
such that the corresponding edge of the grid item’s grid area is N lines from its opposite edge

css-images-3/Overview.bs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -592,7 +592,7 @@ Radial Gradients: the ''radial-gradient()'' notation {#radial-gradients}
592592
the <> may be given explicitly as:
593593

594594
595-
<length>
595+
<length [0,∞]>
596596
597597
Gives the radius of the circle explicitly.
598598
Negative values are invalid.
@@ -610,7 +610,7 @@ Radial Gradients: the ''radial-gradient()'' notation {#radial-gradients}
610610
<> may instead be given explicitly as:
611611

612612
613-
<>{2}
613+
< [0,∞]>>{2}
614614
615615
Gives the size of the ellipse explicitly.
616616
The first value represents the horizontal radius,
@@ -626,9 +626,9 @@ Radial Gradients: the ''radial-gradient()'' notation {#radial-gradients}
626626

627627
628628
radial-gradient() = radial-gradient(
629-
[ [ circle || <> ] [ at <> ]? , |
630-
[ ellipse || <>{2} ] [ at <> ]? , |
631-
[ [ circle | ellipse ] || <> ] [ at <> ]? , |
629+
[ [ circle || < [0,∞]>> ] [ at <> ]? , |
630+
[ ellipse || < [0,∞]>>{2} ] [ at <> ]? , |
631+
[ [ circle | ellipse ] || <> ] [ at <> ]? , |
632632
at <> ,
633633
]?
634634
<> [ , <> ]+

css-images-4/Overview.bs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -537,7 +537,7 @@ Combining images: the ''cross-fade()'' notation {#cross-fade-function}
537537

538538
539539
cross-fade() = cross-fade( <># )
540-
<cf-image> = <>? && [ <> | <> ]
540+
<cf-image> = < [0,100]>>? && [ <> | <> ]
541541
542542

543543
The function represents an image generated by

css-inline-3/Overview.bs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1590,7 +1590,7 @@ Creating Initial Letters: the 'initial-letter' property
15901590

15911591
15921592
Name: initial-letter
1593-
Value: normal | <> <> | <> && [ drop | raise ]?
1593+
Value: normal | < [1,∞]>> < [1,∞]>> | < [1,∞]>> && [ drop | raise ]?
15941594
Initial: normal
15951595
Applies to: certain inline-level boxes and ::first-letter and inside ::marker boxes (see prose)
15961596
Inherited: no
@@ -1619,14 +1619,14 @@ Creating Initial Letters: the 'initial-letter' property
16191619
16201620
No special initial letter effect. Text behaves as normal.
16211621

1622-
<>
1622+
< [1,∞]>>
16231623
16241624
This first argument defines the size
16251625
of the initial letter
16261626
in terms of how many lines it occupies.
16271627
Values less than one are invalid.
16281628

1629-
<>
1629+
< [1,∞]>>
16301630
16311631
This optional second argument
16321632
defines the number of lines the initial letter should

css-overflow-3/Overview.bs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1460,7 +1460,7 @@ Forcing a Break After a Set Number of Lines: the 'max-lines' property
14601460

14611461
14621462
Name: max-lines
1463-
Value: ''none'' | <>
1463+
Value: ''none'' | < [1,∞]>>
14641464
Initial: ''none''
14651465
Applies to: block containers which are also [=fragmentation containers=] that capture [=region breaks=]
14661466
Inherited: no

css-rhythm-1/Overview.bs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ Specifying the Step Size: the 'block-step-size' property {#block-step-size}
176176

177177
178178
Name: block-step-size
179-
Value: none | <>
179+
Value: none | < [0,∞]>>
180180
Initial: none
181181
Applies to: block-level boxes
182182
Inherited: no
@@ -359,7 +359,7 @@ Adjusting Line Box Heights: the 'line-height-step' property {#line-height-step}
359359

360360
361361
Name: line-height-step
362-
Value: <>
362+
Value: < [0,∞]>>
363363
Initial: 0px
364364
Applies to: block containers
365365
Inherited: yes

css-scroll-snap-1/Overview.bs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -490,7 +490,7 @@ Scroll Snapport: the 'scroll-padding' property {#scroll-padding}
490490

491491
492492
Name: scroll-padding
493-
Value: [ auto | <> ]{1,4}
493+
Value: [ auto | < [0,∞]>> ]{1,4}
494494
Initial: auto
495495
Applies to: scroll containers
496496
Inherited: no
@@ -518,7 +518,7 @@ Scroll Snapport: the 'scroll-padding' property {#scroll-padding}
518518
Values have the following meanings:
519519

520520
521-
: <>
521+
: < [0,∞]>>
522522
::
523523
Defines an inward offset from the corresponding edge of the [=scrollport=].
524524
When applied to the root viewport,
@@ -1109,7 +1109,7 @@ Physical Longhands for 'scroll-padding' {#padding-longhands-physical}
11091109

11101110
11111111
Name: scroll-padding-top, scroll-padding-right, scroll-padding-bottom, scroll-padding-left
1112-
Value: auto | <>
1112+
Value: auto | < [0,∞]>>
11131113
Initial: auto
11141114
Applies to: scroll containers
11151115
Inherited: no
@@ -1128,7 +1128,7 @@ Flow-relative Longhands for 'scroll-padding' {#padding-longhands-logical}
11281128

11291129
11301130
Name: scroll-padding-inline-start, scroll-padding-block-start, scroll-padding-inline-end, scroll-padding-block-end
1131-
Value: auto | <>
1131+
Value: auto | < [0,∞]>>
11321132
Initial: auto
11331133
Applies to: scroll containers
11341134
Inherited: no
@@ -1144,7 +1144,7 @@ Flow-relative Longhands for 'scroll-padding' {#padding-longhands-logical}
11441144

11451145
11461146
Name: scroll-padding-block, scroll-padding-inline
1147-
Value: [ auto | <> ]{1,2}
1147+
Value: [ auto | < [0,∞]>> ]{1,2}
11481148
Initial: auto
11491149
Applies to: scroll containers
11501150
Inherited: no

css-scroll-snap-2/Overview.bs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ The 'scroll-start' property {#scroll-start}
130130

131131
132132
Name: scroll-start
133-
Value: [ auto | start | end | center | left | right | top | bottom | <> ]{1,2}
133+
Value: [ auto | start | end | center | left | right | top | bottom | < [0,∞]>> ]{1,2}
134134
135135

136136
This property is a shorthand property that sets all of the scroll-start-* longhands in one declaration.
@@ -144,7 +144,7 @@ The 'scroll-start' property {#scroll-start}
144144
145145
...
146146

147-
<>
147+
< [0,∞]>>
148148
149149
...
150150

@@ -307,7 +307,7 @@ Physical Longhands for 'scroll-start' {#scroll-start-longhands-physical}
307307

308308
309309
Name: scroll-start-x, scroll-start-y
310-
Value: auto | start | end | center | <>
310+
Value: auto | start | end | center | < [0,∞]>>
311311
Initial: auto
312312
Applies to: scroll containers
313313
Inherited: no
@@ -323,7 +323,7 @@ Flow-relative Longhands for 'scroll-start' {#scroll-start-longhands-logical}
323323

324324
325325
Name: scroll-start-inline, scroll-start-block
326-
Value: auto | start | end | center | <>
326+
Value: auto | start | end | center | < [0,∞]>>
327327
Initial: auto
328328
Applies to: scroll containers
329329
Inherited: no

0 commit comments

Comments
 (0)