@@ -12,59 +12,59 @@ var Properties = {
1212 "alignment-adjust" : "auto | baseline | before-edge | text-before-edge | middle | central | after-edge | text-after-edge | ideographic | alphabetic | hanging | mathematical | <percentage> | <length>" ,
1313 "alignment-baseline" : "auto | baseline | use-script | before-edge | text-before-edge | after-edge | text-after-edge | central | middle | ideographic | alphabetic | hanging | mathematical" ,
1414 "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 ]#" ,
2222 "animation-timing-function" : 1 ,
2323
2424 //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 ]#" ,
3131
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 ]#" ,
3838
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 ]#" ,
4646
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 ]#" ,
5353
5454 "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" ,
5555 "azimuth" : "<azimuth>" ,
5656
5757 //B
5858 "backface-visibility" : "visible | hidden" ,
5959 "background" : 1 ,
60- "background-attachment" : { multi : "<attachment>" , comma : true } ,
61- "background-clip" : { multi : "<box>" , comma : true } ,
60+ "background-attachment" : "<attachment>#" ,
61+ "background-clip" : "<box>#" ,
6262 "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>#" ,
6565 "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>#" ,
6868 "baseline-shift" : "baseline | sub | super | <percentage> | <length>" ,
6969 "behavior" : 1 ,
7070 "binding" : 1 ,
@@ -81,13 +81,13 @@ var Properties = {
8181 "border-bottom-style" : "<border-style>" ,
8282 "border-bottom-width" : "<border-width>" ,
8383 "border-collapse" : "collapse | separate" ,
84- "border-color" : { multi : "<color>" , max : 4 } ,
84+ "border-color" : "<color>{1,4}" ,
8585 "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}" ,
8888 "border-image-slice" : "<border-image-slice>" ,
8989 "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}" ,
9191 "border-left" : "<border-width> || <border-style> || <color>" ,
9292 "border-left-color" : "<color>" ,
9393 "border-left-style" : "<border-style>" ,
@@ -97,15 +97,15 @@ var Properties = {
9797 "border-right-color" : "<color>" ,
9898 "border-right-style" : "<border-style>" ,
9999 "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}" ,
102102 "border-top" : "<border-width> || <border-style> || <color>" ,
103103 "border-top-color" : "<color>" ,
104104 "border-top-left-radius" : "<x-one-radius>" ,
105105 "border-top-right-radius" : "<x-one-radius>" ,
106106 "border-top-style" : "<border-style>" ,
107107 "border-top-width" : "<border-width>" ,
108- "border-width" : { multi : "<border-width>" , max : 4 } ,
108+ "border-width" : "<border-width>{1,4}" ,
109109 "bottom" : "<margin-width>" ,
110110 "-moz-box-align" : "start | end | center | baseline | stretch" ,
111111 "-moz-box-decoration-break" : "slice |clone" ,
@@ -290,7 +290,7 @@ var Properties = {
290290 "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" ,
291291
292292 //M
293- "margin" : { multi : "<margin-width>" , max : 4 } ,
293+ "margin" : "<margin-width>{1,4}" ,
294294 "margin-bottom" : "<margin-width>" ,
295295 "margin-left" : "<margin-width>" ,
296296 "margin-right" : "<margin-width>" ,
@@ -335,7 +335,7 @@ var Properties = {
335335 "overflow-y" : 1 ,
336336
337337 //P
338- "padding" : { multi : "<padding-width>" , max : 4 } ,
338+ "padding" : "<padding-width>{1,4}" ,
339339 "padding-bottom" : "<padding-width>" ,
340340 "padding-left" : "<padding-width>" ,
341341 "padding-right" : "<padding-width>" ,
0 commit comments