File tree Expand file tree Collapse file tree 2 files changed +12
-1
lines changed
Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Original file line number Diff line number Diff line change 1- syn region cssFunction contained matchgroup =cssFunctionName start =" \<\(\(\( media\| container\) -\)\= progress\|\(\( calc\| transform\) -\)\= mix\| cross-fade\| toggle\)\s *(" end =" )" oneline keepend
1+ syn keyword cssFontProp contained interpolate- size
2+ syn keyword cssFontAttr contained numeric- only allow- keyword
3+ syn region cssFunction contained matchgroup =cssFunctionName start =" \<\(\(\( media\| container\) -\)\= progress\|\(\( calc\| transform\) -\)\= mix\| cross-fade\| first-valid\| toggle\| random\( -item\)\=\| sibling-\( count\| index\)\| calc-size\)\s *(" end =" )" oneline keepend
Original file line number Diff line number Diff line change @@ -1354,6 +1354,9 @@ view {
13541354}
13551355
13561356.values-5 {
1357+ interpolate-size : auto;
1358+ display : numeric-only;
1359+ display : allow-keyword;
13571360 display : progress (1 , 0 , 100 );
13581361 display : media-progress (width, 0 , 100 );
13591362 display : container-progress (width, 0 , 100 );
@@ -1363,6 +1366,12 @@ view {
13631366 display : mix (90% , red, blue);
13641367 display : cross-fade (15% , url (foo.png), white);
13651368 display : toggle (italic, normal);
1369+ display : first-valid (center, none, 1px );
1370+ display : random (1 , 10 , by 1 );
1371+ display : random-item (--x , red, yellow, green);
1372+ display : sibling-count ();
1373+ display : sibling-index ();
1374+ display : calc-size (any, 0px );
13661375}
13671376
13681377.variables-1 {
You can’t perform that action at this time.
0 commit comments