@@ -12,59 +12,59 @@ var Properties = {
12
12
"alignment-adjust" : "auto | baseline | before-edge | text-before-edge | middle | central | after-edge | text-after-edge | ideographic | alphabetic | hanging | mathematical | <percentage> | <length>" ,
13
13
"alignment-baseline" : "auto | baseline | use-script | before-edge | text-before-edge | after-edge | text-after-edge | central | middle | ideographic | alphabetic | hanging | mathematical" ,
14
14
"animation" : 1 ,
15
- "animation-delay" : { multi : "<time>" , comma : true } ,
16
- "animation-direction" : { multi : " normal | alternate" , comma : true } ,
17
- "animation-duration" : { multi : "<time>" , comma : true } ,
18
- "animation-fill-mode" : { multi : " none | forwards | backwards | both" , comma : true } ,
19
- "animation-iteration-count" : { multi : " <number> | infinite" , comma : true } ,
20
- "animation-name" : { multi : " none | <single-animation-name>" , comma : true } ,
21
- "animation-play-state" : { multi : " running | paused" , comma : true } ,
15
+ "animation-delay" : "<time>#" ,
16
+ "animation-direction" : "[ normal | alternate ]#" ,
17
+ "animation-duration" : "<time>#" ,
18
+ "animation-fill-mode" : "[ none | forwards | backwards | both ]#" ,
19
+ "animation-iteration-count" : "[ <number> | infinite ]#" ,
20
+ "animation-name" : "[ none | <single-animation-name> ]#" ,
21
+ "animation-play-state" : "[ running | paused ]#" ,
22
22
"animation-timing-function" : 1 ,
23
23
24
24
//vendor prefixed
25
- "-moz-animation-delay" : { multi : "<time>" , comma : true } ,
26
- "-moz-animation-direction" : { multi : " normal | alternate" , comma : true } ,
27
- "-moz-animation-duration" : { multi : "<time>" , comma : true } ,
28
- "-moz-animation-iteration-count" : { multi : " <number> | infinite" , comma : true } ,
29
- "-moz-animation-name" : { multi : " none | <single-animation-name>" , comma : true } ,
30
- "-moz-animation-play-state" : { multi : " running | paused" , comma : true } ,
25
+ "-moz-animation-delay" : "<time>#" ,
26
+ "-moz-animation-direction" : "[ normal | alternate ]#" ,
27
+ "-moz-animation-duration" : "<time>#" ,
28
+ "-moz-animation-iteration-count" : "[ <number> | infinite ]#" ,
29
+ "-moz-animation-name" : "[ none | <single-animation-name> ]#" ,
30
+ "-moz-animation-play-state" : "[ running | paused ]#" ,
31
31
32
- "-ms-animation-delay" : { multi : "<time>" , comma : true } ,
33
- "-ms-animation-direction" : { multi : " normal | alternate" , comma : true } ,
34
- "-ms-animation-duration" : { multi : "<time>" , comma : true } ,
35
- "-ms-animation-iteration-count" : { multi : " <number> | infinite" , comma : true } ,
36
- "-ms-animation-name" : { multi : " none | <single-animation-name>" , comma : true } ,
37
- "-ms-animation-play-state" : { multi : " running | paused" , comma : true } ,
32
+ "-ms-animation-delay" : "<time>#" ,
33
+ "-ms-animation-direction" : "[ normal | alternate ]#" ,
34
+ "-ms-animation-duration" : "<time>#" ,
35
+ "-ms-animation-iteration-count" : "[ <number> | infinite ]#" ,
36
+ "-ms-animation-name" : "[ none | <single-animation-name> ]#" ,
37
+ "-ms-animation-play-state" : "[ running | paused ]#" ,
38
38
39
- "-webkit-animation-delay" : { multi : "<time>" , comma : true } ,
40
- "-webkit-animation-direction" : { multi : " normal | alternate" , comma : true } ,
41
- "-webkit-animation-duration" : { multi : "<time>" , comma : true } ,
42
- "-webkit-animation-fill-mode" : { multi : " none | forwards | backwards | both" , comma : true } ,
43
- "-webkit-animation-iteration-count" : { multi : " <number> | infinite" , comma : true } ,
44
- "-webkit-animation-name" : { multi : " none | <single-animation-name>" , comma : true } ,
45
- "-webkit-animation-play-state" : { multi : " running | paused" , comma : true } ,
39
+ "-webkit-animation-delay" : "<time>#" ,
40
+ "-webkit-animation-direction" : "[ normal | alternate ]#" ,
41
+ "-webkit-animation-duration" : "<time>#" ,
42
+ "-webkit-animation-fill-mode" : "[ none | forwards | backwards | both ]#" ,
43
+ "-webkit-animation-iteration-count" : "[ <number> | infinite ]#" ,
44
+ "-webkit-animation-name" : "[ none | <single-animation-name> ]#" ,
45
+ "-webkit-animation-play-state" : "[ running | paused ]#" ,
46
46
47
- "-o-animation-delay" : { multi : "<time>" , comma : true } ,
48
- "-o-animation-direction" : { multi : " normal | alternate" , comma : true } ,
49
- "-o-animation-duration" : { multi : "<time>" , comma : true } ,
50
- "-o-animation-iteration-count" : { multi : " <number> | infinite" , comma : true } ,
51
- "-o-animation-name" : { multi : " none | <single-animation-name>" , comma : true } ,
52
- "-o-animation-play-state" : { multi : " running | paused" , comma : true } ,
47
+ "-o-animation-delay" : "<time>#" ,
48
+ "-o-animation-direction" : "[ normal | alternate ]#" ,
49
+ "-o-animation-duration" : "<time>#" ,
50
+ "-o-animation-iteration-count" : "[ <number> | infinite ]#" ,
51
+ "-o-animation-name" : "[ none | <single-animation-name> ]#" ,
52
+ "-o-animation-play-state" : "[ running | paused ]#" ,
53
53
54
54
"appearance" : "icon | window | desktop | workspace | document | tooltip | dialog | button | push-button | hyperlink | radio | radio-button | checkbox | menu-item | tab | menu | menubar | pull-down-menu | pop-up-menu | list-menu | radio-group | checkbox-group | outline-tree | range | field | combo-box | signature | password | normal | none" ,
55
55
"azimuth" : "<azimuth>" ,
56
56
57
57
//B
58
58
"backface-visibility" : "visible | hidden" ,
59
59
"background" : 1 ,
60
- "background-attachment" : { multi : "<attachment>" , comma : true } ,
61
- "background-clip" : { multi : "<box>" , comma : true } ,
60
+ "background-attachment" : "<attachment>#" ,
61
+ "background-clip" : "<box>#" ,
62
62
"background-color" : "<color>" ,
63
- "background-image" : { multi : "<bg-image>" , comma : true } ,
64
- "background-origin" : { multi : "<box>" , comma : true } ,
63
+ "background-image" : "<bg-image>#" ,
64
+ "background-origin" : "<box>#" ,
65
65
"background-position" : "<bg-position>" ,
66
- "background-repeat" : { multi : "<repeat-style>" , comma : true } ,
67
- "background-size" : { multi : "<bg-size>" , comma : true } ,
66
+ "background-repeat" : "<repeat-style>#" ,
67
+ "background-size" : "<bg-size>#" ,
68
68
"baseline-shift" : "baseline | sub | super | <percentage> | <length>" ,
69
69
"behavior" : 1 ,
70
70
"binding" : 1 ,
@@ -81,13 +81,13 @@ var Properties = {
81
81
"border-bottom-style" : "<border-style>" ,
82
82
"border-bottom-width" : "<border-width>" ,
83
83
"border-collapse" : "collapse | separate" ,
84
- "border-color" : { multi : "<color>" , max : 4 } ,
84
+ "border-color" : "<color>{1,4}" ,
85
85
"border-image" : 1 ,
86
- "border-image-outset" : { multi : " <length> | <number>" , max : 4 } ,
87
- "border-image-repeat" : { multi : " stretch | repeat | round" , max : 2 } ,
86
+ "border-image-outset" : "[ <length> | <number> ]{1,4}" ,
87
+ "border-image-repeat" : "[ stretch | repeat | round ]{1,2}" ,
88
88
"border-image-slice" : "<border-image-slice>" ,
89
89
"border-image-source" : "<image> | none" ,
90
- "border-image-width" : { multi : " <length> | <percentage> | <number> | auto" , max : 4 } ,
90
+ "border-image-width" : "[ <length> | <percentage> | <number> | auto ]{1,4}" ,
91
91
"border-left" : "<border-width> || <border-style> || <color>" ,
92
92
"border-left-color" : "<color>" ,
93
93
"border-left-style" : "<border-style>" ,
@@ -97,15 +97,15 @@ var Properties = {
97
97
"border-right-color" : "<color>" ,
98
98
"border-right-style" : "<border-style>" ,
99
99
"border-right-width" : "<border-width>" ,
100
- "border-spacing" : { multi : "<length>" , max : 2 } ,
101
- "border-style" : { multi : "<border-style>" , max : 4 } ,
100
+ "border-spacing" : "<length>{1,2}" ,
101
+ "border-style" : "<border-style>{1,4}" ,
102
102
"border-top" : "<border-width> || <border-style> || <color>" ,
103
103
"border-top-color" : "<color>" ,
104
104
"border-top-left-radius" : "<x-one-radius>" ,
105
105
"border-top-right-radius" : "<x-one-radius>" ,
106
106
"border-top-style" : "<border-style>" ,
107
107
"border-top-width" : "<border-width>" ,
108
- "border-width" : { multi : "<border-width>" , max : 4 } ,
108
+ "border-width" : "<border-width>{1,4}" ,
109
109
"bottom" : "<margin-width>" ,
110
110
"-moz-box-align" : "start | end | center | baseline | stretch" ,
111
111
"-moz-box-decoration-break" : "slice |clone" ,
@@ -290,7 +290,7 @@ var Properties = {
290
290
"list-style-type" : "disc | circle | square | decimal | decimal-leading-zero | lower-roman | upper-roman | lower-greek | lower-latin | upper-latin | armenian | georgian | lower-alpha | upper-alpha | none" ,
291
291
292
292
//M
293
- "margin" : { multi : "<margin-width>" , max : 4 } ,
293
+ "margin" : "<margin-width>{1,4}" ,
294
294
"margin-bottom" : "<margin-width>" ,
295
295
"margin-left" : "<margin-width>" ,
296
296
"margin-right" : "<margin-width>" ,
@@ -335,7 +335,7 @@ var Properties = {
335
335
"overflow-y" : 1 ,
336
336
337
337
//P
338
- "padding" : { multi : "<padding-width>" , max : 4 } ,
338
+ "padding" : "<padding-width>{1,4}" ,
339
339
"padding-bottom" : "<padding-width>" ,
340
340
"padding-left" : "<padding-width>" ,
341
341
"padding-right" : "<padding-width>" ,
0 commit comments