Compare commits

...

65 Commits

Author SHA1 Message Date
Kyo Nagashima
11c2d059f0 1.7.1 2020-05-28 09:52:47 +09:00
Kyo Nagashima
4c478d0373 Fix test 2020-05-28 09:52:31 +09:00
Kyo Nagashima
e5e2662f56 Add sizing-4.vim
https://www.w3.org/TR/2020/WD-css-sizing-4-20200526/
2020-05-28 09:47:33 +09:00
Kyo Nagashima
4f0f6717cf Update position-3.vim
https://www.w3.org/TR/2020/WD-css-position-3-20200519/
2020-05-28 09:39:46 +09:00
Kyo Nagashima
5e9d081260 Update display-3.vim
https://www.w3.org/TR/2020/CR-css-display-3-20200519/
2020-05-28 09:29:47 +09:00
Kyo Nagashima
77a3fb8386 Update display-3.vim
https://www.w3.org/TR/2020/CR-css-display-3-20200519/
2020-05-19 18:22:47 +09:00
Kyo Nagashima
2c75d94fc8 Update text-decor-4.vim
https://www.w3.org/TR/2020/WD-css-text-decor-4-20200506/
2020-05-09 09:25:41 +09:00
Kyo Nagashima
a916d1e5d2 Remove FUNDING.yml 2020-05-08 17:05:08 +09:00
Kyo Nagashima
6e2f05fb29 Update ruby-1.vim
https://www.w3.org/TR/2020/WD-css-ruby-1-20200429/
2020-04-30 18:59:32 +09:00
Kyo Nagashima
6a677287df Update text-3.vim
https://www.w3.org/TR/2020/WD-css-text-3-20200429/
2020-04-30 18:54:41 +09:00
Kyo Nagashima
2714472120 Add box-4.vim
https://www.w3.org/TR/2020/WD-css-box-4-20200421/
2020-04-24 09:15:21 +09:00
Kyo Nagashima
ab4ce39f68 Update box-3.vim
https://www.w3.org/TR/2020/WD-css-box-3-20200421/

This WD removes all new properties and values.
2020-04-24 09:14:15 +09:00
Kyo Nagashima
de8b85301d Update align-3.vim
https://www.w3.org/TR/2020/WD-css-align-3-20200421/
2020-04-24 09:08:10 +09:00
Kyo Nagashima
0c33e55d36 Update color-adjust-1.vim
https://www.w3.org/TR/2020/WD-css-color-adjust-1-20200402/

This commit also fixes filename.
2020-04-03 18:44:53 +09:00
Kyo Nagashima
2a59a029d1 Fix test
`only` is always used with `only light`.
2020-04-01 16:00:18 +09:00
Kyo Nagashima
036ac88f82 Add unofficials.vim
This temporary syntax file is for an unofficial specs.
2020-04-01 09:46:02 +09:00
Kyo Nagashima
7e863a82ba Add missing pixelated value to images-3.vim 2020-04-01 09:42:36 +09:00
Kyo Nagashima
5f1c2f4cfe 1.6.0 2020-03-31 09:21:45 +09:00
Kyo Nagashima
24df990311 Create FUNDING.yml 2020-03-29 19:49:30 +09:00
Kyo Nagashima
2017ababce Add scrollbars-1.vim
https://www.w3.org/TR/2018/WD-css-scrollbars-1-20180925/
2020-03-29 15:33:56 +09:00
Kyo Nagashima
9caf119a57 Add conditional-4.vim
https://www.w3.org/TR/2020/WD-css-conditional-4-20200303/
2020-03-20 09:33:15 +09:00
Kyo Nagashima
c61637cc7a Add transforms-2.vim
https://www.w3.org/TR/2020/WD-css-transforms-2-20200303/
2020-03-20 09:18:02 +09:00
Kyo Nagashima
d852533256 Update speech-1.vim
https://www.w3.org/TR/2020/CR-css-speech-1-20200310/
2020-03-10 20:46:46 +09:00
Kyo Nagashima
6f5b17688c Revert "Remove css3-speech.vim"
This reverts commit 912de28994.
2020-03-10 20:44:10 +09:00
Kyo Nagashima
d65cd9c88e Update color-5.vim
`a()` and `b()` are needed for LAB color.
2020-03-04 19:18:40 +09:00
Kyo Nagashima
107e3bd060 Add color-5.vim
https://www.w3.org/TR/2020/WD-css-color-5-20200303/
2020-03-04 18:59:04 +09:00
Kyo Nagashima
c975bde063 1.5.0 2020-02-13 13:10:20 +09:00
Kyo Nagashima
69b55bf234 Merge pull request #67 from hail2u/vim-8.1.1951
Follow changes in the default runtime files
2020-02-13 12:41:16 +09:00
Kyo Nagashima
241f57e057 Follow changes in the default runtime files
These removed syntaxes are included in [runtime files update][1].

[1]: 06fe74aef7 (diff-613ff34c5d60e41a3fc93fcb58277143)
2020-02-13 12:40:35 +09:00
Kyo Nagashima
14f6b95d25 Add resize-observer-1.vim
https://www.w3.org/TR/2020/WD-resize-observer-1-20200211/
2020-02-12 18:36:50 +09:00
Kyo Nagashima
f483738520 Add scroll-anchoring-1.vim
https://www.w3.org/TR/2020/WD-css-scroll-anchoring-1-20200211/
2020-02-12 18:34:55 +09:00
Kyo Nagashima
6253d1b746 Update ui-4.vim
https://www.w3.org/TR/2020/WD-css-ui-4-20200124/
2020-01-26 15:07:01 +09:00
Kyo Nagashima
75322b91a1 Update ui-4.vim
https://www.w3.org/TR/2020/WD-css-ui-4-20200102/
2020-01-03 07:34:16 +09:00
Kyo Nagashima
496f27aaf3 Update writing-modes-3.vim
https://www.w3.org/TR/2019/REC-css-writing-modes-3-20191210/
2019-12-11 08:16:05 +09:00
Kyo Nagashima
dcd7e3dca8 Update grid-2.vim
https://www.w3.org/TR/2019/WD-css-grid-2-20191203/
2019-12-05 08:19:04 +09:00
Kyo Nagashima
8aee9a339d Update nav-1.vim
https://www.w3.org/TR/2019/WD-css-nav-1-20191126/
2019-11-27 18:30:52 +09:00
Kyo Nagashima
c1f03abe28 Update fonts-4.vim
https://www.w3.org/TR/2019/WD-css-fonts-4-20191113/
2019-11-23 08:06:07 +09:00
Kyo Nagashima
81364390d3 Update text-4.vim
https://www.w3.org/TR/2019/WD-css-text-4-20191113/
2019-11-23 07:58:25 +09:00
Kyo Nagashima
70cb73d4d8 Update text-3.vim
https://www.w3.org/TR/2019/WD-css-text-3-20191113/#changes
2019-11-23 07:56:08 +09:00
Kyo Nagashima
cf953ffa27 Update contain-1.vim
https://www.w3.org/TR/2019/REC-css-contain-1-20191121/
2019-11-23 07:54:52 +09:00
Kyo Nagashima
1e61ba9b5d Update color-4.vim
https://www.w3.org/TR/2019/WD-css-color-4-20191105/
2019-11-07 08:35:26 +09:00
Kyo Nagashima
e4f8096b95 1.4.0 2019-10-26 20:32:08 +09:00
Kyo Nagashima
ba724e7725 Update properties-values-api-1.vim
https://www.w3.org/TR/2019/WD-css-properties-values-api-1-20191025/
2019-10-26 20:30:41 +09:00
Kyo Nagashima
037c11a418 Update writing-modes-3.vim
https://www.w3.org/TR/2019/PR-css-writing-modes-3-20191024/
2019-10-24 17:52:43 +09:00
Kyo Nagashima
6c4e888d30 Update multicol-1.vim
https://www.w3.org/TR/2019/WD-css-multicol-1-20191015/
2019-10-17 14:54:21 +09:00
Kyo Nagashima
ac5da79ba0 Update contain-1.vim
https://www.w3.org/TR/2019/PR-css-contain-1-20191015/
2019-10-15 21:12:57 +09:00
Kyo Nagashima
9f8026cdc7 Add contain-2.vim
https://www.w3.org/TR/2019/WD-css-contain-2-20191015/
2019-10-15 21:12:26 +09:00
Kyo Nagashima
0c7d58818c Update images-3.vim
https://www.w3.org/TR/2019/CR-css-images-3-20191010/
2019-10-12 07:55:59 +09:00
Kyo Nagashima
7eaca88c16 Update writing-modes-3.vim
https://www.w3.org/TR/2019/CR-css-writing-modes-3-20190903/
2019-09-04 19:22:42 +09:00
Kyo Nagashima
cfaa56b81b Update lists-3.vim
https://www.w3.org/TR/2019/WD-css-lists-3-20190817/
2019-08-19 22:38:47 +09:00
Kyo Nagashima
d467649124 Update text-decor-3.vim
https://www.w3.org/TR/2019/CR-css-text-decor-3-20190813/
2019-08-14 19:34:08 +09:00
Kyo Nagashima
c67661a5df Update content-3.vim
https://www.w3.org/TR/2019/WD-css-content-3-20190802/
2019-08-04 08:03:33 +09:00
Kyo Nagashima
566c51cc9e Update writing-modes-4.vim
https://www.w3.org/TR/2019/CR-css-writing-modes-4-20190730/
2019-07-31 18:26:53 +09:00
Kyo Nagashima
d733704733 Update writing-modes-3.vim
https://www.w3.org/TR/2019/CR-css-writing-modes-3-20190730/
2019-07-31 18:24:03 +09:00
Kyo Nagashima
c9c7ec3896 Update tables-3.vim
https://www.w3.org/TR/2019/WD-css-tables-3-20190727/
2019-07-29 21:00:10 +09:00
Kyo Nagashima
bdfc1fde87 Revert author URL 2019-07-24 07:52:35 +09:00
Kyo Nagashima
29ade81400 Update syntax-3.vim
https://www.w3.org/TR/2019/CR-css-syntax-3-20190716/
2019-07-17 08:36:55 +09:00
Kyo Nagashima
c5ea01f581 Update display-3.vim
https://www.w3.org/TR/2019/CR-css-display-3-20190711/
2019-07-12 21:09:23 +09:00
Kyo Nagashima
a383e34b23 Update content-3.vim
https://www.w3.org/TR/2019/WD-css-content-3-20190710/
2019-07-12 07:56:57 +09:00
Kyo Nagashima
a0d55ac3aa Update meta information 2019-06-29 18:58:14 +09:00
Kyo Nagashima
dc7b427e5b Add animation-worklet-1.vim
https://www.w3.org/TR/2019/WD-css-animation-worklet-1-20190625/
2019-06-27 14:34:21 +09:00
Kyo Nagashima
22c5e8078d Add overscroll-1.vim
https://www.w3.org/TR/2019/WD-css-overscroll-1-20190606/
2019-06-08 09:11:26 +09:00
Kyo Nagashima
84c88ac746 Update values-3.vim
No changes.

https://www.w3.org/TR/2019/CR-css-values-3-20190606/
2019-06-08 09:06:45 +09:00
Kyo Nagashima
af915e056e Update color-adjust-1.vim
https://www.w3.org/TR/2019/WD-css-color-adjust-1-20190523/
2019-05-25 14:33:03 +09:00
Kyo Nagashima
547e1de69f Update sizing-3.vim
https://www.w3.org/TR/2019/WD-css-sizing-3-20190522/
2019-05-24 08:47:17 +09:00
34 changed files with 830 additions and 761 deletions

View File

@@ -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/

View File

View File

@@ -1,9 +0,0 @@
syn match cssBoxProp contained "\<margin-trim\>"
syn match cssBoxAttr contained "\<in-flow\>"
" These will be moved to block-3
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\>"

View File

@@ -0,0 +1,2 @@
syn match cssBoxProp contained "\<margin-trim\>"
syn match cssBoxAttr contained "\<in-flow\>"

View File

@@ -1,2 +0,0 @@
syn keyword cssFontProp all
syn keyword cssCommonAttr contained initial unset

View File

@@ -1,2 +1,4 @@
syn keyword cssFontAttr contained perceptual
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 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

View File

@@ -0,0 +1 @@
syn region cssFunction contained matchgroup=cssFunctionName start="\<\(color-\(mix\|contrast\|adjust\)\|red\|green\|blue\|alpha\|hue\|saturation\|lightness\|whiteness\|blackness\|a\|b\|chroma\)\s*(" end=")" contains=cssCustomProp,cssFunction,cssColor,cssFunctionComma oneline

View File

View File

View File

@@ -1,3 +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\)\=\)\)\=\>" syn match cssBoxAttr contained "\<ruby\(-\(base\(-group\)\=\|text\(-group\)\=\)\)\=\>"

View File

@@ -1,4 +1,3 @@
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\>"
@@ -9,7 +8,9 @@ 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 "\<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 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-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

View File

@@ -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

View File

@@ -1 +0,0 @@
syn match cssValueNumber contained "\d\(.\d\+\)\=ar"

View File

@@ -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 pixelated
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

View File

@@ -1,3 +1,4 @@
" 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

View File

@@ -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\|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 "\<border-\(start\|end\)-\(start\|end\)-radius\>" syn match cssFontProp contained "\<border-\(start\|end\)-\(start\|end\)-radius\>"
syn keyword cssFontAttr contained logical physical rotate syn keyword cssFontAttr contained logical physical rotate

View File

@@ -1,2 +1,2 @@
syn match cssFontProp contained "\<spatial-navigation-\(action\|contain\)\>" syn match cssFontProp contained "\<spatial-navigation-\(action\|contain\|function\)\>"
syn keyword cssFontAttr contained focus syn keyword cssFontAttr contained focus

View File

@@ -0,0 +1 @@
syn match cssFontProp contained "\<overscroll-behavior\(-\(block\|inline\|x\|y\)\)\=\>"

View File

@@ -1,2 +1,2 @@
syn match cssFontProp contained "\<offset-\(before\|end\|after\|start\)\>" syn match cssFontProp contained "\<inset\(-\(block\|inline\)\(-\(start\|end\)\)\=\)\=\>"
syn keyword cssFontAttr contained sticky syn keyword cssFontAttr contained sticky

View File

@@ -0,0 +1,2 @@
syn keyword cssFontProp contained syntax inherits
syn match cssFontProp contained "\<initial-value\>"

View File

View File

@@ -1,4 +1,3 @@
" TODO: create cssRubyProp group and cssRubyAttr group syn match cssFontProp contained "\<ruby-\(position\|merge\|align\|overhang\)"
syn match cssFontProp contained "\<ruby-\(position\|merge\|align\)"
syn match cssFontAttr contained "\<ruby-\(base\|text\)-container\>" syn match cssFontAttr contained "\<ruby-\(base\|text\)-container\>"
syn match cssFontAttr contained "\<inter-character\>" syn match cssFontAttr contained "\<inter-character\>"

View File

@@ -0,0 +1 @@
syn match cssFontProp contained "\<overflow-anchor\>"

View File

@@ -0,0 +1 @@
syn match cssFontProp contained "\<scrollbar-\(color\|width\)\>"

View File

@@ -0,0 +1,2 @@
syn match cssFontProp contained "\<contain-intrinsic-size\>"
syn match cssFontAttr contained "\<\fit-content\>"

View File

@@ -0,0 +1,6 @@
syn match cssAuralProp contained "\<voice-\(volume\|balance\|rate\|pitch\|range\|stress\|duration\)\>"
syn match cssAuralProp contained "\<rest\(-\(before\|after\)\)\=\>"
syn keyword cssAuralAttr contained young old neutral preserve moderate reduced
syn match cssAuralAttr contained "\<\(literal\|no\)-punctuation\>"
syn match cssAuralAttr contained "\<\(x-\)\=\(weak\|strong\)\>"
syn match cssValueNumber contained "[-+]\=\d\+\(dB\|st\)"

View File

@@ -1,9 +1,6 @@
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\>"

View File

@@ -1,4 +1,6 @@
syn match cssTextProp contained "\<text-\(decoration-\(width\|skip\|skip-ink\)\|underline-offset\|emphasis-skip\)\>" syn match cssTextProp contained "\<text-\(decoration-\(thickness\|skip\|skip-ink\)\|underline-offset\|emphasis-skip\)\>"
syn keyword cssTextAttr contained objects edges symbols narrow syn keyword cssTextAttr contained objects edges symbols narrow
syn match cssTextAttr contained "\<box-decoration\>" syn match cssTextAttr contained "\<\(spelling\|grammer\)-error\>"
syn match cssTextAttr contained "\<from-font\>"
syn match cssTextAttr contained "\<\(\(leading\|trailing\)-\)\=spaces\>" syn match cssTextAttr contained "\<\(\(leading\|trailing\)-\)\=spaces\>"
syn match cssTextAttr contained "\<box-decoration\>"

View File

@@ -0,0 +1,2 @@
syn keyword cssFontProp contained rotate scale translate
syn keyword cssFontAttr contained flat

View File

@@ -0,0 +1,2 @@
syn match cssFontProp contained "\<backdrop-filter\>"
syn region cssFunction contained matchgroup=cssFunctionName start="\<env\s*(" end=")" oneline keepend

View File

@@ -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

View File

@@ -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

View File

@@ -1,3 +1,8 @@
.unofficials {
backdrop-filter: auto;
display: env(safe-area-inset-top, 20px);
}
.align-3 { .align-3 {
place-self: auto; place-self: auto;
place-content: auto; place-content: auto;
@@ -43,22 +48,12 @@
} }
.box-3 { .box-3 {
display: auto;
}
.box-4 {
margin-trim: auto; margin-trim: auto;
display: in-flow; display: in-flow;
/* .block-3 */
clear-after: auto;
float-displace: auto;
indent-edge-reset: auto;
display: scrollbar;
display: panner;
display: marquee;
display: discard;
display: decendants;
display: block-within-page;
display: margin-edge;
display: border-edge;
display: padding-edge;
display: content-edge;
} }
.break-3 { .break-3 {
@@ -72,16 +67,18 @@
} }
.cascade-3 { .cascade-3 {
all: auto; display: auto;
display: initial;
display: unset;
} }
.cascade-4 { .cascade-4 {
display: revert; display: revert;
} }
@import "test.css" supports(display: auto); @import "conditional-3.css" supports(display: auto);
@supports (selector(.conditional-4)) {
display: auto;
}
.color-3 { .color-3 {
display: auto; display: auto;
@@ -94,17 +91,26 @@
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: 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-5 {
display: color-mix(red yellow 65%);
display: color-contrast(wheat tan, sienna, var(--myAccent), #d2691e);
display: color-adjust(peru lightness(-20%));
}
.color-adjust-1 { .color-adjust-1 {
color-scheme: auto; color-scheme: auto;
forced-color-adjust: auto; forced-color-adjust: auto;
color-adjust: auto; color-adjust: auto;
display: only; display: only light;
display: economy; display: economy;
display: exact; display: exact;
} }
@@ -145,6 +151,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;
@@ -234,8 +244,6 @@
} }
.display-3 { .display-3 {
display: flow;
display: flow-root;
display: contents; display: contents;
display: ruby; display: ruby;
display: ruby-base; display: ruby-base;
@@ -352,8 +360,6 @@
} }
.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;
@@ -377,6 +383,11 @@
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 {
@@ -400,17 +411,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,
@@ -427,8 +436,10 @@ 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: pixelated;
display: repeating-linear-gradient(to bottom, yellow, blue); display: repeating-linear-gradient(to bottom, yellow, blue);
display: repeating-radial-gradient(farthest-corner at 50% 50%, yellow, green); display: repeating-radial-gradient(farthest-corner at 50% 50%, yellow, green);
} }
@@ -488,13 +499,6 @@ template {
margin-inline-end: auto; margin-inline-end: auto;
margin-block: auto; margin-block: auto;
margin-inline: auto; margin-inline: auto;
inset-block-start: auto;
inset-block-end: auto;
inset-inline-start: auto;
inset-inline-end: auto;
inset-block: auto;
inset-inline: auto;
inset: auto;
padding-block-start: auto; padding-block-start: auto;
padding-block-end: auto; padding-block-end: auto;
padding-inline-start: auto; padding-inline-start: auto;
@@ -591,6 +595,7 @@ mask {
.nav-1 { .nav-1 {
spatial-navigation-contain: auto; spatial-navigation-contain: auto;
spatial-navigation-action: auto; spatial-navigation-action: auto;
spatial-navigation-function: auto;
display: focus; display: focus;
} }
@@ -612,6 +617,14 @@ 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 {
marks: auto; marks: auto;
bleed: auto; bleed: auto;
@@ -641,15 +654,20 @@ mask {
} }
.position-3 { .position-3 {
offset-before: auto; inset-block-start: auto;
offset-end: auto; inset-block-end: auto;
offset-after: auto; inset-inline-start: auto;
offset-start: auto; inset-inline-end: auto;
inset-block: auto;
inset-inline: auto;
inset: auto;
display: sticky; display: sticky;
} }
.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,
@@ -669,6 +687,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;
@@ -699,6 +721,7 @@ mask {
ruby-position: auto; ruby-position: auto;
ruby-merge: auto; ruby-merge: auto;
ruby-align: auto; ruby-align: auto;
ruby-overhang: auto;
display: ruby-base-container; display: ruby-base-container;
display: ruby-text-container; display: ruby-text-container;
display: inter-character; display: inter-character;
@@ -720,6 +743,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;
@@ -752,6 +779,11 @@ mask {
display: proximity; display: proximity;
} }
.scrollbars-1 {
scrollbar-color: auto;
scrollbar-width: auto;
}
.selectors-3:enabled, .selectors-3:enabled,
.selectors-3:indeterminate, .selectors-3:indeterminate,
.selectors-3:nth-child(2n+1), .selectors-3:nth-child(2n+1),
@@ -821,6 +853,38 @@ mask {
display: fit-content(10%); display: fit-content(10%);
} }
.sizing-4 {
contain-intrinsic-size: auto;
display: fit-content;
}
.speech-1 {
voice-volume: auto;
voice-balance: auto;
rest-before: auto;
rest-after: auto;
rest: auto;
voice-rate: auto;
voice-pitch: auto;
voice-range: auto;
voice-stress: auto;
voice-duration: auto;
display: 10dB;
display: literal-punctuation;
display: no-punctuation;
display: x-weak;
display: weak;
display: strong;
display: x-strong;
display: young;
display: old;
display: neutral;
display: preserve;
display: 10st;
display: moderate;
display: reduced;
}
.style-attr { .style-attr {
display: auto; display: auto;
} }
@@ -938,12 +1002,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;
@@ -1014,12 +1074,15 @@ view {
} }
.text-decor-4 { .text-decor-4 {
text-decoration-width: auto; text-decoration-thickness: auto;
text-underline-offset: auto; text-underline-offset: auto;
text-decoration-skip: auto; text-decoration-skip: auto;
text-decoration-skip-ink: auto; text-decoration-skip-ink: auto;
text-emphasis-skip: auto; text-emphasis-skip: auto;
display: spelling-error;
display: grammer-error;
display: objects; display: objects;
display: from-font;
display: spaces; display: spaces;
display: leading-spaces; display: leading-spaces;
display: trailing-spaces; display: trailing-spaces;
@@ -1037,6 +1100,13 @@ view {
transform-box: auto; transform-box: auto;
} }
.tranforms-2 {
rotate: auto;
scale: auto;
translate: auto;
display: flat;
}
.transitions-1 { .transitions-1 {
display: auto; display: auto;
} }
@@ -1061,12 +1131,8 @@ 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 { .values-4 {
@@ -1083,8 +1149,7 @@ view {
} }
.variables-1 { .variables-1 {
--var-foo: auto; display: auto;
display: var(foo);
} }
.web-animations-1 { .web-animations-1 {