mirror of
https://github.com/hail2u/vim-css3-syntax.git
synced 2025-12-06 10:44:23 +08:00
Update values-5.vim
https://www.w3.org/TR/2024/WD-css-values-5-20241111/
This commit is contained in:
@@ -1,3 +1,3 @@
|
||||
syn keyword cssFontProp contained interpolate-size
|
||||
syn keyword cssFontAttr contained numeric-only allow-keyword
|
||||
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
|
||||
syn region cssFunction contained matchgroup=cssFunctionName start="\<\(\(\(media\|container\)-\)\=progress\|\(\(calc\|transform\)-\)\=mix\|cross-fade\|first-valid\|toggle\|if\|inherit\|random\(-item\)\=\|sibling-\(count\|index\)\|calc-size\)\s*(" end=")" oneline keepend
|
||||
|
||||
@@ -1383,6 +1383,8 @@ view {
|
||||
display: cross-fade(15%, url(foo.png), white);
|
||||
display: toggle(italic, normal);
|
||||
display: first-valid(center, none, 1px);
|
||||
display: if(media(screen): red; else: auto);
|
||||
display: inherit(--foo, auto);
|
||||
display: random(1, 10, by 1);
|
||||
display: random-item(--x, red, yellow, green);
|
||||
display: sibling-count();
|
||||
|
||||
Reference in New Issue
Block a user