mirror of
https://github.com/hail2u/vim-css3-syntax.git
synced 2025-12-09 03:54:46 +08:00
Compare commits
106 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c975bde063 | ||
|
|
69b55bf234 | ||
|
|
241f57e057 | ||
|
|
14f6b95d25 | ||
|
|
f483738520 | ||
|
|
6253d1b746 | ||
|
|
75322b91a1 | ||
|
|
496f27aaf3 | ||
|
|
dcd7e3dca8 | ||
|
|
8aee9a339d | ||
|
|
c1f03abe28 | ||
|
|
81364390d3 | ||
|
|
70cb73d4d8 | ||
|
|
cf953ffa27 | ||
|
|
1e61ba9b5d | ||
|
|
e4f8096b95 | ||
|
|
ba724e7725 | ||
|
|
037c11a418 | ||
|
|
6c4e888d30 | ||
|
|
ac5da79ba0 | ||
|
|
9f8026cdc7 | ||
|
|
0c7d58818c | ||
|
|
7eaca88c16 | ||
|
|
cfaa56b81b | ||
|
|
d467649124 | ||
|
|
c67661a5df | ||
|
|
566c51cc9e | ||
|
|
d733704733 | ||
|
|
c9c7ec3896 | ||
|
|
bdfc1fde87 | ||
|
|
29ade81400 | ||
|
|
c5ea01f581 | ||
|
|
a383e34b23 | ||
|
|
a0d55ac3aa | ||
|
|
dc7b427e5b | ||
|
|
22c5e8078d | ||
|
|
84c88ac746 | ||
|
|
af915e056e | ||
|
|
547e1de69f | ||
|
|
39e6999142 | ||
|
|
d4fb6dfd46 | ||
|
|
bb0b14c8ad | ||
|
|
d578651937 | ||
|
|
d9f7b79780 | ||
|
|
26f59493b9 | ||
|
|
1d8006de19 | ||
|
|
0caf93fcd5 | ||
|
|
ddf0eb895b | ||
|
|
c988c907b1 | ||
|
|
bb5e83b87e | ||
|
|
1c12bd23d3 | ||
|
|
affd38a44b | ||
|
|
f1717bf967 | ||
|
|
3c2368b4ca | ||
|
|
d7f0f43dfc | ||
|
|
148d27c9d4 | ||
|
|
1f314d95de | ||
|
|
ef5b1c791a | ||
|
|
119c13f32a | ||
|
|
91840fcbcf | ||
|
|
c6aba8159f | ||
|
|
85a16304be | ||
|
|
61cc3366f8 | ||
|
|
4337a246ac | ||
|
|
0b516ea879 | ||
|
|
03c1c9001d | ||
|
|
feea4b6c25 | ||
|
|
53eef9c64c | ||
|
|
ef50fcbe7e | ||
|
|
be717f2c70 | ||
|
|
47b3ce2e5a | ||
|
|
cf22db698e | ||
|
|
6ed54d346b | ||
|
|
b2d66799b7 | ||
|
|
da0119205e | ||
|
|
4e71c04913 | ||
|
|
8c6b5eaf1f | ||
|
|
afcbfc85a8 | ||
|
|
3e40dde46c | ||
|
|
087d9db240 | ||
|
|
36900064ff | ||
|
|
98cfdbf087 | ||
|
|
de5a0e2dc2 | ||
|
|
af01de4490 | ||
|
|
f18eabedc0 | ||
|
|
51c5ee1f88 | ||
|
|
77e3358574 | ||
|
|
0aa17c3079 | ||
|
|
928b94ea6c | ||
|
|
123abe00c6 | ||
|
|
33d7eb1218 | ||
|
|
d7d7f60fe8 | ||
|
|
e09eb1d37a | ||
|
|
4e6ef67e51 | ||
|
|
d8681a0d5e | ||
|
|
0ce5d19c35 | ||
|
|
db86f3acd0 | ||
|
|
56e9026121 | ||
|
|
a1345ce338 | ||
|
|
fca7100977 | ||
|
|
4832514608 | ||
|
|
7caa7719df | ||
|
|
31e5506234 | ||
|
|
f2760f867c | ||
|
|
4285ca74a3 | ||
|
|
0862797623 |
@@ -89,7 +89,7 @@ Kyo Nagashima <hail2u@gmail.com> (https://kyonagashima.com/)
|
|||||||
LICENSE
|
LICENSE
|
||||||
-------
|
-------
|
||||||
|
|
||||||
MIT: http://hail2u.mit-license.org/2011
|
MIT License
|
||||||
|
|
||||||
|
|
||||||
[1]: http://www.vim.org/
|
[1]: http://www.vim.org/
|
||||||
|
|||||||
0
after/syntax/css/animation-worklet-1.vim
Normal file
0
after/syntax/css/animation-worklet-1.vim
Normal file
@@ -1,4 +1,9 @@
|
|||||||
syn match cssBoxProp contained "\<overflow-\(style\|x\|y\)\>"
|
syn match cssBoxProp contained "\<margin-trim\>"
|
||||||
syn match cssBoxProp contained "\<rotation\(-point\)\=\>"
|
syn match cssBoxAttr contained "\<in-flow\>"
|
||||||
syn keyword cssBoxAttr contained scrollbar panner marquee
|
" These will be moved to block-3
|
||||||
syn match cssBoxAttr contained "\<ruby\(-\(base\(-group\)\=\|text\(-group\)\=\)\)\=\>"
|
syn match cssBoxProp contained "\<clear-after\>"
|
||||||
|
syn match cssBoxProp contained "\<float-displace\>"
|
||||||
|
syn match cssBoxProp contained "\<indent-edge-reset\>"
|
||||||
|
syn keyword cssBoxAttr contained scrollbar panner marquee decendants
|
||||||
|
syn match cssBoxAttr contained "\<block-within-page\>"
|
||||||
|
syn match cssBoxAttr contained "\<\(margin\|border\|padding\|content\)-edge\>"
|
||||||
|
|||||||
@@ -0,0 +1 @@
|
|||||||
|
syn keyword cssFontAttr contained recto verso
|
||||||
|
|||||||
2
after/syntax/css/break-4.vim
Normal file
2
after/syntax/css/break-4.vim
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
syn match cssBoxProp contained "\<margin-break\>"
|
||||||
|
syn keyword cssFontAttr contained keep
|
||||||
@@ -1,2 +0,0 @@
|
|||||||
syn keyword cssFontProp all
|
|
||||||
syn keyword cssCommonAttr contained initial unset
|
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
syn match cssColorProp contained "\<color-adjust\>"
|
syn keyword cssFontAttr contained perceptual
|
||||||
syn region cssFunction contained matchgroup=cssFunctionName start="\<\(hwb\|lab\|lch\|gray\|color\|device-cmyk\|color-mod\=\)\s*(" end=")" oneline keepend
|
syn match cssFontAttr contained "\<\(relative\|absolute\)-colorimetric\>"
|
||||||
|
syn region cssFunction contained matchgroup=cssFunctionName start="\<\(hwb\|lab\|lch\|gray\|color\|device-cmyk\=\)\s*(" end=")" oneline keepend
|
||||||
syn match cssFontDescriptor "@color-profile\>" nextgroup=cssFontDescriptorBlock skipwhite skipnl
|
syn match cssFontDescriptor "@color-profile\>" nextgroup=cssFontDescriptorBlock skipwhite skipnl
|
||||||
|
|||||||
3
after/syntax/css/color-adjust.vim
Normal file
3
after/syntax/css/color-adjust.vim
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
syn match cssColorProp contained "\<\(forced-\)\=color-adjust\>"
|
||||||
|
syn match cssColorProp contained "\<color-scheme\>"
|
||||||
|
syn keyword cssFontAttr contained only economy exact
|
||||||
0
after/syntax/css/contain-2.vim
Normal file
0
after/syntax/css/contain-2.vim
Normal file
@@ -1,2 +1,2 @@
|
|||||||
syn keyword cssFontAttr contained contents discard
|
syn keyword cssFontAttr contained contents discard
|
||||||
syn match cssFontAttr contained "\<flow\(-root\)\=\>"
|
syn match cssBoxAttr contained "\<ruby\(-\(base\(-group\)\=\|text\(-group\)\=\)\)\=\>"
|
||||||
|
|||||||
0
after/syntax/css/easing-1.vim
Normal file
0
after/syntax/css/easing-1.vim
Normal file
@@ -1,12 +1,10 @@
|
|||||||
syn keyword cssFontAttr contained unicase ordinal jis78 jis83 jis90 jis04 simplified traditional
|
syn keyword cssFontAttr contained unicase jis78 jis83 jis90 jis04 simplified traditional ordinal
|
||||||
syn match cssFontAttr contained "\<\(no-\)\=\(common\|discretionary\|historical\)-ligatures\>"
|
syn match cssFontAttr contained "\<\(no-\)\=\(common\|discretionary\|historical\)-ligatures\>"
|
||||||
syn match cssFontAttr contained "\<\(no-\)\=contextual\>"
|
syn match cssFontAttr contained "\<\(no-\)\=contextual\>"
|
||||||
syn match cssFontAttr contained "\<historical-forms\>"
|
|
||||||
syn match cssFontAttr contained "\<all-small-caps\>"
|
syn match cssFontAttr contained "\<all-small-caps\>"
|
||||||
syn match cssFontAttr contained "\<\(all-\)\=petite-caps\>"
|
syn match cssFontAttr contained "\<\(all-\)\=petite-caps\>"
|
||||||
syn match cssFontAttr contained "\<titling-caps\>"
|
syn match cssFontAttr contained "\<titling-caps\>"
|
||||||
syn match cssFontAttr contained "\<\(lining\|oldstyle\|proportional\|tabular\)-nums\>"
|
syn match cssFontAttr contained "\<\(lining\|oldstyle\|proportional\|tabular\)-nums\>"
|
||||||
syn match cssFontAttr contained "\<\(diagonal\|stacked\)-fractions\>"
|
syn match cssFontAttr contained "\<\(diagonal\|stacked\)-fractions\>"
|
||||||
syn match cssFontAttr contained "\<slashed-zero\>"
|
|
||||||
syn match cssFontAttr contained "\<proportional-width\>"
|
syn match cssFontAttr contained "\<proportional-width\>"
|
||||||
syn region cssFunction contained matchgroup=cssFunctionName start="\<\(stylistic\|styleset\|character-variant\|swash\|ornaments\|annotation\)\s*(" end=")" oneline keepend
|
syn match cssFontAttr contained "\<slashed-zero\>"
|
||||||
|
|||||||
@@ -1,11 +1,16 @@
|
|||||||
syn match cssFontProp contained "\<font-\(min\|max\)-size\>"
|
|
||||||
syn match cssFontProp contained "\<font-display\>"
|
syn match cssFontProp contained "\<font-display\>"
|
||||||
syn match cssFontProp contained "\<font-optical-sizing\>"
|
syn match cssFontProp contained "\<font-optical-sizing\>"
|
||||||
syn match cssFontProp contained "\<font-variation-settings\>"
|
syn match cssFontProp contained "\<font-variation-settings\>"
|
||||||
syn match cssFontProp contained "\<font-palette\>"
|
syn match cssFontProp contained "\<font-palette\>"
|
||||||
syn match cssFontProp contained "\<font-presentation\>"
|
syn match cssFontProp contained "\<font-presentation\>"
|
||||||
syn match cssFontProp contained "\<base-palette\>"
|
syn match cssFontProp contained "\<base-palette\>"
|
||||||
|
syn match cssFontProp contained "\<override-color\>"
|
||||||
syn match cssFontProp contained "\<font-variant-emoji\>"
|
syn match cssFontProp contained "\<font-variant-emoji\>"
|
||||||
syn keyword cssFontAttr contained emoji math fangsong infinity swap fallback optional light dark
|
syn keyword cssFontAttr contained emoji math fangsong infinity swap fallback optional light dark
|
||||||
syn match cssFontAttr contained "\<system-ui\>"
|
syn match cssFontAttr contained "\<system-ui\>"
|
||||||
|
syn match cssFontAttr contained "\<ui-\(\(sans-\)\=serif\|monospace\|rounded\)\>"
|
||||||
|
syn match cssFontAttr contained "\<historical-forms\>"
|
||||||
|
syn match cssFontAttr contained "\<xxx-large\>"
|
||||||
|
syn region cssFunction contained matchgroup=cssFunctionName start="\<\(stylistic\|styleset\|character-variant\|swash\|ornaments\|annotation\)\s*(" end=")" oneline keepend
|
||||||
|
" syn match cssFontDescriptor "@font-feature-values\>" nextgroup=cssFontDescriptorBlock skipwhite skipnl
|
||||||
syn match cssFontDescriptor "@font-palette-values\>" nextgroup=cssFontDescriptorBlock skipwhite skipnl
|
syn match cssFontDescriptor "@font-palette-values\>" nextgroup=cssFontDescriptorBlock skipwhite skipnl
|
||||||
|
|||||||
@@ -1,5 +1,3 @@
|
|||||||
syn match cssFontProp contained "\<grid-template\>"
|
|
||||||
syn keyword cssFontAttr contained dense span
|
syn keyword cssFontAttr contained dense span
|
||||||
syn match cssFontAttr contained "\<auto-flow\>"
|
syn match cssFontAttr contained "\<auto-flow\>"
|
||||||
syn match cssValueNumber contained "[01]\(.\d\+\)\=fr"
|
|
||||||
syn region cssFunction contained matchgroup=cssFunctionName start="\<\(minmax\|repeat\)\s*(" end=")" oneline keepend
|
syn region cssFunction contained matchgroup=cssFunctionName start="\<\(minmax\|repeat\)\s*(" end=")" oneline keepend
|
||||||
|
|||||||
@@ -1 +0,0 @@
|
|||||||
syn match cssValueNumber contained "\d\(.\d\+\)\=ar"
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
syn match cssFontProp contained "\<object-\(fit\|position\)\>"
|
syn match cssFontProp contained "\<object-\(fit\|position\)\>"
|
||||||
syn match cssFontProp contained "\<image-orientation\>"
|
syn match cssFontProp contained "\<image-orientation\>"
|
||||||
syn keyword cssFontAttr contained snap
|
syn keyword cssFontAttr contained snap flip
|
||||||
syn match cssFontAttr contained "\<scale-down\>"
|
syn match cssFontAttr contained "\<scale-down\>"
|
||||||
syn match cssFontAttr contained "\<from-image\>"
|
syn match cssFontAttr contained "\<from-image\>"
|
||||||
syn region cssFunction contained matchgroup=cssFunctionName start="\<\(repeating-\(linear\|radial\)-gradient\)\s*(" end=")" oneline keepend
|
syn region cssFunction contained matchgroup=cssFunctionName start="\<\(repeating-\(linear\|radial\)-gradient\)\s*(" end=")" oneline keepend
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
syn match cssFontProp contained "\<\(dominant\|alignment\)-baseline\>"
|
syn match cssFontProp contained "\<\(dominant\|alignment\)-baseline\>"
|
||||||
syn match cssFontProp contained "\<baseline-shift\>"
|
syn match cssFontProp contained "\<baseline-shift\>"
|
||||||
syn match cssFontProp contained "\<initial-letter\(-\(align\|wrap\)\)\="
|
syn match cssFontProp contained "\<inline-sizing\>"
|
||||||
|
syn match cssFontProp contained "\<initial-letters\(-\(align\|wrap\)\)\="
|
||||||
syn keyword cssFontAttr contained mathematical ideographic
|
syn keyword cssFontAttr contained mathematical ideographic
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
|
" WD-css-lists-3-20190817
|
||||||
syn match cssGeneratedContentProp contained "\<marker-side\>"
|
syn match cssGeneratedContentProp contained "\<marker-side\>"
|
||||||
syn match cssGeneratedContentProp contained "\<counter-set\>"
|
syn match cssGeneratedContentProp contained "\<counter-set\>"
|
||||||
syn keyword cssGeneratedContentAttr contained marker
|
syn keyword cssGeneratedContentAttr contained marker
|
||||||
|
syn match cssGeneratedContentAttr contained "\<match-self\>"
|
||||||
syn match cssGeneratedContentAttr contained "\<list-container\>"
|
syn match cssGeneratedContentAttr contained "\<list-container\>"
|
||||||
syn keyword cssPseudoClassId contained marker
|
|
||||||
syn region cssFunction contained matchgroup=cssFunctionName start="\<counters\s*(" end=")" oneline keepend
|
syn region cssFunction contained matchgroup=cssFunctionName start="\<counters\s*(" end=")" oneline keepend
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
syn match cssFontProp contained "\<\(\(min\|max\)-\)\=\(block\|inline\)-size\>"
|
syn match cssFontProp contained "\<\(\(min\|max\)-\)\=\(block\|inline\)-size\>"
|
||||||
syn match cssFontProp contained "\<\(margin\|inset\|padding\)\(-\(block\|inline\)\(-\(start\|end\)\)\=\)\=\>"
|
syn match cssFontProp contained "\<\(margin\|inset\|padding\)\(-\(block\|inline\)\(-\(start\|end\)\)\=\)\=\>"
|
||||||
syn match cssFontProp contained "\<border-\(block\|inline\)\(\(-\(start\|end\)\)\=\(-\(width\|style\|color\)\)\=\)\=\>"
|
syn match cssFontProp contained "\<border-\(block\|inline\)\(\(-\(start\|end\)\)\=\(-\(width\|style\|color\)\)\=\)\=\>"
|
||||||
syn match cssFontProp contained "\<\(background\|border\)-image-transform\>"
|
syn match cssFontProp contained "\<border-\(start\|end\)-\(start\|end\)-radius\>"
|
||||||
syn keyword cssFontAttr contained logical physical rotate
|
syn keyword cssFontAttr contained logical physical rotate
|
||||||
|
|||||||
@@ -1,2 +1,2 @@
|
|||||||
syn match cssFontProp contained "\<offset\(-\(path\|distance\|anchor\|rotate\)\)\=\>"
|
syn match cssFontProp contained "\<offset\(-\(path\|distance\|position\|anchor\|rotate\)\)\=\>"
|
||||||
syn region cssFunction contained matchgroup=cssFunctionName start="\<\(ray\|path\)\s*(" end=")" oneline keepend
|
syn region cssFunction contained matchgroup=cssFunctionName start="\<\(ray\|path\)\s*(" end=")" oneline keepend
|
||||||
|
|||||||
2
after/syntax/css/nav-1.vim
Normal file
2
after/syntax/css/nav-1.vim
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
syn match cssFontProp contained "\<spatial-navigation-\(action\|contain\|function\)\>"
|
||||||
|
syn keyword cssFontAttr contained focus
|
||||||
@@ -1 +1,5 @@
|
|||||||
|
syn keyword cssFontProp contained continue
|
||||||
|
syn match cssFontProp contained "\<block-overflow\>"
|
||||||
|
syn match cssFontProp contained "\<line-clamp\>"
|
||||||
syn match cssFontProp contained "\<max-lines\>"
|
syn match cssFontProp contained "\<max-lines\>"
|
||||||
|
syn match cssFontProp contained "\<overflow-\(block\|inline\)\>"
|
||||||
|
|||||||
@@ -1,4 +1,3 @@
|
|||||||
syn keyword cssFontProp contained continue
|
|
||||||
syn match cssFontProp contained "\<scrollbar-gutter\>"
|
syn match cssFontProp contained "\<scrollbar-gutter\>"
|
||||||
syn keyword cssFontAttr contained stable force overflow paginate fragments
|
syn keyword cssFontAttr contained stable force overflow paginate fragments
|
||||||
syn region cssPseudoClassLang matchgroup=cssPseudoClassId start=":\(nth-fragment\)(" end=")" oneline
|
syn region cssPseudoClassLang matchgroup=cssPseudoClassId start=":\(nth-fragment\)(" end=")" oneline
|
||||||
|
|||||||
1
after/syntax/css/overscroll-1.vim
Normal file
1
after/syntax/css/overscroll-1.vim
Normal file
@@ -0,0 +1 @@
|
|||||||
|
syn match cssFontProp contained "\<overscroll-behavior\(-\(block\|inline\|x\|y\)\)\=\>"
|
||||||
@@ -1 +1 @@
|
|||||||
syn keyword cssFontAttr contained recto verso
|
syn keyword cssFontProp contained marks bleed
|
||||||
|
|||||||
@@ -0,0 +1,2 @@
|
|||||||
|
syn keyword cssFontProp contained syntax inherits
|
||||||
|
syn match cssFontProp contained "\<initial-value\>"
|
||||||
|
|||||||
0
after/syntax/css/resize-observer-1.vim
Normal file
0
after/syntax/css/resize-observer-1.vim
Normal file
1
after/syntax/css/scroll-anchoring-1.vim
Normal file
1
after/syntax/css/scroll-anchoring-1.vim
Normal file
@@ -0,0 +1 @@
|
|||||||
|
syn match cssFontProp contained "\<overflow-anchor\>"
|
||||||
@@ -7,4 +7,4 @@ syn match cssPseudoClassId contained "\<\(in\|out-of\)-range\>"
|
|||||||
syn match cssPseudoClassId contained "\<user-invalid\>"
|
syn match cssPseudoClassId contained "\<user-invalid\>"
|
||||||
syn match cssPseudoClassId contained "\<target-within\>"
|
syn match cssPseudoClassId contained "\<target-within\>"
|
||||||
syn match cssPseudoClassId contained "\<focus-\(within\|visible\)\>"
|
syn match cssPseudoClassId contained "\<focus-\(within\|visible\)\>"
|
||||||
syn region cssPseudoClassLang matchgroup=cssPseudoClassId start=":\(matches\|dir\|local-link\|current\|nth\(-last\)\=-col\|has\|drop\)(" end=")" oneline
|
syn region cssPseudoClassLang matchgroup=cssPseudoClassId start=":\(is\|dir\|local-link\|current\|nth\(-last\)\=-col\|has\|where\)(" end=")" oneline
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
syn region cssPseudoClassLang matchgroup=cssPseudoClassId start="::attr(" end=")" oneline
|
syn region cssPseudoClassLang matchgroup=cssPseudoClassId start=":part(" end=")" oneline
|
||||||
@@ -1,9 +1,8 @@
|
|||||||
syn keyword cssTextProp contained hyphens
|
|
||||||
syn match cssTextProp contained "\<line-break\>"
|
|
||||||
syn match cssTextProp contained "\<overflow-wrap\>"
|
|
||||||
syn match cssTextProp contained "\<tab-size\>"
|
syn match cssTextProp contained "\<tab-size\>"
|
||||||
syn match cssTextProp contained "\<text-align-all\>"
|
syn match cssTextProp contained "\<text-align-all\>"
|
||||||
syn keyword cssTextAttr contained manual loose strict hanging anywhere
|
syn keyword cssTextAttr contained loose strict hanging anywhere
|
||||||
syn match cssTextAttr contained "\<match-parent\>"
|
syn match cssTextAttr contained "\<match-parent\>"
|
||||||
syn match cssTextAttr contained "\<each-line\>"
|
syn match cssTextAttr contained "\<each-line\>"
|
||||||
syn match cssTextAttr contained "\<full-width\>"
|
syn match cssTextAttr contained "\<full-width\>"
|
||||||
|
syn match cssTextAttr contained "\<justify-all\>"
|
||||||
|
syn match cssTextAttr contained "\<break-spaces\>"
|
||||||
|
|||||||
@@ -1,14 +1,16 @@
|
|||||||
syn match cssTextProp contained "\<text-space-\(collapse\|trim\)\>"
|
syn match cssTextProp contained "\<text-space-\(collapse\|trim\)\>"
|
||||||
syn match cssTextProp contained "\<text-\(wrap\|spacing\)\>"
|
syn match cssTextProp contained "\<text-\(wrap\|spacing\|group-align\)\>"
|
||||||
syn match cssTextProp contained "\<wrap-\(before\|after\|inside\)\>"
|
syn match cssTextProp contained "\<wrap-\(before\|after\|inside\)\>"
|
||||||
syn match cssTextProp contained "\<hyphenate-\(character\|limit-\(zone\|chars\|lines\|last\)\)\>"
|
syn match cssTextProp contained "\<hyphenate-\(character\|limit-\(zone\|chars\|lines\|last\)\)\>"
|
||||||
|
syn match cssTextProp contained "\<line-padding\>"
|
||||||
syn keyword cssTextAttr contained spread punctuation
|
syn keyword cssTextAttr contained spread punctuation
|
||||||
syn match cssTextAttr contained "\<preserve-\(auto\|trim\|breaks\|spaces\)\>"
|
syn match cssTextAttr contained "\<preserve-\(breaks\|spaces\)\>"
|
||||||
syn match cssTextAttr contained "\<trim-inner\>"
|
syn match cssTextAttr contained "\<trim-inner\>"
|
||||||
syn match cssTextAttr contained "\<discard-\(before\|after\)\>"
|
syn match cssTextAttr contained "\<discard-\(before\|after\)\>"
|
||||||
syn match cssTextAttr contained "\<avoid-\(line\|flex\)\>"
|
syn match cssTextAttr contained "\<avoid-\(line\|flex\)\>"
|
||||||
syn match cssTextAttr contained "\<pre-wrap-auto\>"
|
syn match cssTextAttr contained "\<pre-wrap-auto\>"
|
||||||
syn match cssTextAttr contained "\<no-limit\>"
|
syn match cssTextAttr contained "\<no-limit\>"
|
||||||
syn match cssTextAttr contained "\<\(trim\|space\)-\(start\|end\|adjacent\)\>"
|
syn match cssTextAttr contained "\<\(trim\|space\)-\(start\|end\|adjacent\)\>"
|
||||||
|
syn match cssTextAttr contained "\<space-first\>"
|
||||||
syn match cssTextAttr contained "\<no-compress\>"
|
syn match cssTextAttr contained "\<no-compress\>"
|
||||||
syn match cssTextAttr contained "\<ideograph-\(alpha\|numeric\)\>"
|
syn match cssTextAttr contained "\<ideograph-\(alpha\|numeric\)\>"
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
syn keyword cssFontAttr contained flat
|
syn match cssFontProp contained "\<transform-box\>"
|
||||||
|
|||||||
@@ -1,3 +1,2 @@
|
|||||||
syn match cssValueLength contained "[-+]\=\d\+\(\.\d*\)\=\(ch\|vw\|vh\|vmin\|vmax\|q\)"
|
syn match cssValueLength contained "[-+]\=\d\+\(\.\d*\)\=\(ch\|q\)"
|
||||||
syn match cssValueAngle contained "[-+]\=\d\+\(\.\d*\)\=turn"
|
syn match cssValueAngle contained "[-+]\=\d\+\(\.\d*\)\=turn"
|
||||||
syn region cssFunction contained matchgroup=cssFunctionName start="\<calc\s*(" end=")" oneline keepend
|
|
||||||
|
|||||||
2
after/syntax/css/values-4.vim
Normal file
2
after/syntax/css/values-4.vim
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
syn match cssValueLength contained "[-+]\=\d\+\(\.\d*\)\=\(vi\|vb\|ic\|cap\|lh\|rlh\)"
|
||||||
|
syn region cssFunction contained matchgroup=cssFunctionName start="\<\(min\|max\|clamp\|toggle\)\s*(" end=")" oneline keepend
|
||||||
@@ -1,2 +0,0 @@
|
|||||||
syn match cssFontProp contained "\<--[A-Za-z_][A-Za-z0-9_-]\+\>"
|
|
||||||
syn region cssFunction contained matchgroup=cssFunctionName start="\<var\s*(" end=")" oneline keepend
|
|
||||||
|
|||||||
193
test/test.css
193
test/test.css
@@ -43,28 +43,36 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.box-3 {
|
.box-3 {
|
||||||
overflow-style: auto;
|
margin-trim: auto;
|
||||||
overflow-x: auto;
|
display: in-flow;
|
||||||
overflow-y: auto;
|
/* .block-3 */
|
||||||
rotation-point: auto;
|
clear-after: auto;
|
||||||
|
float-displace: auto;
|
||||||
|
indent-edge-reset: auto;
|
||||||
display: scrollbar;
|
display: scrollbar;
|
||||||
display: panner;
|
display: panner;
|
||||||
display: marquee;
|
display: marquee;
|
||||||
display: ruby;
|
display: discard;
|
||||||
display: ruby-base;
|
display: decendants;
|
||||||
display: ruby-text;
|
display: block-within-page;
|
||||||
display: ruby-base-group;
|
display: margin-edge;
|
||||||
display: ruby-text-group;
|
display: border-edge;
|
||||||
|
display: padding-edge;
|
||||||
|
display: content-edge;
|
||||||
}
|
}
|
||||||
|
|
||||||
.break-3 {
|
.break-3 {
|
||||||
display: auto;
|
display: recto;
|
||||||
|
display: verso;
|
||||||
|
}
|
||||||
|
|
||||||
|
.break-4 {
|
||||||
|
margin-break: auto;
|
||||||
|
display: keep;
|
||||||
}
|
}
|
||||||
|
|
||||||
.cascade-3 {
|
.cascade-3 {
|
||||||
all: auto;
|
display: auto;
|
||||||
display: initial;
|
|
||||||
display: unset;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.cascade-4 {
|
.cascade-4 {
|
||||||
@@ -78,20 +86,30 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.color-4 {
|
.color-4 {
|
||||||
color-adjust: auto;
|
|
||||||
display: hwb(120deg, 44%, 50%);
|
display: hwb(120deg, 44%, 50%);
|
||||||
display: lab(1 2 3);
|
display: lab(1 2 3);
|
||||||
display: lch(4 5 6);
|
display: lch(4 5 6);
|
||||||
display: gray(50%);
|
display: gray(50%);
|
||||||
display: color(swopc, 0 206 190 77);
|
display: color(swopc, 0 206 190 77);
|
||||||
display: device-cmyk(0, 81%, 81%, 30%);
|
display: device-cmyk(0, 81%, 81%, 30%);
|
||||||
display: color-mod(#112233 tint(50%));
|
display: relative-colorimetric;
|
||||||
|
display: absolute-colorimetric;
|
||||||
|
display: perceptual;
|
||||||
}
|
}
|
||||||
|
|
||||||
@color-profile swopc {
|
@color-profile swopc {
|
||||||
src: url("http://example.org/swop-coated.icc");
|
src: url("http://example.org/swop-coated.icc");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.color-adjust-1 {
|
||||||
|
color-scheme: auto;
|
||||||
|
forced-color-adjust: auto;
|
||||||
|
color-adjust: auto;
|
||||||
|
display: only;
|
||||||
|
display: economy;
|
||||||
|
display: exact;
|
||||||
|
}
|
||||||
|
|
||||||
.compositing-1 {
|
.compositing-1 {
|
||||||
mix-blend-mode: auto;
|
mix-blend-mode: auto;
|
||||||
isolation: auto;
|
isolation: auto;
|
||||||
@@ -128,6 +146,10 @@
|
|||||||
display: size;
|
display: size;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.contain-2 {
|
||||||
|
display: auto;
|
||||||
|
}
|
||||||
|
|
||||||
.content-3 {
|
.content-3 {
|
||||||
string-set: auto;
|
string-set: auto;
|
||||||
bookmark-level: auto;
|
bookmark-level: auto;
|
||||||
@@ -217,10 +239,16 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.display-3 {
|
.display-3 {
|
||||||
display: flow;
|
|
||||||
display: flow-root;
|
|
||||||
display: contents;
|
display: contents;
|
||||||
display: discard;
|
display: ruby;
|
||||||
|
display: ruby-base;
|
||||||
|
display: ruby-text;
|
||||||
|
display: ruby-base-group;
|
||||||
|
display: ruby-text-group;
|
||||||
|
}
|
||||||
|
|
||||||
|
.easing-1 {
|
||||||
|
display: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
.exclusions-3 {
|
.exclusions-3 {
|
||||||
@@ -298,18 +326,12 @@
|
|||||||
.fonts-3 {
|
.fonts-3 {
|
||||||
display: common-ligatures;
|
display: common-ligatures;
|
||||||
display: no-common-ligatures;
|
display: no-common-ligatures;
|
||||||
|
display: discretionary-ligatures;
|
||||||
display: no-discretionary-ligatures;
|
display: no-discretionary-ligatures;
|
||||||
display: historical-ligatures;
|
display: historical-ligatures;
|
||||||
display: no-historical-ligatures;
|
display: no-historical-ligatures;
|
||||||
display: contextual;
|
display: contextual;
|
||||||
display: no-contextual;
|
display: no-contextual;
|
||||||
display: stylistic(feature-value-name);
|
|
||||||
display: historical-forms;
|
|
||||||
display: styleset(feature-value-name #);
|
|
||||||
display: character-variant(feature-vlue-name #);
|
|
||||||
display: swash(feature-value-name);
|
|
||||||
display: ornaments(feature-value-name);
|
|
||||||
display: annotation(feature-value-name);
|
|
||||||
display: all-small-caps;
|
display: all-small-caps;
|
||||||
display: petite-caps;
|
display: petite-caps;
|
||||||
display: all-petite-caps;
|
display: all-petite-caps;
|
||||||
@@ -321,8 +343,6 @@
|
|||||||
display: tabular-nums;
|
display: tabular-nums;
|
||||||
display: diagonal-fractions;
|
display: diagonal-fractions;
|
||||||
display: stacked-fractions;
|
display: stacked-fractions;
|
||||||
display: ordinal;
|
|
||||||
display: slashed-zero;
|
|
||||||
display: jis78;
|
display: jis78;
|
||||||
display: jis83;
|
display: jis83;
|
||||||
display: jis90;
|
display: jis90;
|
||||||
@@ -330,32 +350,44 @@
|
|||||||
display: simplified;
|
display: simplified;
|
||||||
display: traditional;
|
display: traditional;
|
||||||
display: proportional-width;
|
display: proportional-width;
|
||||||
display: discretionary-ligatures;
|
display: ordinal;
|
||||||
|
display: slashed-zero;
|
||||||
}
|
}
|
||||||
|
|
||||||
.fonts-4 {
|
.fonts-4 {
|
||||||
font-min-size: auto;
|
|
||||||
font-max-size: auto;
|
|
||||||
font-display: auto;
|
font-display: auto;
|
||||||
font-optical-sizing: auto;
|
font-optical-sizing: auto;
|
||||||
font-variation-settings: auto;
|
font-variation-settings: auto;
|
||||||
font-palette: auto;
|
font-palette: auto;
|
||||||
font-presentation: auto;
|
font-presentation: auto;
|
||||||
font-variant-emoji: auto;
|
font-variant-emoji: auto;
|
||||||
|
display: system-ui;
|
||||||
display: emoji;
|
display: emoji;
|
||||||
display: math;
|
display: math;
|
||||||
display: fangsong;
|
display: fangsong;
|
||||||
display: system-ui;
|
|
||||||
display: infinity;
|
display: infinity;
|
||||||
|
display: stylistic(feature-value-name);
|
||||||
|
display: historical-forms;
|
||||||
|
display: styleset(feature-value-name #);
|
||||||
|
display: character-variant(feature-vlue-name #);
|
||||||
|
display: swash(feature-value-name);
|
||||||
|
display: ornaments(feature-value-name);
|
||||||
|
display: annotation(feature-value-name);
|
||||||
display: swap;
|
display: swap;
|
||||||
display: fallback;
|
display: fallback;
|
||||||
display: optional;
|
display: optional;
|
||||||
display: light;
|
display: light;
|
||||||
display: dark;
|
display: dark;
|
||||||
|
display: ui-serif;
|
||||||
|
display: ui-sans-serif;
|
||||||
|
display: ui-monospace;
|
||||||
|
display: ui-rounded;
|
||||||
|
display: xxx-large;
|
||||||
}
|
}
|
||||||
|
|
||||||
@font-palette-values Test {
|
@font-palette-values Test {
|
||||||
base-palette: 1;
|
base-palette: 1;
|
||||||
|
override-color: 1 rgb(43, 12, 9);
|
||||||
}
|
}
|
||||||
|
|
||||||
.gcpm-3::footnote-call,
|
.gcpm-3::footnote-call,
|
||||||
@@ -374,17 +406,15 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.grid-1 {
|
.grid-1 {
|
||||||
grid-template: auto;
|
|
||||||
display: minmax(0, 1);
|
display: minmax(0, 1);
|
||||||
display: repeat(4);
|
display: repeat(4);
|
||||||
display: 0.2fr;
|
|
||||||
display: dense;
|
display: dense;
|
||||||
display: auto-flow;
|
display: auto-flow;
|
||||||
display: span;
|
display: span;
|
||||||
}
|
}
|
||||||
|
|
||||||
.grid-2 {
|
.grid-2 {
|
||||||
display: 1.618ar;
|
display: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
.html5,
|
.html5,
|
||||||
@@ -401,6 +431,7 @@ template {
|
|||||||
object-position: auto;
|
object-position: auto;
|
||||||
image-orientation: auto;
|
image-orientation: auto;
|
||||||
display: snap;
|
display: snap;
|
||||||
|
display: flip;
|
||||||
display: scale-down;
|
display: scale-down;
|
||||||
display: from-image;
|
display: from-image;
|
||||||
display: repeating-linear-gradient(to bottom, yellow, blue);
|
display: repeating-linear-gradient(to bottom, yellow, blue);
|
||||||
@@ -418,9 +449,10 @@ template {
|
|||||||
dominant-baseline: auto;
|
dominant-baseline: auto;
|
||||||
alignment-baseline: auto;
|
alignment-baseline: auto;
|
||||||
baseline-shift: auto;
|
baseline-shift: auto;
|
||||||
initial-letter: auto;
|
inline-sizing: auto;
|
||||||
initial-letter-align: auto;
|
initial-letters: auto;
|
||||||
initial-letter-wrap: auto;
|
initial-letters-align: auto;
|
||||||
|
initial-letters-wrap: auto;
|
||||||
display: mathematical;
|
display: mathematical;
|
||||||
display: ideographic;
|
display: ideographic;
|
||||||
}
|
}
|
||||||
@@ -443,7 +475,7 @@ template {
|
|||||||
.lists-3::marker {
|
.lists-3::marker {
|
||||||
marker-side: auto;
|
marker-side: auto;
|
||||||
counter-set: auto;
|
counter-set: auto;
|
||||||
display: marker;
|
display: match-self;
|
||||||
display: list-container;
|
display: list-container;
|
||||||
display: counters(lack-of-example);
|
display: counters(lack-of-example);
|
||||||
}
|
}
|
||||||
@@ -498,8 +530,10 @@ template {
|
|||||||
border-inline-end: auto;
|
border-inline-end: auto;
|
||||||
border-block: auto;
|
border-block: auto;
|
||||||
border-inline: auto;
|
border-inline: auto;
|
||||||
background-image-transform: auto;
|
border-start-start-radius: auto;
|
||||||
border-image-transform: auto;
|
border-start-end-radius: auto;
|
||||||
|
border-end-start-radius: auto;
|
||||||
|
border-end-end-radius: auto;
|
||||||
display: logical;
|
display: logical;
|
||||||
display: physical;
|
display: physical;
|
||||||
display: rotate;
|
display: rotate;
|
||||||
@@ -543,6 +577,7 @@ mask {
|
|||||||
.motion-1 {
|
.motion-1 {
|
||||||
offset-path: auto;
|
offset-path: auto;
|
||||||
offset-distance: auto;
|
offset-distance: auto;
|
||||||
|
offset-position: auto;
|
||||||
offset-anchor: auto;
|
offset-anchor: auto;
|
||||||
offset-rotate: auto;
|
offset-rotate: auto;
|
||||||
offset: auto;
|
offset: auto;
|
||||||
@@ -558,13 +593,24 @@ mask {
|
|||||||
display: auto;
|
display: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.nav-1 {
|
||||||
|
spatial-navigation-contain: auto;
|
||||||
|
spatial-navigation-action: auto;
|
||||||
|
spatial-navigation-function: auto;
|
||||||
|
display: focus;
|
||||||
|
}
|
||||||
|
|
||||||
.overflow-3 {
|
.overflow-3 {
|
||||||
max-lines: auto;
|
max-lines: auto;
|
||||||
|
block-overflow: auto;
|
||||||
|
line-clamp: auto;
|
||||||
|
continue: auto;
|
||||||
|
overflow-block: auto;
|
||||||
|
overflow-inline: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
.overflow-4::nth-fragment(1) {
|
.overflow-4::nth-fragment(1) {
|
||||||
scrollbar-gutter: auto;
|
scrollbar-gutter: auto;
|
||||||
continue: auto;
|
|
||||||
display: stable;
|
display: stable;
|
||||||
display: force;
|
display: force;
|
||||||
display: overflow;
|
display: overflow;
|
||||||
@@ -572,9 +618,17 @@ mask {
|
|||||||
display: fragments;
|
display: fragments;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.overscroll-1 {
|
||||||
|
overscroll-behavior: auto;
|
||||||
|
overscroll-behavior-block: auto;
|
||||||
|
overscroll-behavior-inline: auto;
|
||||||
|
overscroll-behavior-x: auto;
|
||||||
|
overscroll-behavior-y: auto;
|
||||||
|
}
|
||||||
|
|
||||||
.page-3 {
|
.page-3 {
|
||||||
display: recto;
|
marks: auto;
|
||||||
display: verso;
|
bleed: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
.page-floats-3 {
|
.page-floats-3 {
|
||||||
@@ -609,7 +663,9 @@ mask {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.properties-values-api-1 {
|
.properties-values-api-1 {
|
||||||
display: auto;
|
syntax: auto;
|
||||||
|
inherits: auto;
|
||||||
|
initial-value: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
.pseudo-4::inactive-selection,
|
.pseudo-4::inactive-selection,
|
||||||
@@ -629,6 +685,10 @@ mask {
|
|||||||
display: avoid-region;
|
display: avoid-region;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.resize-observer-1 {
|
||||||
|
display: auto;
|
||||||
|
}
|
||||||
|
|
||||||
.rhythm-1 {
|
.rhythm-1 {
|
||||||
line-height-step: auto;
|
line-height-step: auto;
|
||||||
block-step-size: auto;
|
block-step-size: auto;
|
||||||
@@ -680,6 +740,10 @@ mask {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.scroll-anchoring-1 {
|
||||||
|
overflow-anchor: auto;
|
||||||
|
}
|
||||||
|
|
||||||
.scroll-snap-1 {
|
.scroll-snap-1 {
|
||||||
scroll-snap-type: auto;
|
scroll-snap-type: auto;
|
||||||
scroll-padding: auto;
|
scroll-padding: auto;
|
||||||
@@ -740,7 +804,7 @@ mask {
|
|||||||
.selectors-4:in-range,
|
.selectors-4:in-range,
|
||||||
.selectors-4:out-of-range,
|
.selectors-4:out-of-range,
|
||||||
.selectors-4:user-invalid,
|
.selectors-4:user-invalid,
|
||||||
.selectors-4:matches(:hover, :focus),
|
.selectors-4:is(:hover, :focus),
|
||||||
.selectors-4:dir(ltr),
|
.selectors-4:dir(ltr),
|
||||||
.selectors-4:local-link(0),
|
.selectors-4:local-link(0),
|
||||||
.selectors-4:current(p, li, dt, dd),
|
.selectors-4:current(p, li, dt, dd),
|
||||||
@@ -752,7 +816,7 @@ mask {
|
|||||||
.selectors-4:playing,
|
.selectors-4:playing,
|
||||||
.selectors-4:paused,
|
.selectors-4:paused,
|
||||||
.selectors-4:has(> img),
|
.selectors-4:has(> img),
|
||||||
.selectors-4:drop(active) {
|
.selectors-4:where(:not(:hover)) {
|
||||||
display: auto;
|
display: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -760,6 +824,10 @@ mask {
|
|||||||
display: auto;
|
display: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.shadow-parts::part(textspan) {
|
||||||
|
display: auto;
|
||||||
|
}
|
||||||
|
|
||||||
.shapes-1 {
|
.shapes-1 {
|
||||||
shape-outside: auto;
|
shape-outside: auto;
|
||||||
shape-image-threshold: auto;
|
shape-image-threshold: auto;
|
||||||
@@ -894,12 +962,8 @@ view {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.text-3 {
|
.text-3 {
|
||||||
hyphens: auto;
|
|
||||||
line-break: auto;
|
|
||||||
overflow-wrap: auto;
|
|
||||||
tab-size: auto;
|
tab-size: auto;
|
||||||
text-align-all: auto;
|
text-align-all: auto;
|
||||||
display: manual;
|
|
||||||
display: loose;
|
display: loose;
|
||||||
display: strict;
|
display: strict;
|
||||||
display: match-parent;
|
display: match-parent;
|
||||||
@@ -907,6 +971,8 @@ view {
|
|||||||
display: each-line;
|
display: each-line;
|
||||||
display: full-width;
|
display: full-width;
|
||||||
display: anywhere;
|
display: anywhere;
|
||||||
|
display: justify-all;
|
||||||
|
display: break-spaces;
|
||||||
}
|
}
|
||||||
|
|
||||||
.text-4 {
|
.text-4 {
|
||||||
@@ -921,9 +987,9 @@ view {
|
|||||||
hyphenate-limit-chars: auto;
|
hyphenate-limit-chars: auto;
|
||||||
hyphenate-limit-lines: auto;
|
hyphenate-limit-lines: auto;
|
||||||
hyphenate-limit-last: auto;
|
hyphenate-limit-last: auto;
|
||||||
|
text-group-align: auto;
|
||||||
|
line-padding: auto;
|
||||||
text-spacing: auto;
|
text-spacing: auto;
|
||||||
display: preserve-auto;
|
|
||||||
display: preserve-trim;
|
|
||||||
display: preserve-breaks;
|
display: preserve-breaks;
|
||||||
display: preserve-spaces;
|
display: preserve-spaces;
|
||||||
display: trim-inner;
|
display: trim-inner;
|
||||||
@@ -936,6 +1002,7 @@ view {
|
|||||||
display: spread;
|
display: spread;
|
||||||
display: trim-start;
|
display: trim-start;
|
||||||
display: space-start;
|
display: space-start;
|
||||||
|
display: space-first;
|
||||||
display: trim-end;
|
display: trim-end;
|
||||||
display: space-end;
|
display: space-end;
|
||||||
display: trim-adjacent;
|
display: trim-adjacent;
|
||||||
@@ -987,7 +1054,7 @@ view {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.transforms-1 {
|
.transforms-1 {
|
||||||
display: flat;
|
transform-box: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
.transitions-1 {
|
.transitions-1 {
|
||||||
@@ -1014,17 +1081,25 @@ view {
|
|||||||
|
|
||||||
.values-3 {
|
.values-3 {
|
||||||
display: 1ch;
|
display: 1ch;
|
||||||
display: 1vw;
|
|
||||||
display: 1vh;
|
|
||||||
display: 1vmin;
|
|
||||||
display: 1q;
|
display: 1q;
|
||||||
display: 1turn;
|
display: 1turn;
|
||||||
display: calc(100%/3 - 2*1em - 2*1px);
|
}
|
||||||
|
|
||||||
|
.values-4 {
|
||||||
|
display: 1vi;
|
||||||
|
display: 1vb;
|
||||||
|
display: 1ic;
|
||||||
|
display: 1cap;
|
||||||
|
display: 1lh;
|
||||||
|
display: 1rlh;
|
||||||
|
display: min(0, 1);
|
||||||
|
display: max(0, 1);
|
||||||
|
display: clamp(0, 100, 2);
|
||||||
|
display: toggle(italic, normal);
|
||||||
}
|
}
|
||||||
|
|
||||||
.variables-1 {
|
.variables-1 {
|
||||||
--var-foo: auto;
|
display: auto;
|
||||||
display: var(foo);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.web-animations-1 {
|
.web-animations-1 {
|
||||||
|
|||||||
Reference in New Issue
Block a user