From ff05f0f5ebeb0b79eaa5dce0b1b066da6f1ebd26 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Fri, 19 May 2017 02:03:54 +0900 Subject: [PATCH 001/400] Follow changes in WD-css-align-3-20170515 No changes, see also: http://www.w3.org/TR/2017/WD-css-align-3-20170515/ From 092f7c3c6788fdc246ef6646a134e9003af7117a Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Fri, 19 May 2017 02:25:52 +0900 Subject: [PATCH 002/400] Add css-logical-1.vim See also: http://www.w3.org/TR/2017/WD-css-logical-1-20170518/ --- after/syntax/css/css-logical-1.vim | 5 +++ after/syntax/html.vim | 1 + test/test.css | 54 +++++++++++++++++++++++++++++ test/test.html | 55 ++++++++++++++++++++++++++++++ 4 files changed, 115 insertions(+) create mode 100644 after/syntax/css/css-logical-1.vim diff --git a/after/syntax/css/css-logical-1.vim b/after/syntax/css/css-logical-1.vim new file mode 100644 index 0000000..e5ac1d9 --- /dev/null +++ b/after/syntax/css/css-logical-1.vim @@ -0,0 +1,5 @@ +syn match cssFontProp contained "\<\(\(min\|max\)-\)\=\(block\|inline\)-size\>" +syn match cssFontProp contained "\<\(margin\|inset\|padding\)\(-\(block\|inline\)\(-\(start\|end\)\)\=\)\=\>" +syn match cssFontProp contained "\" +syn match cssFontProp contained "\<\(background\|border\)-image-transform\>" +syn keyword cssFontAttr contained logical physical rotate diff --git a/after/syntax/html.vim b/after/syntax/html.vim index 4f0a479..87d5b78 100644 --- a/after/syntax/html.vim +++ b/after/syntax/html.vim @@ -20,6 +20,7 @@ syn include @htmlCss syntax/css/css-images-4.vim syn include @htmlCss syntax/css/css-inline-3.vim syn include @htmlCss syntax/css/css-line-grid-1.vim syn include @htmlCss syntax/css/css-lists-3.vim +syn include @htmlCss syntax/css/css-logical-1.vim syn include @htmlCss syntax/css/css-masking-1.vim syn include @htmlCss syntax/css/css-overflow-3.vim syn include @htmlCss syntax/css/css-page-floats-3.vim diff --git a/test/test.css b/test/test.css index cab9f64..205117a 100644 --- a/test/test.css +++ b/test/test.css @@ -402,6 +402,60 @@ display: auto; } +.logical-1 { + block-size: logical; + inline-size: physical; + min-block-size: rotate; + min-inline-size: auto; + max-block-size: auto; + max-inline-size: auto; + margin-block-start: auto; + margin-block-end: auto; + margin-inline-start: auto; + margin-inline-end: auto; + margin-block: 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-end: auto; + padding-inline-start: auto; + padding-inline-end: auto; + padding-block: auto; + padding-inline: auto; + border-block-start-width: auto; + border-block-end-width: auto; + border-inline-start-width: auto; + border-inline-end-width: auto; + border-block-width: auto; + border-inline-width: auto; + border-block-start-style: auto; + border-block-end-style: auto; + border-inline-start-style: auto; + border-inline-end-style: auto; + border-block-style: auto; + border-inline-style: auto; + border-block-start-color: auto; + border-block-end-color: auto; + border-inline-start-color: auto; + border-inline-end-color: auto; + border-block-color: auto; + border-inline-color: auto; + border-block-start: auto; + border-block-end: auto; + border-inline-start: auto; + border-inline-end: auto; + border-block: auto; + border-inline: auto; + background-image-transform: auto; + border-image-transform: auto; +} + .masking-1 { clip-path: fill-box; clip-rule: stroke-box; diff --git a/test/test.html b/test/test.html index ddb4f2e..c58eb16 100644 --- a/test/test.html +++ b/test/test.html @@ -468,6 +468,61 @@ } + + From 1efb945868bb5022453b9e47d3d5cd90efefa154 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Fri, 21 Jul 2017 22:40:03 +0900 Subject: [PATCH 010/400] Follow changes in WD-css-align-3-20170720 No changes, see also: http://www.w3.org/TR/2017/WD-css-align-3-20170720/ From 912bb8944fb8c9cf179f621e30a605d555c91d82 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Fri, 21 Jul 2017 22:41:42 +0900 Subject: [PATCH 011/400] Version 0.24.2 From 63de9cc2f795e1c18a0da3ad9794c3cfd724508b Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Wed, 2 Aug 2017 18:15:09 +0900 Subject: [PATCH 012/400] Follow changes in css-typed-om-1-20170801 No changes, see also: http://www.w3.org/TR/2017/WD-css-typed-om-1-20170801/ From ff32d693f53b668047fe2f201e25a2742044c3e2 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Wed, 9 Aug 2017 07:11:49 +0900 Subject: [PATCH 013/400] Follow changes in CR-css-contain-1-20170808 No changes, see also: http://www.w3.org/TR/2017/CR-css-contain-1-20170808/ From fa194bb63874a894b8c55b70048f82e98b9533af Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Thu, 24 Aug 2017 04:18:13 +0900 Subject: [PATCH 014/400] Follow changes in WD-css-text-3-20131010 See also: http://www.w3.org/TR/2013/WD-css-text-3-20131010/ --- after/syntax/css/css-text-3.vim | 3 ++- test/test.css | 3 ++- test/test.html | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/after/syntax/css/css-text-3.vim b/after/syntax/css/css-text-3.vim index d775e1e..f14ac16 100644 --- a/after/syntax/css/css-text-3.vim +++ b/after/syntax/css/css-text-3.vim @@ -2,7 +2,8 @@ syn keyword cssTextProp contained hyphens syn match cssTextProp contained "\" syn match cssTextProp contained "\" syn match cssTextProp contained "\" -syn keyword cssTextAttr contained manual loose strict hanging +syn match cssTextProp contained "\" +syn keyword cssTextAttr contained manual loose strict hanging anywhere syn match cssTextAttr contained "\" syn match cssTextAttr contained "\" syn match cssTextAttr contained "\" diff --git a/test/test.css b/test/test.css index 012bee8..c07982a 100644 --- a/test/test.css +++ b/test/test.css @@ -746,9 +746,10 @@ line-break: loose; overflow-wrap: strict; tab-size: match-parent; - display: hanging; + text-align-all: hanging; display: each-line; display: full-width; + display: anywhere; } .text-4 { diff --git a/test/test.html b/test/test.html index d8bc0fd..a752d00 100644 --- a/test/test.html +++ b/test/test.html @@ -814,9 +814,10 @@ line-break: loose; overflow-wrap: strict; tab-size: match-parent; - display: hanging; + text-align-all: hanging; display: each-line; display: full-width; + display: anywhere; } + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-

vim-css3-syntax

-
- - From 9f4e52e66a85b4812481bfd1a6edfbc30413f33e Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Thu, 23 Nov 2017 23:26:31 +0900 Subject: [PATCH 025/400] 0.25.0 From f638e6c30b7184fe7dab999bbbafcd0d38308308 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Fri, 1 Dec 2017 14:24:48 +0900 Subject: [PATCH 026/400] Follow changes in WD-css-animations-1-20171130 No changes, see also: http://www.w3.org/TR/2017/WD-css-animations-1-20171130/ --- after/syntax/css/{css3-animations.vim => css-animations-1.vim} | 1 - 1 file changed, 1 deletion(-) rename after/syntax/css/{css3-animations.vim => css-animations-1.vim} (80%) diff --git a/after/syntax/css/css3-animations.vim b/after/syntax/css/css-animations-1.vim similarity index 80% rename from after/syntax/css/css3-animations.vim rename to after/syntax/css/css-animations-1.vim index 0002bd4..79d5bdb 100644 --- a/after/syntax/css/css3-animations.vim +++ b/after/syntax/css/css-animations-1.vim @@ -1,4 +1,3 @@ -" TODO: create cssAnimationsProp group and cssAnimationsAttr group syn match cssFontProp contained "\" syn keyword cssFontAttr contained forwards backwards running paused syn match cssFontAttr contained "\" From f622f42d14f4e6e5d948b80ae3cfa4b6034849c3 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Fri, 1 Dec 2017 14:27:19 +0900 Subject: [PATCH 027/400] Follow changes in WD-css-transforms-1-20171130 No changes, see also: http://www.w3.org/TR/2017/WD-css-transforms-1-20171130/ --- after/syntax/css/css-transforms-1.vim | 1 - 1 file changed, 1 deletion(-) diff --git a/after/syntax/css/css-transforms-1.vim b/after/syntax/css/css-transforms-1.vim index e7642ac..bb4f356 100644 --- a/after/syntax/css/css-transforms-1.vim +++ b/after/syntax/css/css-transforms-1.vim @@ -1,4 +1,3 @@ -" TODO: create cssTransformsProp group and cssTransformsAttr group syn match cssFontProp contained "\" syn match cssFontProp contained "\" syn match cssFontProp contained "\" From 1ea88056c1591369f38b712b073fd321e466bc74 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Fri, 1 Dec 2017 14:29:01 +0900 Subject: [PATCH 028/400] Follow changes in WD-css-transitions-1-20171130 No changes, see also: http://www.w3.org/TR/2017/WD-css-transitions-1-20171130/ --- after/syntax/css/{css3-transitions.vim => css-transitions-1.vim} | 1 - 1 file changed, 1 deletion(-) rename after/syntax/css/{css3-transitions.vim => css-transitions-1.vim} (85%) diff --git a/after/syntax/css/css3-transitions.vim b/after/syntax/css/css-transitions-1.vim similarity index 85% rename from after/syntax/css/css3-transitions.vim rename to after/syntax/css/css-transitions-1.vim index 1cd93cb..50e25a0 100644 --- a/after/syntax/css/css3-transitions.vim +++ b/after/syntax/css/css-transitions-1.vim @@ -1,4 +1,3 @@ -" TODO: create cssTransitionsProp group and cssTransitionsAttr group syn match cssFontProp contained "\" syn keyword cssFontAttr contained linear syn match cssFontAttr contained "\" From f52a441267f4c2b721b4aef017bc354db3ee1991 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Wed, 6 Dec 2017 09:40:28 +0900 Subject: [PATCH 029/400] Follow changes in CR-css-color-3-20171205 No changes, see also: http://www.w3.org/TR/2017/CR-css-color-3-20171205/ --- after/syntax/css/{css3-color.vim => css-color-3.vim} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename after/syntax/css/{css3-color.vim => css-color-3.vim} (100%) diff --git a/after/syntax/css/css3-color.vim b/after/syntax/css/css-color-3.vim similarity index 100% rename from after/syntax/css/css3-color.vim rename to after/syntax/css/css-color-3.vim From aed076840855439a03a956809f2dc239c17df596 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Fri, 8 Dec 2017 12:08:29 +0900 Subject: [PATCH 030/400] Add css-writing-modes-4.vim This syntax is for new spec WD-css-writing-modes-4-20171207. See also: http://www.w3.org/TR/2017/WD-css-writing-modes-4-20171207/ This commit also removes deferred properties and values from `css-writing-modes-3.vim`. --- after/syntax/css/css-writing-modes-3.vim | 3 +-- after/syntax/css/css-writing-modes-4.vim | 1 + test/test.css | 7 +++++-- 3 files changed, 7 insertions(+), 4 deletions(-) create mode 100644 after/syntax/css/css-writing-modes-4.vim diff --git a/after/syntax/css/css-writing-modes-3.vim b/after/syntax/css/css-writing-modes-3.vim index a2626e9..d8ce9e3 100644 --- a/after/syntax/css/css-writing-modes-3.vim +++ b/after/syntax/css/css-writing-modes-3.vim @@ -1,8 +1,7 @@ syn match cssFontProp contained "\" syn match cssFontProp contained "\" syn match cssFontProp contained "\" -syn keyword cssFontAttr contained before after mixed upright plaintext -syn match cssFontAttr contained "\" +syn keyword cssFontAttr contained before after mixed upright plaintext sideways syn match cssFontAttr contained "\" syn match cssFontAttr contained "\" syn match cssFontAttr contained "\" diff --git a/after/syntax/css/css-writing-modes-4.vim b/after/syntax/css/css-writing-modes-4.vim new file mode 100644 index 0000000..0dc6082 --- /dev/null +++ b/after/syntax/css/css-writing-modes-4.vim @@ -0,0 +1 @@ +syn match cssFontAttr contained "\" diff --git a/test/test.css b/test/test.css index fea9568..188b324 100644 --- a/test/test.css +++ b/test/test.css @@ -889,8 +889,6 @@ glyph-orientation-vertical: upright; display: plaintext; display: sideways; - display: sideways-rl; - display: sideways-lr; display: isolate; display: isolate-override; display: horizontal-tb; @@ -898,6 +896,11 @@ display: vertical-lr; } +.writing-modes-4 { + display: sideways-rl; + display: sideways-lr; +} + .html5, picture, rb, From f8a7f8001903f84f3d6fbf2b345a80bf36b0cbef Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Tue, 12 Dec 2017 13:15:29 +0900 Subject: [PATCH 031/400] 0.26.0 From b0166696d4bea03f634dd66608d02d2eb59d12ed Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Thu, 14 Dec 2017 22:10:22 +0900 Subject: [PATCH 032/400] Follow changes in PR-css-ui-3-20171214 No changes, see also: http://www.w3.org/TR/2017/PR-css-ui-3-20171214/ From 4f2cae25b20f000fd3e9f4ea51ebfda5a85dc06f Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Thu, 14 Dec 2017 22:15:05 +0900 Subject: [PATCH 033/400] Follow changes in CR-css-counter-styles-3-20171214 No changes, see also: http://www.w3.org/TR/2017/CR-css-counter-styles-3-20171214/ From 65ebb1fec88c02bc1a19adf72e3b04c41c10c171 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Thu, 14 Dec 2017 22:27:18 +0900 Subject: [PATCH 034/400] Follow changes in CR-css-scroll-snap-1-20171214 See also: http://www.w3.org/TR/2017/CR-css-scroll-snap-1-20171214/ --- after/syntax/css/css-scroll-snap-1.vim | 2 +- test/test.css | 22 +++++++++++----------- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/after/syntax/css/css-scroll-snap-1.vim b/after/syntax/css/css-scroll-snap-1.vim index ab9a817..77f654c 100644 --- a/after/syntax/css/css-scroll-snap-1.vim +++ b/after/syntax/css/css-scroll-snap-1.vim @@ -1,3 +1,3 @@ syn match cssFontProp contained "\" -syn match cssFontProp contained "\" +syn match cssFontProp contained "\" syn keyword cssFontAttr contained x y mandatory proximity diff --git a/test/test.css b/test/test.css index 188b324..cacfc81 100644 --- a/test/test.css +++ b/test/test.css @@ -616,7 +616,7 @@ .scroll-snap-1 { scroll-snap-type: x; scroll-padding: y; - scroll-snap-margin: mandatory; + scroll-margin: mandatory; scroll-snap-align: proximity; scroll-snap-stop: auto; scroll-padding-top: auto; @@ -629,16 +629,16 @@ scroll-padding-block-end: auto; scroll-padding-block: auto; scroll-padding-inline: auto; - scroll-snap-margin-top: auto; - scroll-snap-margin-right: auto; - scroll-snap-margin-bottom: auto; - scroll-snap-margin-left: auto; - scroll-snap-margin-inline-start: auto; - scroll-snap-margin-block-start: auto; - scroll-snap-margin-inline-end: auto; - scroll-snap-margin-block-end: auto; - scroll-snap-margin-block: auto; - scroll-snap-margin-inline: auto; + scroll-margin-top: auto; + scroll-margin-right: auto; + scroll-margin-bottom: auto; + scroll-margin-left: auto; + scroll-margin-inline-start: auto; + scroll-margin-block-start: auto; + scroll-margin-inline-end: auto; + scroll-margin-block-end: auto; + scroll-margin-block: auto; + scroll-margin-inline: auto; } .selectors:target, From ddbb38a19499c39930aabdb43d03c4a2743c3090 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Thu, 14 Dec 2017 22:33:22 +0900 Subject: [PATCH 035/400] Follow changes in CR-css-grid-1-20171214 See also: http://www.w3.org/TR/2017/CR-css-grid-1-20171214/ --- after/syntax/css/css-align-3.vim | 2 +- test/test.css | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/after/syntax/css/css-align-3.vim b/after/syntax/css/css-align-3.vim index 91cbaaf..bcd822c 100644 --- a/after/syntax/css/css-align-3.vim +++ b/after/syntax/css/css-align-3.vim @@ -1,5 +1,5 @@ syn match cssFontProp contained "\<\(justify\|align\|place\)-\(self\|content\|items\)\>" -syn match cssFontProp contained "\<\(grid-\)\=\(\(row\|column\)-\)\=gap\>" +syn match cssFontProp contained "\<\(\(row\|column\)-\)\=gap\>" syn keyword cssFontAttr contained safe unsafe legacy syn match cssFontAttr contained "\<\(self\|flex\)-\(start\|end\)\>" syn match cssFontAttr contained "\" diff --git a/test/test.css b/test/test.css index cacfc81..b13b7ba 100644 --- a/test/test.css +++ b/test/test.css @@ -11,9 +11,6 @@ row-gap: legacy; column-gap: auto; gap: auto; - grid-column-gap: auto; - grid-row-gap: auto; - grid-gap: auto; } .animations { From 2ed61056a8e626394b63866ef6d58964d9544346 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Tue, 26 Dec 2017 09:46:16 +0900 Subject: [PATCH 036/400] Follow changes in WD-css-ui-4-20171222 See also: http://www.w3.org/TR/2017/WD-css-ui-4-20171222/ --- after/syntax/css/css-ui-4.vim | 2 +- test/test.css | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/after/syntax/css/css-ui-4.vim b/after/syntax/css/css-ui-4.vim index 8b661b3..4d92916 100644 --- a/after/syntax/css/css-ui-4.vim +++ b/after/syntax/css/css-ui-4.vim @@ -1,3 +1,3 @@ -syn match cssUIProp contained "\" +syn match cssUIProp contained "\" syn keyword cssUIAttr contained fade underscore syn region cssFunction contained matchgroup=cssFunctionName start="\ Date: Thu, 1 Feb 2018 19:33:58 +0900 Subject: [PATCH 037/400] Follow changes in CR-selectors-3-20180130 No changes, see also: https://www.w3.org/TR/2018/CR-selectors-3-20180130/ From b581d37345a2514af5eac1ebc5dcb47ee363c452 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Tue, 6 Feb 2018 12:30:37 +0900 Subject: [PATCH 038/400] Follow changes in WD-selectors-4-20180202 See also: https://www.w3.org/TR/2018/WD-selectors-4-20180202/ --- after/syntax/css/selectors4.vim | 9 +++++---- test/test.css | 19 ++++++++++--------- 2 files changed, 15 insertions(+), 13 deletions(-) diff --git a/after/syntax/css/selectors4.vim b/after/syntax/css/selectors4.vim index 3b9df9f..39f50d4 100644 --- a/after/syntax/css/selectors4.vim +++ b/after/syntax/css/selectors4.vim @@ -1,9 +1,10 @@ syn match cssSelectorOp "[|]" -syn keyword cssPseudoClassId contained scope current past future default valid invalid required optional blank +syn keyword cssPseudoClassId contained scope current past future default valid invalid required optional blank playing paused syn match cssPseudoClassId contained "\<\(any\|local\)-link\>" syn match cssPseudoClassId contained "\" syn match cssPseudoClassId contained "\" syn match cssPseudoClassId contained "\<\(in\|out-of\)-range\>" -syn match cssPseudoClassId contained "\" -syn match cssPseudoClassId contained "\<\(active\|valid\|invalid\)-drop-target\>" -syn region cssPseudoClassLang matchgroup=cssPseudoClassId start=":\(matches\|dir\|local-link\|current\|nth\(-last\)\=-\(match\|column\)\|column\)(" end=")" oneline +syn match cssPseudoClassId contained "\" +syn match cssPseudoClassId contained "\" +syn match cssPseudoClassId contained "\" +syn region cssPseudoClassLang matchgroup=cssPseudoClassId start=":\(matches\|dir\|local-link\|current\|nth\(-last\)\=-col\|has\|drop\)(" end=")" oneline diff --git a/test/test.css b/test/test.css index cb85625..f7cc5d0 100644 --- a/test/test.css +++ b/test/test.css @@ -676,19 +676,20 @@ .selectors4:placeholder-shown, .selectors4:in-range, .selectors4:out-of-range, -.selectors4:user-error, -.selectors4:active-drop-target, -.selectors4:valid-drop-target, -.selectors4:invalid-drop-target, +.selectors4:user-invalid, .selectors4:matches(:hover, :focus), .selectors4:dir(ltr), .selectors4:local-link(0), .selectors4:current(p, li, dt, dd), -.selectors4:nth-match(2n+1), -.selectors4:nth-last-match(-n+2), -.selectors4:nth-column(2n+1), -.selectors4:nth-last-column(-n+2), -.selectors4:column(p, li, dt, dd) { +.selectors4:nth-col(2n+1), +.selectors4:nth-last-col(-n+2), +.selectors4:target-within, +.selectors4:focus-within, +.selectors4:focus-visible, +.selectors4:playing, +.selectors4:paused, +.selectors4:has(> img), +.selectors4:drop(active) { display: auto; } From 95ea1660d10a471990131a14af3a4a22526466e1 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Tue, 6 Feb 2018 12:33:00 +0900 Subject: [PATCH 039/400] 0.26.1 From dac9bf02f877d3f6b514e95b548bef111313ddce Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Wed, 7 Feb 2018 12:53:38 +0900 Subject: [PATCH 040/400] Update filenames A filename should be matched to a spec name. --- .../css/{selectors.vim => selectors-3.vim} | 0 .../css/{selectors4.vim => selectors-4.vim} | 0 test/test.css | 98 +++++++++---------- 3 files changed, 49 insertions(+), 49 deletions(-) rename after/syntax/css/{selectors.vim => selectors-3.vim} (100%) rename after/syntax/css/{selectors4.vim => selectors-4.vim} (100%) diff --git a/after/syntax/css/selectors.vim b/after/syntax/css/selectors-3.vim similarity index 100% rename from after/syntax/css/selectors.vim rename to after/syntax/css/selectors-3.vim diff --git a/after/syntax/css/selectors4.vim b/after/syntax/css/selectors-4.vim similarity index 100% rename from after/syntax/css/selectors4.vim rename to after/syntax/css/selectors-4.vim diff --git a/test/test.css b/test/test.css index f7cc5d0..f7873b0 100644 --- a/test/test.css +++ b/test/test.css @@ -638,58 +638,58 @@ scroll-margin-inline: auto; } -.selectors:target, -.selectors:enabled, -.selectors:disabled, -.selectors:checked, -.selectors:indeterminate, -.selectors:root, -.selectors:empty, -.selectors:last-child, -.selectors:last-of-type, -.selectors:first-of-type, -.selectors:only-child, -.selectors:only-of-type, -.selectors:nth-child(2n+1), -.selectors:nth-last-child(-n+2), -.selectors:nth-of-type(2n+1), -.selectors:nth-last-of-type(n+2), -.selectors:not([DISABLED]) { +.selectors-3:target, +.selectors-3:enabled, +.selectors-3:disabled, +.selectors-3:checked, +.selectors-3:indeterminate, +.selectors-3:root, +.selectors-3:empty, +.selectors-3:last-child, +.selectors-3:last-of-type, +.selectors-3:first-of-type, +.selectors-3:only-child, +.selectors-3:only-of-type, +.selectors-3:nth-child(2n+1), +.selectors-3:nth-last-child(-n+2), +.selectors-3:nth-of-type(2n+1), +.selectors-3:nth-last-of-type(n+2), +.selectors-3:not([DISABLED]) { display: auto; } -.selectors4 | h1, -.selectors4:scope, -.selectors4:current, -.selectors4:past, -.selectors4:future, -.selectors4:default, -.selectors4:valid, -.selectors4:invalid, -.selectors4:required, -.selectors4:optional, -.selectors4:blank, -.selectors4:any-link, -.selectors4:local-link, -.selectors4:read-only, -.selectors4:read-write, -.selectors4:placeholder-shown, -.selectors4:in-range, -.selectors4:out-of-range, -.selectors4:user-invalid, -.selectors4:matches(:hover, :focus), -.selectors4:dir(ltr), -.selectors4:local-link(0), -.selectors4:current(p, li, dt, dd), -.selectors4:nth-col(2n+1), -.selectors4:nth-last-col(-n+2), -.selectors4:target-within, -.selectors4:focus-within, -.selectors4:focus-visible, -.selectors4:playing, -.selectors4:paused, -.selectors4:has(> img), -.selectors4:drop(active) { +.selectors-4 | h1, +.selectors-4:scope, +.selectors-4:current, +.selectors-4:past, +.selectors-4:future, +.selectors-4:default, +.selectors-4:valid, +.selectors-4:invalid, +.selectors-4:required, +.selectors-4:optional, +.selectors-4:blank, +.selectors-4:any-link, +.selectors-4:local-link, +.selectors-4:read-only, +.selectors-4:read-write, +.selectors-4:placeholder-shown, +.selectors-4:in-range, +.selectors-4:out-of-range, +.selectors-4:user-invalid, +.selectors-4:matches(:hover, :focus), +.selectors-4:dir(ltr), +.selectors-4:local-link(0), +.selectors-4:current(p, li, dt, dd), +.selectors-4:nth-col(2n+1), +.selectors-4:nth-last-col(-n+2), +.selectors-4:target-within, +.selectors-4:focus-within, +.selectors-4:focus-visible, +.selectors-4:playing, +.selectors-4:paused, +.selectors-4:has(> img), +.selectors-4:drop(active) { display: auto; } From c957187e2d19815dbbec6bf894f96822a33bdd6c Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Thu, 8 Feb 2018 09:28:42 +0900 Subject: [PATCH 041/400] Add css-grid-2.vim This new syntax file is for CSS Grid Layout Module Level 2. See also: https://www.w3.org/TR/2018/WD-css-grid-2-20180206/ --- after/syntax/css/css-grid-2.vim | 1 + test/test.css | 4 ++++ 2 files changed, 5 insertions(+) create mode 100644 after/syntax/css/css-grid-2.vim diff --git a/after/syntax/css/css-grid-2.vim b/after/syntax/css/css-grid-2.vim new file mode 100644 index 0000000..e12482a --- /dev/null +++ b/after/syntax/css/css-grid-2.vim @@ -0,0 +1 @@ +syn keyword cssFontAttr contained subgrid diff --git a/test/test.css b/test/test.css index f7873b0..aec77f8 100644 --- a/test/test.css +++ b/test/test.css @@ -374,6 +374,10 @@ grid-area: auto; } +.grid-2 { + display: subgrid; +} + .images-3 { object-fit: contain; object-position: cover; From 18ef46ae16c37eb49cd26a8bc5b9c94168f4eca1 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Mon, 26 Feb 2018 09:38:34 +0900 Subject: [PATCH 042/400] Remove link to JulesWang/css.vim This repository is marked as deprecated by the maintainer. --- README.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index da38165..7af704b 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ CSS3 syntax (and syntax defined in some foreign specifications) support for INSTALLATION ------------ -I **strongly** recommend to install this plugin on *Vim 7.4 or higher with +I **strongly** recommend to install this plugin on *Vim 8.0 or higher with default runtime files*. @@ -77,8 +77,7 @@ cyan and bold (on gVim). I drop Media Queries Level 3 support in v0.12.0. There is no easy way to support Media Queries properly with `after` syntax plugin like this one, sorry. If you -want to highlight Media Queries correctly, you must update Vim to 7.4+ or -install [JulesWang/css.vim][2]. +want to highlight Media Queries correctly, you must update Vim to 8.0+. AUTHOR @@ -94,4 +93,3 @@ MIT: http://hail2u.mit-license.org/2011 [1]: http://www.vim.org/ -[2]: https://github.com/JulesWang/css.vim From 216d6d73006234ec2455243f56e9eb09db010f43 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Sun, 4 Mar 2018 19:38:39 +0900 Subject: [PATCH 043/400] Follow changes in CR-css-variables-1-20151203 Forget to update syntax, see also: http://www.w3.org/TR/2015/CR-css-variables-1-20151203/ --- after/syntax/css/css-variables-1.vim | 3 +-- test/test.css | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/after/syntax/css/css-variables-1.vim b/after/syntax/css/css-variables-1.vim index a7c976c..c5d1d54 100644 --- a/after/syntax/css/css-variables-1.vim +++ b/after/syntax/css/css-variables-1.vim @@ -1,3 +1,2 @@ -" TODO: create cssVariableProp group -syn match cssFontProp contained "\" +syn match cssFontProp contained "\<--[A-Za-z_][A-Za-z0-9_-]\+\>" syn region cssFunction contained matchgroup=cssFunctionName start="\ Date: Tue, 6 Mar 2018 11:50:48 +0900 Subject: [PATCH 044/400] Follow changes in WD-css-sizing-3-20180304 See also: http://www.w3.org/TR/2018/WD-css-sizing-3-20180304/ This commit also moves `fit-content()` from `css-grid-1.vim`. --- after/syntax/css/css-grid-1.vim | 2 +- after/syntax/css/css-sizing-3.vim | 3 ++- test/test.css | 4 ++-- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/after/syntax/css/css-grid-1.vim b/after/syntax/css/css-grid-1.vim index fd1830d..22ed79b 100644 --- a/after/syntax/css/css-grid-1.vim +++ b/after/syntax/css/css-grid-1.vim @@ -6,4 +6,4 @@ syn keyword cssFontAttr contained grid dense span syn match cssFontAttr contained "\" syn match cssFontAttr contained "\" syn match cssValueNumber contained "[01]\(.\d\+\)\=fr" -syn region cssFunction contained matchgroup=cssFunctionName start="\<\(minmax\|fit-content\|repeat\)\s*(" end=")" oneline keepend +syn region cssFunction contained matchgroup=cssFunctionName start="\<\(minmax\|repeat\)\s*(" end=")" oneline keepend diff --git a/after/syntax/css/css-sizing-3.vim b/after/syntax/css/css-sizing-3.vim index 3c2c761..4dd6b68 100644 --- a/after/syntax/css/css-sizing-3.vim +++ b/after/syntax/css/css-sizing-3.vim @@ -1 +1,2 @@ -syn match cssFontAttr contained "\<\(\(min\|max\|fit\)-content\)\>" +syn match cssFontAttr contained "\<\(\(min\|max\)-content\)\>" +syn region cssFunction contained matchgroup=cssFunctionName start="\<\(fit-content\)\s*(" end=")" oneline keepend diff --git a/test/test.css b/test/test.css index 41dcdbf..2ea8b56 100644 --- a/test/test.css +++ b/test/test.css @@ -360,7 +360,7 @@ grid-template-columns: grid; grid-template-rows: inline-grid; grid-template-areas: minmax(0, 1); - grid-template: fit-content(10%); + grid-template: auto; grid-auto-rows: repeat(4); grid-auto-columns: 0.2fr; grid-auto-flow: dense; @@ -712,7 +712,7 @@ .sizing-3 { display: max-content; display: min-content; - display: fit-content; + display: fit-content(10%); } .speech { From 88639613565af2565d8c54a4b5fc7f3c48ef382a Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Thu, 15 Mar 2018 14:37:13 +0900 Subject: [PATCH 045/400] Add css-text-decor-4.vim See also: http://www.w3.org/TR/2018/WD-css-text-decor-4-20180313/ This commit also moves some properties and values from `css-text-decor-3.vim`. --- after/syntax/css/css-text-decor-3.vim | 5 ++--- after/syntax/css/css-text-decor-4.vim | 4 ++++ test/test.css | 20 ++++++++++++++------ 3 files changed, 20 insertions(+), 9 deletions(-) create mode 100644 after/syntax/css/css-text-decor-4.vim diff --git a/after/syntax/css/css-text-decor-3.vim b/after/syntax/css/css-text-decor-3.vim index 94af3a5..79a186c 100644 --- a/after/syntax/css/css-text-decor-3.vim +++ b/after/syntax/css/css-text-decor-3.vim @@ -1,3 +1,2 @@ -syn match cssTextProp contained "\" -syn keyword cssTextAttr contained wavy objects alphabetic spaces edges ink under filled dot triangle sesame over -syn match cssTextAttr contained "\" +syn match cssTextProp contained "\" +syn keyword cssTextAttr contained wavy alphabetic ink under filled dot triangle sesame over diff --git a/after/syntax/css/css-text-decor-4.vim b/after/syntax/css/css-text-decor-4.vim new file mode 100644 index 0000000..2e5666a --- /dev/null +++ b/after/syntax/css/css-text-decor-4.vim @@ -0,0 +1,4 @@ +syn match cssTextProp contained "\" +syn keyword cssTextAttr contained objects edges symbols narrow +syn match cssTextAttr contained "\" +syn match cssTextAttr contained "\<\(\(leading\|trailing\)-\)\=spaces\>" diff --git a/test/test.css b/test/test.css index 2ea8b56..26e44c7 100644 --- a/test/test.css +++ b/test/test.css @@ -783,17 +783,25 @@ .text-decor-3 { text-decoration-color: filled; text-decoration-line: dot; - text-decoration-skip: triangle; text-decoration-style: sesame; - text-emphasis: objects; + text-emphasis: alphabetic; text-emphasis-color: ink; - text-emphasis-position: edges; + text-emphasis-position: under; text-emphasis-style: wavy; - display: alphabetic; - display: spaces; - display: box-decoration; display: under; display: over; + display: triangle; +} + +.text-decor-4 { + text-decoration-width: objects; + text-underline-offset: spaces; + text-decoration-skip: leading-spaces; + text-decoration-skip-ink: trailing-spaces; + text-emphasis-skip: edges; + display: box-decoration; + display: symbols; + display: narrow; } .timing-1 { From 9483a44248de43458ffcc3def40158232502dee9 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Fri, 16 Mar 2018 08:50:53 +0900 Subject: [PATCH 046/400] Follow changes in PR-css-color-3-20180315 No changes, see also: https://www.w3.org/TR/2018/PR-css-color-3-20180315/ From a5900d0a835a36243d06d1071c5559e851ded8f1 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Fri, 16 Mar 2018 08:52:42 +0900 Subject: [PATCH 047/400] Remove unnecessary tests --- test/test.css | 3 --- 1 file changed, 3 deletions(-) diff --git a/test/test.css b/test/test.css index 26e44c7..60ebbb8 100644 --- a/test/test.css +++ b/test/test.css @@ -286,9 +286,6 @@ display: auto; } -.fonts-4 { -} - .fonts-3 { font-feature-settings: common-ligatures; font-kerning: no-common-ligatures; From 7a4aafada48a48ba9537b8a932e945ca24862ff1 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Fri, 16 Mar 2018 08:58:22 +0900 Subject: [PATCH 048/400] Follow changes in CR-css-fonts-3-20180315 See also: https://www.w3.org/TR/2018/CR-css-fonts-3-20180315/ --- after/syntax/css/css-fonts-3.vim | 1 - after/syntax/css/css-fonts-4.vim | 1 + test/test.css | 4 ++-- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/after/syntax/css/css-fonts-3.vim b/after/syntax/css/css-fonts-3.vim index 72ab100..16522fa 100644 --- a/after/syntax/css/css-fonts-3.vim +++ b/after/syntax/css/css-fonts-3.vim @@ -1,6 +1,5 @@ syn match cssFontProp contained "\" syn match cssFontProp contained "\" -syn match cssFontProp contained "\" syn match cssFontProp contained "\" syn match cssFontProp contained "\" syn keyword cssFontAttr contained unicase ordinal jis78 jis83 jis90 jis04 simplified traditional diff --git a/after/syntax/css/css-fonts-4.vim b/after/syntax/css/css-fonts-4.vim index 63d02b3..b317e11 100644 --- a/after/syntax/css/css-fonts-4.vim +++ b/after/syntax/css/css-fonts-4.vim @@ -5,6 +5,7 @@ syn match cssFontProp contained "\" syn match cssFontProp contained "\" syn match cssFontProp contained "\" syn match cssFontProp contained "\" +syn match cssFontProp contained "\" syn keyword cssFontAttr contained emoji math fangsong infinity swap fallback optional light dark syn match cssFontAttr contained "\" syn region cssInclude start=/@font-palette-values\>/ end=/\ze{/ skipwhite skipnl contains=css.*Prop,css.*Attr,cssValueInteger,cssValueLength,cssMediaKeyword,cssVendor,cssIncludeKeyword,cssComment nextgroup=cssMediaBlock diff --git a/test/test.css b/test/test.css index 60ebbb8..877b773 100644 --- a/test/test.css +++ b/test/test.css @@ -289,7 +289,6 @@ .fonts-3 { font-feature-settings: common-ligatures; font-kerning: no-common-ligatures; - font-language-override: discretionary-ligatures; font-synthesis: no-discretionary-ligatures; font-variant-alternates: historical-ligatures; font-variant-caps: no-historical-ligatures; @@ -322,6 +321,7 @@ display: simplified; display: traditional; display: proportional-width; + display: discretionary-ligatures; } .fonts-4 { @@ -332,7 +332,7 @@ font-variation-settings: infinity; font-palette: swap; font-presentation: fallback; - display: optional; + font-language-override: optional; display: light; display: dark; } From 5ded300c0d2b9488e676fd8ddc0d9b36ce995158 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Sat, 17 Mar 2018 12:55:47 +0900 Subject: [PATCH 049/400] 0.27.0 From dce15d69edafe047ff41bc48953b1dd6eeb0a918 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Fri, 13 Apr 2018 08:50:24 +0900 Subject: [PATCH 050/400] Follow changes in WD-css-fonts-4-20180410 See also: http://www.w3.org/TR/2018/WD-css-fonts-4-20180410/ --- after/syntax/css/css-fonts-4.vim | 1 + test/test.css | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/after/syntax/css/css-fonts-4.vim b/after/syntax/css/css-fonts-4.vim index b317e11..c9a0250 100644 --- a/after/syntax/css/css-fonts-4.vim +++ b/after/syntax/css/css-fonts-4.vim @@ -6,6 +6,7 @@ syn match cssFontProp contained "\" syn match cssFontProp contained "\" syn match cssFontProp contained "\" syn match cssFontProp contained "\" +syn match cssFontProp contained "\" syn keyword cssFontAttr contained emoji math fangsong infinity swap fallback optional light dark syn match cssFontAttr contained "\" syn region cssInclude start=/@font-palette-values\>/ end=/\ze{/ skipwhite skipnl contains=css.*Prop,css.*Attr,cssValueInteger,cssValueLength,cssMediaKeyword,cssVendor,cssIncludeKeyword,cssComment nextgroup=cssMediaBlock diff --git a/test/test.css b/test/test.css index 877b773..282b7be 100644 --- a/test/test.css +++ b/test/test.css @@ -333,7 +333,7 @@ font-palette: swap; font-presentation: fallback; font-language-override: optional; - display: light; + font-variant-emoji: light; display: dark; } From 64938abead113535b6cc3f37e1be98e6cbf21ea2 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Fri, 13 Apr 2018 08:51:35 +0900 Subject: [PATCH 051/400] Follow changes in WD-css-paint-api-1-20180410 No changes, see also: http://www.w3.org/TR/2018/WD-css-paint-api-1-20180410/ From 2a3742c83e59b0c8a77b7dd4b4606769e3e9019a Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Fri, 13 Apr 2018 08:52:41 +0900 Subject: [PATCH 052/400] Follow changes in WD-css-typed-om-1-20180410 No changes, see also: http://www.w3.org/TR/2018/WD-css-typed-om-1-20180410/ From 1a2eb7cffa17f83750fa3a973ee4e9824121b1a7 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Fri, 13 Apr 2018 22:22:55 +0900 Subject: [PATCH 053/400] Add missing tests --- test/test.css | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/test/test.css b/test/test.css index 282b7be..1ab7f9c 100644 --- a/test/test.css +++ b/test/test.css @@ -510,7 +510,9 @@ column-width: auto; } -@namespace "http://example.com/css3-namespace/"; +.namespace { + display: auto; +} .overflow-3 { max-lines: auto; @@ -557,6 +559,10 @@ offset-start: auto; } +.properties-values-api-1 { + display: auto; +} + .pseudo-4::inactive-selection, .pseudo-4::spelling-error, .pseudo-4::grammer-error { @@ -843,6 +849,10 @@ display: cubic-bezier(0.25, 0.1, 0.25, 1.0); } +.typed-om-1 { + display: auto; +} + .ui-3 { caret-color: grab; display: grabbing; @@ -889,6 +899,10 @@ will-change: scroll-position; } +.worklets-1 { + display: auto; +} + .writing-modes-3 { writing-mode: before; text-orientation: after; From 3a2d8f6368792b3b1730e22797a11e26aa7ed48f Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Fri, 13 Apr 2018 22:25:08 +0900 Subject: [PATCH 054/400] Add css-layout-api-1.vim This syntax file is for CSS Layout API Level 1. See also: https://www.w3.org/TR/css-layout-api-1/ --- after/syntax/css/css-layout-api-1.vim | 1 + test/test.css | 4 ++++ 2 files changed, 5 insertions(+) create mode 100644 after/syntax/css/css-layout-api-1.vim diff --git a/after/syntax/css/css-layout-api-1.vim b/after/syntax/css/css-layout-api-1.vim new file mode 100644 index 0000000..dd72adc --- /dev/null +++ b/after/syntax/css/css-layout-api-1.vim @@ -0,0 +1 @@ +" N/A diff --git a/test/test.css b/test/test.css index 1ab7f9c..61f641c 100644 --- a/test/test.css +++ b/test/test.css @@ -402,6 +402,10 @@ initial-letter-wrap: auto; } +.layout-api-1 { + display: auto; +} + .line-grid-1 { line-grid: create; line-snap: block-start; From c0aa0f39885c581b7ee68991af12ad0880937201 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Tue, 24 Apr 2018 08:06:37 +0900 Subject: [PATCH 055/400] Follow changes in WD-css-display-3-20180420 No changes, see also: https://www.w3.org/TR/2018/WD-css-display-3-20180420/ From 70ad4231588727fc68d7b3f4ab6b5f49e5785ee8 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Wed, 25 Apr 2018 09:22:34 +0900 Subject: [PATCH 056/400] Follow changes in WD-css-align-3-20180423 No changes, see also: http://www.w3.org/TR/2018/WD-css-align-3-20180423/ From d1319a93e4e9197c9d3205e0b65cec6cf3b85cb3 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Sun, 29 Apr 2018 19:03:12 +0900 Subject: [PATCH 057/400] Follow changes in WD-css-grid-2-20180427 See also: http://www.w3.org/TR/2018/WD-css-grid-2-20180427/ --- after/syntax/css/css-grid-2.vim | 1 + test/test.css | 1 + 2 files changed, 2 insertions(+) diff --git a/after/syntax/css/css-grid-2.vim b/after/syntax/css/css-grid-2.vim index e12482a..a216552 100644 --- a/after/syntax/css/css-grid-2.vim +++ b/after/syntax/css/css-grid-2.vim @@ -1 +1,2 @@ syn keyword cssFontAttr contained subgrid +syn match cssValueNumber contained "\d\(.\d\+\)\=ar" diff --git a/test/test.css b/test/test.css index 61f641c..733170f 100644 --- a/test/test.css +++ b/test/test.css @@ -373,6 +373,7 @@ .grid-2 { display: subgrid; + display: 1.618ar; } .images-3 { From 22049b5f2c831d4826acc7430dc28e4171afbf12 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Thu, 24 May 2018 16:10:40 +0900 Subject: [PATCH 058/400] 0.28.0 From 9ee9e64622e173aaac49871e34b1def20bfb7635 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Thu, 24 May 2018 16:04:20 +0900 Subject: [PATCH 059/400] Remove duplicates to Vim 8.1 default runtime This commit also changes file names and test code for maintainability. --- README.md | 2 +- after/syntax/css/align-3.vim | 5 + after/syntax/css/animations-1.vim | 0 after/syntax/css/backgrounds-3.vim | 0 ...ss-backgrounds-4.vim => backgrounds-4.vim} | 0 after/syntax/css/{css3-box.vim => box-3.vim} | 1 - after/syntax/css/break-3.vim | 0 .../css/{css-cascade-3.vim => cascade-3.vim} | 0 .../css/{css-cascade-4.vim => cascade-4.vim} | 0 after/syntax/css/color-3.vim | 0 .../css/{css-color-4.vim => color-4.vim} | 2 - after/syntax/css/compositing-1.vim | 1 - after/syntax/css/conditional-3.vim | 0 .../css/{css-contain-1.vim => contain-1.vim} | 0 .../css/{css-content-3.vim => content-3.vim} | 0 ...nter-styles-3.vim => counter-styles-3.vim} | 3 +- after/syntax/css/css-align-3.vim | 5 - after/syntax/css/css-animations-1.vim | 3 - after/syntax/css/css-backgrounds-3.vim | 6 - after/syntax/css/css-break-3.vim | 3 - after/syntax/css/css-color-3.vim | 3 - after/syntax/css/css-device-adapt-1.vim | 2 - after/syntax/css/css-flexbox-1.vim | 5 - after/syntax/css/css-font-loading-3.vim | 1 - after/syntax/css/css-grid-1.vim | 9 - after/syntax/css/css-layout-api-1.vim | 1 - after/syntax/css/css-multicol-1.vim | 3 - .../css/css-properties-values-api-1.vim | 1 - after/syntax/css/css-style-attr.vim | 1 - after/syntax/css/css-syntax-3.vim | 1 - after/syntax/css/css-tables-3.vim | 1 - after/syntax/css/css-transforms-1.vim | 6 - after/syntax/css/css-transitions-1.vim | 5 - after/syntax/css/css-typed-om-1.vim | 1 - after/syntax/css/css3-conditional.vim | 1 - after/syntax/css/css3-namespace.vim | 1 - after/syntax/css/css3-page.vim | 3 - after/syntax/css/cssom-1.vim | 1 - after/syntax/css/device-adapt-1.vim | 2 + .../css/{css-display-3.vim => display-3.vim} | 0 .../{css3-exclusions.vim => exclusions-3.vim} | 0 after/syntax/css/flexbox-1.vim | 0 after/syntax/css/font-loading-3.vim | 0 .../css/{css-fonts-3.vim => fonts-3.vim} | 4 - .../css/{css-fonts-4.vim => fonts-4.vim} | 3 +- .../syntax/css/{css-gcpm-3.vim => gcpm-3.vim} | 0 after/syntax/css/geometry-1.vim | 1 - after/syntax/css/grid-1.vim | 5 + .../syntax/css/{css-grid-2.vim => grid-2.vim} | 1 - .../css/{css3-images.vim => images-3.vim} | 6 +- .../css/{css-images-4.vim => images-4.vim} | 0 .../css/{css-inline-3.vim => inline-3.vim} | 0 after/syntax/css/layout-api-1.vim | 0 .../{css-line-grid-1.vim => line-grid-1.vim} | 1 - .../css/{css-lists-3.vim => lists-3.vim} | 0 .../css/{css-logical-1.vim => logical-1.vim} | 0 .../css/{css-masking-1.vim => masking-1.vim} | 5 +- after/syntax/css/multicol-1.vim | 1 + after/syntax/css/namespace-3.vim | 0 .../{css-overflow-3.vim => overflow-3.vim} | 0 .../{css-overflow-4.vim => overflow-4.vim} | 0 after/syntax/css/page-3.vim | 1 + ...ss-page-floats-3.vim => page-floats-3.vim} | 0 .../{css-paint-api-1.vim => paint-api-1.vim} | 0 .../{css-position-3.vim => position-3.vim} | 0 after/syntax/css/properties-values-api-1.vim | 0 .../css/{css-pseudo-4.vim => pseudo-4.vim} | 0 .../css/{css-regions-1.vim => regions-1.vim} | 0 .../css/{css-rhythm-1.vim => rhythm-1.vim} | 0 ...ound-display-1.vim => round-display-1.vim} | 0 .../syntax/css/{css-ruby-1.vim => ruby-1.vim} | 0 .../css/{css-scoping-1.vim => scoping-1.vim} | 2 +- ...ss-scroll-snap-1.vim => scroll-snap-1.vim} | 0 after/syntax/css/selectors-3.vim | 5 +- after/syntax/css/selectors-4.vim | 2 +- .../css/{css-shapes-1.vim => shapes-1.vim} | 0 .../css/{css-sizing-3.vim => sizing-3.vim} | 0 .../css/{css3-speech.vim => speech-3.vim} | 0 after/syntax/css/style-attr.vim | 0 after/syntax/css/svg2.vim | 7 +- after/syntax/css/syntax-3.vim | 0 after/syntax/css/tables-3.vim | 0 .../syntax/css/{css-text-3.vim => text-3.vim} | 0 .../syntax/css/{css-text-4.vim => text-4.vim} | 0 ...{css-text-decor-3.vim => text-decor-3.vim} | 0 ...{css-text-decor-4.vim => text-decor-4.vim} | 0 .../css/{css-timing-1.vim => timing-1.vim} | 0 after/syntax/css/transforms-1.vim | 1 + after/syntax/css/transitions-1.vim | 0 after/syntax/css/typed-om-1.vim | 0 after/syntax/css/{css-ui-3.vim => ui-3.vim} | 0 after/syntax/css/{css-ui-4.vim => ui-4.vim} | 0 .../css/{css-values-3.vim => values-3.vim} | 0 .../{css-variables-1.vim => variables-1.vim} | 0 after/syntax/css/web-animations-1.vim | 1 - ...ss-will-change-1.vim => will-change-1.vim} | 0 after/syntax/css/worklets-1.vim | 1 - ...riting-modes-3.vim => writing-modes-3.vim} | 0 ...riting-modes-4.vim => writing-modes-4.vim} | 0 test/test.css | 919 ++++++++++-------- 100 files changed, 520 insertions(+), 525 deletions(-) create mode 100644 after/syntax/css/align-3.vim create mode 100644 after/syntax/css/animations-1.vim create mode 100644 after/syntax/css/backgrounds-3.vim rename after/syntax/css/{css-backgrounds-4.vim => backgrounds-4.vim} (100%) rename after/syntax/css/{css3-box.vim => box-3.vim} (81%) create mode 100644 after/syntax/css/break-3.vim rename after/syntax/css/{css-cascade-3.vim => cascade-3.vim} (100%) rename after/syntax/css/{css-cascade-4.vim => cascade-4.vim} (100%) create mode 100644 after/syntax/css/color-3.vim rename after/syntax/css/{css-color-4.vim => color-4.vim} (71%) create mode 100644 after/syntax/css/conditional-3.vim rename after/syntax/css/{css-contain-1.vim => contain-1.vim} (100%) rename after/syntax/css/{css-content-3.vim => content-3.vim} (100%) rename after/syntax/css/{css-counter-styles-3.vim => counter-styles-3.vim} (79%) delete mode 100644 after/syntax/css/css-align-3.vim delete mode 100644 after/syntax/css/css-animations-1.vim delete mode 100644 after/syntax/css/css-backgrounds-3.vim delete mode 100644 after/syntax/css/css-break-3.vim delete mode 100644 after/syntax/css/css-color-3.vim delete mode 100644 after/syntax/css/css-device-adapt-1.vim delete mode 100644 after/syntax/css/css-flexbox-1.vim delete mode 100644 after/syntax/css/css-font-loading-3.vim delete mode 100644 after/syntax/css/css-grid-1.vim delete mode 100644 after/syntax/css/css-layout-api-1.vim delete mode 100644 after/syntax/css/css-multicol-1.vim delete mode 100644 after/syntax/css/css-properties-values-api-1.vim delete mode 100644 after/syntax/css/css-style-attr.vim delete mode 100644 after/syntax/css/css-syntax-3.vim delete mode 100644 after/syntax/css/css-tables-3.vim delete mode 100644 after/syntax/css/css-transforms-1.vim delete mode 100644 after/syntax/css/css-transitions-1.vim delete mode 100644 after/syntax/css/css-typed-om-1.vim delete mode 100644 after/syntax/css/css3-conditional.vim delete mode 100644 after/syntax/css/css3-namespace.vim delete mode 100644 after/syntax/css/css3-page.vim create mode 100644 after/syntax/css/device-adapt-1.vim rename after/syntax/css/{css-display-3.vim => display-3.vim} (100%) rename after/syntax/css/{css3-exclusions.vim => exclusions-3.vim} (100%) create mode 100644 after/syntax/css/flexbox-1.vim create mode 100644 after/syntax/css/font-loading-3.vim rename after/syntax/css/{css-fonts-3.vim => fonts-3.vim} (76%) rename after/syntax/css/{css-fonts-4.vim => fonts-4.vim} (67%) rename after/syntax/css/{css-gcpm-3.vim => gcpm-3.vim} (100%) create mode 100644 after/syntax/css/grid-1.vim rename after/syntax/css/{css-grid-2.vim => grid-2.vim} (55%) rename after/syntax/css/{css3-images.vim => images-3.vim} (67%) rename after/syntax/css/{css-images-4.vim => images-4.vim} (100%) rename after/syntax/css/{css-inline-3.vim => inline-3.vim} (100%) create mode 100644 after/syntax/css/layout-api-1.vim rename after/syntax/css/{css-line-grid-1.vim => line-grid-1.vim} (83%) rename after/syntax/css/{css-lists-3.vim => lists-3.vim} (100%) rename after/syntax/css/{css-logical-1.vim => logical-1.vim} (100%) rename after/syntax/css/{css-masking-1.vim => masking-1.vim} (77%) create mode 100644 after/syntax/css/multicol-1.vim create mode 100644 after/syntax/css/namespace-3.vim rename after/syntax/css/{css-overflow-3.vim => overflow-3.vim} (100%) rename after/syntax/css/{css-overflow-4.vim => overflow-4.vim} (100%) create mode 100644 after/syntax/css/page-3.vim rename after/syntax/css/{css-page-floats-3.vim => page-floats-3.vim} (100%) rename after/syntax/css/{css-paint-api-1.vim => paint-api-1.vim} (100%) rename after/syntax/css/{css-position-3.vim => position-3.vim} (100%) create mode 100644 after/syntax/css/properties-values-api-1.vim rename after/syntax/css/{css-pseudo-4.vim => pseudo-4.vim} (100%) rename after/syntax/css/{css-regions-1.vim => regions-1.vim} (100%) rename after/syntax/css/{css-rhythm-1.vim => rhythm-1.vim} (100%) rename after/syntax/css/{css-round-display-1.vim => round-display-1.vim} (100%) rename after/syntax/css/{css-ruby-1.vim => ruby-1.vim} (100%) rename after/syntax/css/{css-scoping-1.vim => scoping-1.vim} (73%) rename after/syntax/css/{css-scroll-snap-1.vim => scroll-snap-1.vim} (100%) rename after/syntax/css/{css-shapes-1.vim => shapes-1.vim} (100%) rename after/syntax/css/{css-sizing-3.vim => sizing-3.vim} (100%) rename after/syntax/css/{css3-speech.vim => speech-3.vim} (100%) create mode 100644 after/syntax/css/style-attr.vim create mode 100644 after/syntax/css/syntax-3.vim create mode 100644 after/syntax/css/tables-3.vim rename after/syntax/css/{css-text-3.vim => text-3.vim} (100%) rename after/syntax/css/{css-text-4.vim => text-4.vim} (100%) rename after/syntax/css/{css-text-decor-3.vim => text-decor-3.vim} (100%) rename after/syntax/css/{css-text-decor-4.vim => text-decor-4.vim} (100%) rename after/syntax/css/{css-timing-1.vim => timing-1.vim} (100%) create mode 100644 after/syntax/css/transforms-1.vim create mode 100644 after/syntax/css/transitions-1.vim create mode 100644 after/syntax/css/typed-om-1.vim rename after/syntax/css/{css-ui-3.vim => ui-3.vim} (100%) rename after/syntax/css/{css-ui-4.vim => ui-4.vim} (100%) rename after/syntax/css/{css-values-3.vim => values-3.vim} (100%) rename after/syntax/css/{css-variables-1.vim => variables-1.vim} (100%) rename after/syntax/css/{css-will-change-1.vim => will-change-1.vim} (100%) rename after/syntax/css/{css-writing-modes-3.vim => writing-modes-3.vim} (100%) rename after/syntax/css/{css-writing-modes-4.vim => writing-modes-4.vim} (100%) diff --git a/README.md b/README.md index 7af704b..cf35f36 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ CSS3 syntax (and syntax defined in some foreign specifications) support for INSTALLATION ------------ -I **strongly** recommend to install this plugin on *Vim 8.0 or higher with +I **strongly** recommend to install this plugin on *Vim 8.1 or higher with default runtime files*. diff --git a/after/syntax/css/align-3.vim b/after/syntax/css/align-3.vim new file mode 100644 index 0000000..632679e --- /dev/null +++ b/after/syntax/css/align-3.vim @@ -0,0 +1,5 @@ +syn match cssFontProp contained "\" +syn match cssFontProp contained "\<\(row-\)\=gap\>" +syn keyword cssFontAttr contained safe unsafe legacy +syn match cssFontAttr contained "\" +syn match cssFontAttr contained "\" diff --git a/after/syntax/css/animations-1.vim b/after/syntax/css/animations-1.vim new file mode 100644 index 0000000..e69de29 diff --git a/after/syntax/css/backgrounds-3.vim b/after/syntax/css/backgrounds-3.vim new file mode 100644 index 0000000..e69de29 diff --git a/after/syntax/css/css-backgrounds-4.vim b/after/syntax/css/backgrounds-4.vim similarity index 100% rename from after/syntax/css/css-backgrounds-4.vim rename to after/syntax/css/backgrounds-4.vim diff --git a/after/syntax/css/css3-box.vim b/after/syntax/css/box-3.vim similarity index 81% rename from after/syntax/css/css3-box.vim rename to after/syntax/css/box-3.vim index 56ddbb2..9250c91 100644 --- a/after/syntax/css/css3-box.vim +++ b/after/syntax/css/box-3.vim @@ -2,4 +2,3 @@ syn match cssBoxProp contained "\" syn match cssBoxProp contained "\" syn keyword cssBoxAttr contained scrollbar panner marquee syn match cssBoxAttr contained "\" -syn match cssBoxAttr contained "\" diff --git a/after/syntax/css/break-3.vim b/after/syntax/css/break-3.vim new file mode 100644 index 0000000..e69de29 diff --git a/after/syntax/css/css-cascade-3.vim b/after/syntax/css/cascade-3.vim similarity index 100% rename from after/syntax/css/css-cascade-3.vim rename to after/syntax/css/cascade-3.vim diff --git a/after/syntax/css/css-cascade-4.vim b/after/syntax/css/cascade-4.vim similarity index 100% rename from after/syntax/css/css-cascade-4.vim rename to after/syntax/css/cascade-4.vim diff --git a/after/syntax/css/color-3.vim b/after/syntax/css/color-3.vim new file mode 100644 index 0000000..e69de29 diff --git a/after/syntax/css/css-color-4.vim b/after/syntax/css/color-4.vim similarity index 71% rename from after/syntax/css/css-color-4.vim rename to after/syntax/css/color-4.vim index b5b0108..7ebb950 100644 --- a/after/syntax/css/css-color-4.vim +++ b/after/syntax/css/color-4.vim @@ -1,5 +1,3 @@ syn match cssColorProp contained "\" -syn keyword cssColor contained rebeccapurple -syn match cssColor contained "#[0-9A-Fa-f]\{8\}\>" contains=cssUnitDecorators syn region cssFunction contained matchgroup=cssFunctionName start="\<\(hwb\|lab\|lch\|gray\|color\|device-cmyk\|color-mod\=\)\s*(" end=")" oneline keepend syn match cssFontDescriptor "@color-profile\>" nextgroup=cssFontDescriptorBlock skipwhite skipnl diff --git a/after/syntax/css/compositing-1.vim b/after/syntax/css/compositing-1.vim index b0c80e2..9a62e64 100644 --- a/after/syntax/css/compositing-1.vim +++ b/after/syntax/css/compositing-1.vim @@ -1,4 +1,3 @@ -" TODO: create cssCompositingProp and cssCompositingAttr syn keyword cssFontProp contained isolation syn match cssFontProp contained "\<\(mix\|background\)-blend-mode\>" syn keyword cssFontAttr contained multiply screen overlay darken lighten color-dodge color-burn hard-light soft-light difference exclusion hue saturation color luminosity diff --git a/after/syntax/css/conditional-3.vim b/after/syntax/css/conditional-3.vim new file mode 100644 index 0000000..e69de29 diff --git a/after/syntax/css/css-contain-1.vim b/after/syntax/css/contain-1.vim similarity index 100% rename from after/syntax/css/css-contain-1.vim rename to after/syntax/css/contain-1.vim diff --git a/after/syntax/css/css-content-3.vim b/after/syntax/css/content-3.vim similarity index 100% rename from after/syntax/css/css-content-3.vim rename to after/syntax/css/content-3.vim diff --git a/after/syntax/css/css-counter-styles-3.vim b/after/syntax/css/counter-styles-3.vim similarity index 79% rename from after/syntax/css/css-counter-styles-3.vim rename to after/syntax/css/counter-styles-3.vim index b6bea85..83c3fa3 100644 --- a/after/syntax/css/css-counter-styles-3.vim +++ b/after/syntax/css/counter-styles-3.vim @@ -1,5 +1,3 @@ -" TODO: create cssCounterStyleDescriptor for `@counter-style` descriptors -syn region cssInclude start=/@counter-style\>/ end=/\ze{/ skipwhite skipnl contains=css.*Prop,css.*Attr,cssValueInteger,cssValueLength,cssMediaKeyword,cssVendor,cssIncludeKeyword,cssComment nextgroup=cssMediaBlock syn keyword cssGeneratedContentProp contained system negative prefix suffix range pad fallback syn match cssGeneratedContentProp contained "\<\(additive-\)\=symbols\>" syn match cssGeneratedContentProp contained "\" @@ -12,3 +10,4 @@ syn match cssGeneratedContentAttr contained "\" syn match cssGeneratedContentAttr contained "\<\(japanese\|korean-hanja\|\(simp\|trad\)-chinese\)-\(in\)\=formal\>" syn match cssGeneratedContentAttr contained "\" syn region cssFunction contained matchgroup=cssFunctionName start="\" nextgroup=cssFontDescriptorBlock skipwhite skipnl diff --git a/after/syntax/css/css-align-3.vim b/after/syntax/css/css-align-3.vim deleted file mode 100644 index bcd822c..0000000 --- a/after/syntax/css/css-align-3.vim +++ /dev/null @@ -1,5 +0,0 @@ -syn match cssFontProp contained "\<\(justify\|align\|place\)-\(self\|content\|items\)\>" -syn match cssFontProp contained "\<\(\(row\|column\)-\)\=gap\>" -syn keyword cssFontAttr contained safe unsafe legacy -syn match cssFontAttr contained "\<\(self\|flex\)-\(start\|end\)\>" -syn match cssFontAttr contained "\" diff --git a/after/syntax/css/css-animations-1.vim b/after/syntax/css/css-animations-1.vim deleted file mode 100644 index 79d5bdb..0000000 --- a/after/syntax/css/css-animations-1.vim +++ /dev/null @@ -1,3 +0,0 @@ -syn match cssFontProp contained "\" -syn keyword cssFontAttr contained forwards backwards running paused -syn match cssFontAttr contained "\" diff --git a/after/syntax/css/css-backgrounds-3.vim b/after/syntax/css/css-backgrounds-3.vim deleted file mode 100644 index cc2db6f..0000000 --- a/after/syntax/css/css-backgrounds-3.vim +++ /dev/null @@ -1,6 +0,0 @@ -syn match cssFontProp contained "\" -syn match cssFontProp contained "\" -syn match cssFontProp contained "\" -syn match cssFontProp contained "\" -syn keyword cssFontAttr contained space round local fill stretch clone slice -syn match cssFontAttr contained "\<\(padding\|border\|content\)-box\>" diff --git a/after/syntax/css/css-break-3.vim b/after/syntax/css/css-break-3.vim deleted file mode 100644 index e3ab359..0000000 --- a/after/syntax/css/css-break-3.vim +++ /dev/null @@ -1,3 +0,0 @@ -syn match cssFontProp contained "\" -syn match cssFontProp contained "\" -syn match cssFontAttr contained "\<\(avoid-\)\=column\>" diff --git a/after/syntax/css/css-color-3.vim b/after/syntax/css/css-color-3.vim deleted file mode 100644 index c4b0149..0000000 --- a/after/syntax/css/css-color-3.vim +++ /dev/null @@ -1,3 +0,0 @@ -syn region cssFunction contained matchgroup=cssFunctionName start="\<\(rgba\|hsla\=\)\s*(" end=")" oneline keepend -syn keyword cssColorProp contained opacity -syn match cssColor contained "\" diff --git a/after/syntax/css/css-device-adapt-1.vim b/after/syntax/css/css-device-adapt-1.vim deleted file mode 100644 index 75edaeb..0000000 --- a/after/syntax/css/css-device-adapt-1.vim +++ /dev/null @@ -1,2 +0,0 @@ -syn match cssFontProp contained "\<\(min\|max\|user\)-zoom\>" -syn region cssInclude start=/@viewport\>/ end=/\ze{/ skipwhite skipnl contains=css.*Prop,css.*Attr,cssValueInteger,cssValueLength,cssMediaKeyword,cssVendor,cssIncludeKeyword,cssComment nextgroup=cssMediaBlock diff --git a/after/syntax/css/css-flexbox-1.vim b/after/syntax/css/css-flexbox-1.vim deleted file mode 100644 index c6e511e..0000000 --- a/after/syntax/css/css-flexbox-1.vim +++ /dev/null @@ -1,5 +0,0 @@ -syn keyword cssFontProp order -syn match cssFontProp contained "\" -syn keyword cssFontAttr contained flex row wrap -syn match cssFontAttr contained "\" -syn match cssFontAttr contained "\<\(row\|column\|wrap\)-reverse\>" diff --git a/after/syntax/css/css-font-loading-3.vim b/after/syntax/css/css-font-loading-3.vim deleted file mode 100644 index dd72adc..0000000 --- a/after/syntax/css/css-font-loading-3.vim +++ /dev/null @@ -1 +0,0 @@ -" N/A diff --git a/after/syntax/css/css-grid-1.vim b/after/syntax/css/css-grid-1.vim deleted file mode 100644 index 22ed79b..0000000 --- a/after/syntax/css/css-grid-1.vim +++ /dev/null @@ -1,9 +0,0 @@ -syn match cssFontProp contained "\" -syn match cssFontProp contained "\" -syn match cssFontProp contained "\" -syn match cssFontProp contained "\" -syn keyword cssFontAttr contained grid dense span -syn match cssFontAttr contained "\" -syn match cssFontAttr contained "\" -syn match cssValueNumber contained "[01]\(.\d\+\)\=fr" -syn region cssFunction contained matchgroup=cssFunctionName start="\<\(minmax\|repeat\)\s*(" end=")" oneline keepend diff --git a/after/syntax/css/css-layout-api-1.vim b/after/syntax/css/css-layout-api-1.vim deleted file mode 100644 index dd72adc..0000000 --- a/after/syntax/css/css-layout-api-1.vim +++ /dev/null @@ -1 +0,0 @@ -" N/A diff --git a/after/syntax/css/css-multicol-1.vim b/after/syntax/css/css-multicol-1.vim deleted file mode 100644 index 3088a8b..0000000 --- a/after/syntax/css/css-multicol-1.vim +++ /dev/null @@ -1,3 +0,0 @@ -syn keyword cssFontProp contained columns -syn match cssFontProp contained "\" -syn match cssFontAttr contained "\" diff --git a/after/syntax/css/css-properties-values-api-1.vim b/after/syntax/css/css-properties-values-api-1.vim deleted file mode 100644 index dd72adc..0000000 --- a/after/syntax/css/css-properties-values-api-1.vim +++ /dev/null @@ -1 +0,0 @@ -" N/A diff --git a/after/syntax/css/css-style-attr.vim b/after/syntax/css/css-style-attr.vim deleted file mode 100644 index dd72adc..0000000 --- a/after/syntax/css/css-style-attr.vim +++ /dev/null @@ -1 +0,0 @@ -" N/A diff --git a/after/syntax/css/css-syntax-3.vim b/after/syntax/css/css-syntax-3.vim deleted file mode 100644 index dd72adc..0000000 --- a/after/syntax/css/css-syntax-3.vim +++ /dev/null @@ -1 +0,0 @@ -" N/A diff --git a/after/syntax/css/css-tables-3.vim b/after/syntax/css/css-tables-3.vim deleted file mode 100644 index dd72adc..0000000 --- a/after/syntax/css/css-tables-3.vim +++ /dev/null @@ -1 +0,0 @@ -" N/A diff --git a/after/syntax/css/css-transforms-1.vim b/after/syntax/css/css-transforms-1.vim deleted file mode 100644 index bb4f356..0000000 --- a/after/syntax/css/css-transforms-1.vim +++ /dev/null @@ -1,6 +0,0 @@ -syn match cssFontProp contained "\" -syn match cssFontProp contained "\" -syn match cssFontProp contained "\" -syn keyword cssFontAttr contained flat -syn match cssFontAttr contained "\" -syn region cssFunction contained matchgroup=cssFunctionName start="\<\(matrix\(3d\)\=\|translate\(3d\|X\|Y\|Z\)\=\|scale\(3d\|X\|Y\|Z\)\=\|rotate\(3d\|X\|Y\|Z\)\=\|skew\(X\|Y\)\=\|perspective\)\s*(" end=")" oneline keepend diff --git a/after/syntax/css/css-transitions-1.vim b/after/syntax/css/css-transitions-1.vim deleted file mode 100644 index 50e25a0..0000000 --- a/after/syntax/css/css-transitions-1.vim +++ /dev/null @@ -1,5 +0,0 @@ -syn match cssFontProp contained "\" -syn keyword cssFontAttr contained linear -syn match cssFontAttr contained "\" -syn match cssFontAttr contained "\" -syn region cssFunction contained matchgroup=cssFunctionName start="\<\(steps\|cubic-bezier\)\s*(" end=")" oneline keepend diff --git a/after/syntax/css/css-typed-om-1.vim b/after/syntax/css/css-typed-om-1.vim deleted file mode 100644 index dd72adc..0000000 --- a/after/syntax/css/css-typed-om-1.vim +++ /dev/null @@ -1 +0,0 @@ -" N/A diff --git a/after/syntax/css/css3-conditional.vim b/after/syntax/css/css3-conditional.vim deleted file mode 100644 index 9bb5c3e..0000000 --- a/after/syntax/css/css3-conditional.vim +++ /dev/null @@ -1 +0,0 @@ -syn region cssInclude start=/@supports\>/ end=/\ze{/ skipwhite skipnl contains=css.*Prop,css.*Attr,cssValueInteger,cssValueLength,cssMediaKeyword,cssVendor,cssIncludeKeyword,cssComment nextgroup=cssMediaBlock diff --git a/after/syntax/css/css3-namespace.vim b/after/syntax/css/css3-namespace.vim deleted file mode 100644 index dd72adc..0000000 --- a/after/syntax/css/css3-namespace.vim +++ /dev/null @@ -1 +0,0 @@ -" N/A diff --git a/after/syntax/css/css3-page.vim b/after/syntax/css/css3-page.vim deleted file mode 100644 index 162807c..0000000 --- a/after/syntax/css/css3-page.vim +++ /dev/null @@ -1,3 +0,0 @@ -" TODO: Create cssPageAttr group -syn keyword cssFontAttr contained recto verso -syn match cssFontAttr contained "\<\(avoid-\)\=page\>" diff --git a/after/syntax/css/cssom-1.vim b/after/syntax/css/cssom-1.vim index dd72adc..e69de29 100644 --- a/after/syntax/css/cssom-1.vim +++ b/after/syntax/css/cssom-1.vim @@ -1 +0,0 @@ -" N/A diff --git a/after/syntax/css/device-adapt-1.vim b/after/syntax/css/device-adapt-1.vim new file mode 100644 index 0000000..476eb63 --- /dev/null +++ b/after/syntax/css/device-adapt-1.vim @@ -0,0 +1,2 @@ +syn match cssFontProp contained "\<\(min\|max\|user\)-zoom\>" +syn match cssFontDescriptor "@viewport\>" nextgroup=cssFontDescriptorBlock skipwhite skipnl diff --git a/after/syntax/css/css-display-3.vim b/after/syntax/css/display-3.vim similarity index 100% rename from after/syntax/css/css-display-3.vim rename to after/syntax/css/display-3.vim diff --git a/after/syntax/css/css3-exclusions.vim b/after/syntax/css/exclusions-3.vim similarity index 100% rename from after/syntax/css/css3-exclusions.vim rename to after/syntax/css/exclusions-3.vim diff --git a/after/syntax/css/flexbox-1.vim b/after/syntax/css/flexbox-1.vim new file mode 100644 index 0000000..e69de29 diff --git a/after/syntax/css/font-loading-3.vim b/after/syntax/css/font-loading-3.vim new file mode 100644 index 0000000..e69de29 diff --git a/after/syntax/css/css-fonts-3.vim b/after/syntax/css/fonts-3.vim similarity index 76% rename from after/syntax/css/css-fonts-3.vim rename to after/syntax/css/fonts-3.vim index 16522fa..bf75c5d 100644 --- a/after/syntax/css/css-fonts-3.vim +++ b/after/syntax/css/fonts-3.vim @@ -1,7 +1,3 @@ -syn match cssFontProp contained "\" -syn match cssFontProp contained "\" -syn match cssFontProp contained "\" -syn match cssFontProp contained "\" syn keyword cssFontAttr contained unicase ordinal jis78 jis83 jis90 jis04 simplified traditional syn match cssFontAttr contained "\<\(no-\)\=\(common\|discretionary\|historical\)-ligatures\>" syn match cssFontAttr contained "\<\(no-\)\=contextual\>" diff --git a/after/syntax/css/css-fonts-4.vim b/after/syntax/css/fonts-4.vim similarity index 67% rename from after/syntax/css/css-fonts-4.vim rename to after/syntax/css/fonts-4.vim index c9a0250..30a7888 100644 --- a/after/syntax/css/css-fonts-4.vim +++ b/after/syntax/css/fonts-4.vim @@ -5,8 +5,7 @@ syn match cssFontProp contained "\" syn match cssFontProp contained "\" syn match cssFontProp contained "\" syn match cssFontProp contained "\" -syn match cssFontProp contained "\" syn match cssFontProp contained "\" syn keyword cssFontAttr contained emoji math fangsong infinity swap fallback optional light dark syn match cssFontAttr contained "\" -syn region cssInclude start=/@font-palette-values\>/ end=/\ze{/ skipwhite skipnl contains=css.*Prop,css.*Attr,cssValueInteger,cssValueLength,cssMediaKeyword,cssVendor,cssIncludeKeyword,cssComment nextgroup=cssMediaBlock +syn match cssFontDescriptor "@font-palette-values\>" nextgroup=cssFontDescriptorBlock skipwhite skipnl diff --git a/after/syntax/css/css-gcpm-3.vim b/after/syntax/css/gcpm-3.vim similarity index 100% rename from after/syntax/css/css-gcpm-3.vim rename to after/syntax/css/gcpm-3.vim diff --git a/after/syntax/css/geometry-1.vim b/after/syntax/css/geometry-1.vim index dd72adc..e69de29 100644 --- a/after/syntax/css/geometry-1.vim +++ b/after/syntax/css/geometry-1.vim @@ -1 +0,0 @@ -" N/A diff --git a/after/syntax/css/grid-1.vim b/after/syntax/css/grid-1.vim new file mode 100644 index 0000000..6a61f34 --- /dev/null +++ b/after/syntax/css/grid-1.vim @@ -0,0 +1,5 @@ +syn match cssFontProp contained "\" +syn keyword cssFontAttr contained dense span +syn match cssFontAttr contained "\" +syn match cssValueNumber contained "[01]\(.\d\+\)\=fr" +syn region cssFunction contained matchgroup=cssFunctionName start="\<\(minmax\|repeat\)\s*(" end=")" oneline keepend diff --git a/after/syntax/css/css-grid-2.vim b/after/syntax/css/grid-2.vim similarity index 55% rename from after/syntax/css/css-grid-2.vim rename to after/syntax/css/grid-2.vim index a216552..900c8d1 100644 --- a/after/syntax/css/css-grid-2.vim +++ b/after/syntax/css/grid-2.vim @@ -1,2 +1 @@ -syn keyword cssFontAttr contained subgrid syn match cssValueNumber contained "\d\(.\d\+\)\=ar" diff --git a/after/syntax/css/css3-images.vim b/after/syntax/css/images-3.vim similarity index 67% rename from after/syntax/css/css3-images.vim rename to after/syntax/css/images-3.vim index de283f4..c10d823 100644 --- a/after/syntax/css/css3-images.vim +++ b/after/syntax/css/images-3.vim @@ -1,6 +1,6 @@ syn match cssFontProp contained "\" syn match cssFontProp contained "\" -syn keyword cssFontAttr contained contain cover snap -syn match cssFontAttr contained "\" +syn keyword cssFontAttr contained snap syn match cssFontAttr contained "\" -syn region cssFunction contained matchgroup=cssFunctionName start="\<\(\(repeating-\)\=\(linear\|radial\)-gradient\)\s*(" end=")" oneline keepend +syn match cssFontAttr contained "\" +syn region cssFunction contained matchgroup=cssFunctionName start="\<\(repeating-\(linear\|radial\)-gradient\)\s*(" end=")" oneline keepend diff --git a/after/syntax/css/css-images-4.vim b/after/syntax/css/images-4.vim similarity index 100% rename from after/syntax/css/css-images-4.vim rename to after/syntax/css/images-4.vim diff --git a/after/syntax/css/css-inline-3.vim b/after/syntax/css/inline-3.vim similarity index 100% rename from after/syntax/css/css-inline-3.vim rename to after/syntax/css/inline-3.vim diff --git a/after/syntax/css/layout-api-1.vim b/after/syntax/css/layout-api-1.vim new file mode 100644 index 0000000..e69de29 diff --git a/after/syntax/css/css-line-grid-1.vim b/after/syntax/css/line-grid-1.vim similarity index 83% rename from after/syntax/css/css-line-grid-1.vim rename to after/syntax/css/line-grid-1.vim index 35de05b..78c3fe9 100644 --- a/after/syntax/css/css-line-grid-1.vim +++ b/after/syntax/css/line-grid-1.vim @@ -1,4 +1,3 @@ -" TODO: create cssLineGridProp and cssLineGridAttr syn match cssFontProp contained "\" syn keyword cssFontAttr contained create diff --git a/after/syntax/css/css-lists-3.vim b/after/syntax/css/lists-3.vim similarity index 100% rename from after/syntax/css/css-lists-3.vim rename to after/syntax/css/lists-3.vim diff --git a/after/syntax/css/css-logical-1.vim b/after/syntax/css/logical-1.vim similarity index 100% rename from after/syntax/css/css-logical-1.vim rename to after/syntax/css/logical-1.vim diff --git a/after/syntax/css/css-masking-1.vim b/after/syntax/css/masking-1.vim similarity index 77% rename from after/syntax/css/css-masking-1.vim rename to after/syntax/css/masking-1.vim index 2136111..224c9ba 100644 --- a/after/syntax/css/css-masking-1.vim +++ b/after/syntax/css/masking-1.vim @@ -1,10 +1,7 @@ -" TODO: create cssMaskingProp group and cssMaskingValue group syn match cssFontProp contained "\" syn match cssFontProp contained "\" syn match cssFontProp contained "\" syn keyword cssFontAttr contained nonzero evenodd alpha luminance add subtract intersect exclude syn match cssFontAttr contained "\<\(fill\|stroke\|view\)-box\>" syn match cssFontAttr contained "\" - -" http://www.w3.org/TR/css-masking/#MaskElement -syn keyword cssTagName mask +syn match cssTagName "\" diff --git a/after/syntax/css/multicol-1.vim b/after/syntax/css/multicol-1.vim new file mode 100644 index 0000000..1f08bb6 --- /dev/null +++ b/after/syntax/css/multicol-1.vim @@ -0,0 +1 @@ +syn match cssFontAttr contained "\" diff --git a/after/syntax/css/namespace-3.vim b/after/syntax/css/namespace-3.vim new file mode 100644 index 0000000..e69de29 diff --git a/after/syntax/css/css-overflow-3.vim b/after/syntax/css/overflow-3.vim similarity index 100% rename from after/syntax/css/css-overflow-3.vim rename to after/syntax/css/overflow-3.vim diff --git a/after/syntax/css/css-overflow-4.vim b/after/syntax/css/overflow-4.vim similarity index 100% rename from after/syntax/css/css-overflow-4.vim rename to after/syntax/css/overflow-4.vim diff --git a/after/syntax/css/page-3.vim b/after/syntax/css/page-3.vim new file mode 100644 index 0000000..59ffb99 --- /dev/null +++ b/after/syntax/css/page-3.vim @@ -0,0 +1 @@ +syn keyword cssFontAttr contained recto verso diff --git a/after/syntax/css/css-page-floats-3.vim b/after/syntax/css/page-floats-3.vim similarity index 100% rename from after/syntax/css/css-page-floats-3.vim rename to after/syntax/css/page-floats-3.vim diff --git a/after/syntax/css/css-paint-api-1.vim b/after/syntax/css/paint-api-1.vim similarity index 100% rename from after/syntax/css/css-paint-api-1.vim rename to after/syntax/css/paint-api-1.vim diff --git a/after/syntax/css/css-position-3.vim b/after/syntax/css/position-3.vim similarity index 100% rename from after/syntax/css/css-position-3.vim rename to after/syntax/css/position-3.vim diff --git a/after/syntax/css/properties-values-api-1.vim b/after/syntax/css/properties-values-api-1.vim new file mode 100644 index 0000000..e69de29 diff --git a/after/syntax/css/css-pseudo-4.vim b/after/syntax/css/pseudo-4.vim similarity index 100% rename from after/syntax/css/css-pseudo-4.vim rename to after/syntax/css/pseudo-4.vim diff --git a/after/syntax/css/css-regions-1.vim b/after/syntax/css/regions-1.vim similarity index 100% rename from after/syntax/css/css-regions-1.vim rename to after/syntax/css/regions-1.vim diff --git a/after/syntax/css/css-rhythm-1.vim b/after/syntax/css/rhythm-1.vim similarity index 100% rename from after/syntax/css/css-rhythm-1.vim rename to after/syntax/css/rhythm-1.vim diff --git a/after/syntax/css/css-round-display-1.vim b/after/syntax/css/round-display-1.vim similarity index 100% rename from after/syntax/css/css-round-display-1.vim rename to after/syntax/css/round-display-1.vim diff --git a/after/syntax/css/css-ruby-1.vim b/after/syntax/css/ruby-1.vim similarity index 100% rename from after/syntax/css/css-ruby-1.vim rename to after/syntax/css/ruby-1.vim diff --git a/after/syntax/css/css-scoping-1.vim b/after/syntax/css/scoping-1.vim similarity index 73% rename from after/syntax/css/css-scoping-1.vim rename to after/syntax/css/scoping-1.vim index c8676e7..534e7d7 100644 --- a/after/syntax/css/css-scoping-1.vim +++ b/after/syntax/css/scoping-1.vim @@ -1,5 +1,5 @@ -syn region cssInclude start=/@scope\>/ end=/\ze{/ skipwhite skipnl nextgroup=cssMediaBlock syn keyword cssPseudoClassId contained host shadow content syn match cssPseudoClassId contained "\<\(scope\|host\)-context\>" syn region cssPseudoClassLang matchgroup=cssPseudoClassId start=":\(host\)(" end=")" oneline syn match cssSelectorOp2 "/deep/" +syn match cssFontDescriptor "@scope\>" nextgroup=cssFontDescriptorBlock skipwhite skipnl diff --git a/after/syntax/css/css-scroll-snap-1.vim b/after/syntax/css/scroll-snap-1.vim similarity index 100% rename from after/syntax/css/css-scroll-snap-1.vim rename to after/syntax/css/scroll-snap-1.vim diff --git a/after/syntax/css/selectors-3.vim b/after/syntax/css/selectors-3.vim index 4b6429c..d6b3c6a 100644 --- a/after/syntax/css/selectors-3.vim +++ b/after/syntax/css/selectors-3.vim @@ -1,5 +1,2 @@ -syn keyword cssPseudoClassId contained target enabled disabled checked indeterminate root empty -syn match cssPseudoClassId contained "\" -syn match cssPseudoClassId contained "\" -syn match cssPseudoClassId contained "\" +syn keyword cssPseudoClassId contained enabled indeterminate syn region cssPseudoClassLang matchgroup=cssPseudoClassId start=":\(nth\(-last\)\=-\(child\|of-type\)\|not\)(" end=")" oneline diff --git a/after/syntax/css/selectors-4.vim b/after/syntax/css/selectors-4.vim index 39f50d4..534fa35 100644 --- a/after/syntax/css/selectors-4.vim +++ b/after/syntax/css/selectors-4.vim @@ -1,5 +1,5 @@ syn match cssSelectorOp "[|]" -syn keyword cssPseudoClassId contained scope current past future default valid invalid required optional blank playing paused +syn keyword cssPseudoClassId contained scope current past future default valid required optional blank playing paused syn match cssPseudoClassId contained "\<\(any\|local\)-link\>" syn match cssPseudoClassId contained "\" syn match cssPseudoClassId contained "\" diff --git a/after/syntax/css/css-shapes-1.vim b/after/syntax/css/shapes-1.vim similarity index 100% rename from after/syntax/css/css-shapes-1.vim rename to after/syntax/css/shapes-1.vim diff --git a/after/syntax/css/css-sizing-3.vim b/after/syntax/css/sizing-3.vim similarity index 100% rename from after/syntax/css/css-sizing-3.vim rename to after/syntax/css/sizing-3.vim diff --git a/after/syntax/css/css3-speech.vim b/after/syntax/css/speech-3.vim similarity index 100% rename from after/syntax/css/css3-speech.vim rename to after/syntax/css/speech-3.vim diff --git a/after/syntax/css/style-attr.vim b/after/syntax/css/style-attr.vim new file mode 100644 index 0000000..e69de29 diff --git a/after/syntax/css/svg2.vim b/after/syntax/css/svg2.vim index 84a40a0..aca86c9 100644 --- a/after/syntax/css/svg2.vim +++ b/after/syntax/css/svg2.vim @@ -1,20 +1,15 @@ syn keyword cssTagName animate animateMotion animateTransform circle clipPath cursor defs desc discard ellipse feBlend feColorMatrix feComponentTransfer feComposite feConvolveMatrix feDiffuseLighting feDisplacementMap feDistantLight feDropShadow feFlood feFuncA feFuncB feFuncG feFuncR feGaussianBlur feImage feMerge feMergeNode feMorphology feOffset fePointLight feSpecularLighting feSpotLight feTile feTurbulence filter foreignObject g hatch hatchpath image line linearGradient marker mesh meshgradient meshpatch meshrow metadata mpath path pattern polygon polyline radialGradient rect set solidcolor stop switch symbol text textPath tspan unknown use view - syn keyword cssFontProp contained cx cy d r rx ry x y syn match cssFontProp contained "\" -syn match cssFontProp contained "\" syn match cssFontProp contained "\" -syn match cssFontProp contained "\" syn match cssFontProp contained "\" syn match cssFontProp contained "\" syn match cssFontProp contained "\" syn match cssFontProp contained "\" syn match cssFontProp contained "\" - -syn keyword cssFontAttr contained crispEdges geometricPrecision optimizeQuality painted stroke viewport visibleFill visiblePainted visibleStroke +syn keyword cssFontAttr contained crispEdges geometricPrecision optimizeQuality viewport syn match cssFontAttr contained "\" syn match cssFontAttr contained "\" syn match cssFontAttr contained "\" syn match cssFontAttr contained "\" - syn region cssFunction contained matchgroup=cssFunctionName start="\<\(child\|icc-color\)\s*(" end=")" oneline keepend diff --git a/after/syntax/css/syntax-3.vim b/after/syntax/css/syntax-3.vim new file mode 100644 index 0000000..e69de29 diff --git a/after/syntax/css/tables-3.vim b/after/syntax/css/tables-3.vim new file mode 100644 index 0000000..e69de29 diff --git a/after/syntax/css/css-text-3.vim b/after/syntax/css/text-3.vim similarity index 100% rename from after/syntax/css/css-text-3.vim rename to after/syntax/css/text-3.vim diff --git a/after/syntax/css/css-text-4.vim b/after/syntax/css/text-4.vim similarity index 100% rename from after/syntax/css/css-text-4.vim rename to after/syntax/css/text-4.vim diff --git a/after/syntax/css/css-text-decor-3.vim b/after/syntax/css/text-decor-3.vim similarity index 100% rename from after/syntax/css/css-text-decor-3.vim rename to after/syntax/css/text-decor-3.vim diff --git a/after/syntax/css/css-text-decor-4.vim b/after/syntax/css/text-decor-4.vim similarity index 100% rename from after/syntax/css/css-text-decor-4.vim rename to after/syntax/css/text-decor-4.vim diff --git a/after/syntax/css/css-timing-1.vim b/after/syntax/css/timing-1.vim similarity index 100% rename from after/syntax/css/css-timing-1.vim rename to after/syntax/css/timing-1.vim diff --git a/after/syntax/css/transforms-1.vim b/after/syntax/css/transforms-1.vim new file mode 100644 index 0000000..7b35e2f --- /dev/null +++ b/after/syntax/css/transforms-1.vim @@ -0,0 +1 @@ +syn keyword cssFontAttr contained flat diff --git a/after/syntax/css/transitions-1.vim b/after/syntax/css/transitions-1.vim new file mode 100644 index 0000000..e69de29 diff --git a/after/syntax/css/typed-om-1.vim b/after/syntax/css/typed-om-1.vim new file mode 100644 index 0000000..e69de29 diff --git a/after/syntax/css/css-ui-3.vim b/after/syntax/css/ui-3.vim similarity index 100% rename from after/syntax/css/css-ui-3.vim rename to after/syntax/css/ui-3.vim diff --git a/after/syntax/css/css-ui-4.vim b/after/syntax/css/ui-4.vim similarity index 100% rename from after/syntax/css/css-ui-4.vim rename to after/syntax/css/ui-4.vim diff --git a/after/syntax/css/css-values-3.vim b/after/syntax/css/values-3.vim similarity index 100% rename from after/syntax/css/css-values-3.vim rename to after/syntax/css/values-3.vim diff --git a/after/syntax/css/css-variables-1.vim b/after/syntax/css/variables-1.vim similarity index 100% rename from after/syntax/css/css-variables-1.vim rename to after/syntax/css/variables-1.vim diff --git a/after/syntax/css/web-animations-1.vim b/after/syntax/css/web-animations-1.vim index dd72adc..e69de29 100644 --- a/after/syntax/css/web-animations-1.vim +++ b/after/syntax/css/web-animations-1.vim @@ -1 +0,0 @@ -" N/A diff --git a/after/syntax/css/css-will-change-1.vim b/after/syntax/css/will-change-1.vim similarity index 100% rename from after/syntax/css/css-will-change-1.vim rename to after/syntax/css/will-change-1.vim diff --git a/after/syntax/css/worklets-1.vim b/after/syntax/css/worklets-1.vim index dd72adc..e69de29 100644 --- a/after/syntax/css/worklets-1.vim +++ b/after/syntax/css/worklets-1.vim @@ -1 +0,0 @@ -" N/A diff --git a/after/syntax/css/css-writing-modes-3.vim b/after/syntax/css/writing-modes-3.vim similarity index 100% rename from after/syntax/css/css-writing-modes-3.vim rename to after/syntax/css/writing-modes-3.vim diff --git a/after/syntax/css/css-writing-modes-4.vim b/after/syntax/css/writing-modes-4.vim similarity index 100% rename from after/syntax/css/css-writing-modes-4.vim rename to after/syntax/css/writing-modes-4.vim diff --git a/test/test.css b/test/test.css index 733170f..ff2ad4a 100644 --- a/test/test.css +++ b/test/test.css @@ -1,107 +1,84 @@ .align-3 { - justify-self: safe; - justify-content: unsafe; - justify-items: self-start; - align-self: self-end; - align-content: flex-start; - align-items: flex-end; - place-self: space-around; - place-content: space-between; - place-items: space-evenly; - row-gap: legacy; - column-gap: auto; + place-self: auto; + place-content: auto; + place-items: auto; + row-gap: auto; gap: auto; + display: safe; + display: unsafe; + display: self-start; + display: self-end; + display: space-evenly; + display: legacy; } -.animations { - animation: forwards; - animation-delay: backwards; - animation-direction: running; - animation-duration: paused; - animation-fill-mode: alternate-reverse; - animation-iteration-count: auto; - animation-name: auto; - animation-play-state: auto; - animation-timing-function: auto; +.animations-1 { + display: auto; } .backgrounds-3 { - background-clip: space; - background-origin: round; - background-size: local; - border-image: fill; - border-image-source: stretch; - border-image-slice: clone; - border-image-width: slice; - border-image-outset: padding-box; - border-image-repeat: border-box; - border-radius: content-box; - border-top-right-radius: auto; - border-bottom-right-radius: auto; - border-bottom-left-radius: auto; - border-top-left-radius: auto; - box-shadow: auto; + display: auto; } .backgrounds-4 { - background-position-x: x-start; - background-position-y: x-end; - background-position-inline: y-start; - background-position-block: y-end; - corner-shape: bevel; - corners: scoop; - border-limit: notch; + background-position-x: auto; + background-position-y: auto; + background-position-inline: auto; + background-position-block: auto; + corner-shape: auto; + corners: auto; + border-limit: auto; border-clip: auto; border-clip-top: auto; border-clip-right: auto; border-clip-bottom: auto; border-clip-left: auto; -} - -.box { - overflow-style: scrollbar; - overflow-x: panner; - overflow-y: move; - rotation-point: marquee; + display: x-start; + display: x-end; + display: y-start; + display: y-end; + display: bevel; + display: scoop; + display: notch; +} + +.box-3 { + overflow-style: auto; + overflow-x: auto; + overflow-y: auto; + rotation-point: auto; + display: scrollbar; + display: panner; + display: marquee; display: ruby; display: ruby-base; display: ruby-text; display: ruby-base-group; display: ruby-text-group; - display: no-display; - display: no-content; } .break-3 { - break-after: avoid-column; - break-before: auto; - break-inside: auto; - box-decoration-break: auto; + display: auto; } .cascade-3 { - all: initial; + all: auto; + display: initial; display: unset; } -@import "test.css" supports(display: auto); .cascade-4 { display: revert; } -.color { - opacity: rgba(0, 0, 0, 1); - display: hsla(0, 0, 0, 1); - display: currentcolor; -} +@import "test.css" supports(display: auto); -@color-profile swopc { - src: url('http://example.org/swop-coated.icc'); +.color-3 { + display: auto; } .color-4 { - color-adjust: #FFEEDDFF; - display: rebeccapurple; + color-adjust: auto; display: hwb(120deg, 44%, 50%); display: lab(1 2 3); display: lch(4 5 6); @@ -111,10 +88,17 @@ display: color-mod(#112233 tint(50%)); } +@color-profile swopc { + src: url("http://example.org/swop-coated.icc"); +} + .compositing-1 { - mix-blend-mode: multiply; - isolation: screen; - background-blend-mode: overlay; + mix-blend-mode: auto; + isolation: auto; + background-blend-mode: auto; + display: multiply; + display: screen; + display: overlay; display: darken; display: lighten; display: color-dodge; @@ -132,41 +116,51 @@ @supports (display: auto) or (display: auto) not (display: auto) { - .conditional { + .conditional-3 { display: auto; } } .contain-1 { - contain: layout; + contain: auto; + display: layout; display: paint; display: size; } .content-3 { - string-set: open; - bookmark-level: closed; - bookmark-label: leader('.'); - bookmark-state: string(heading, first); + string-set: auto; + bookmark-level: auto; + bookmark-label: auto; + bookmark-state: auto; + display: open; + display: closed; + display: leader('.'); + display: string(heading, first); display: target-counter(attr(href url), page); display: target-counters(lack-of-example); display: target-text(attr(href url)); } @counter-style counter-styles-3 { - system: cyclic; - negative: symbolic; - prefix: additive; - suffix: extends; - range: bullets; - pad: numbers; - fallback: words; - symbols: symbols("*" "\2020" "\2021" "\A7"); + system: auto; + negative: auto; + prefix: auto; + suffix: auto; + range: auto; + pad: auto; + fallback: auto; + symbols: auto; additive-symbols: auto; speak-as: auto; -} - -.counter-styles-3 { + display: cyclic; + display: symbolic; + display: additive; + display: extends; + display: bullets; + display: numbers; + display: words; + display: symbols("*" "\2020" "\2021" "\A7"); display: arabic-indic; display: upper-armenian; display: lower-armenian; @@ -212,6 +206,16 @@ scroll-behavior: smooth; } +.device-adapt-1 { + display: auto; +} + +@viewport { + min-zoom: auto; + max-zoom: auto; + user-zoom: auto; +} + .display-3 { display: flow; display: flow-root; @@ -219,19 +223,21 @@ display: discard; } -.exclusions { - wrap-flow: minimum; - wrap-through: maximum; +.exclusions-3 { + wrap-flow: auto; + wrap-through: auto; + display: minimum; + display: maximum; } .fill-stroke-3 { - fill-rule: butt; - fill-break: arcs; - fill-color: stupid; - fill-image: compress; - fill-origin: dashes; - fill-position: gaps; - fill-size: bounding-box; + fill-rule: auto; + fill-break: auto; + fill-color: auto; + fill-image: auto; + fill-origin: auto; + fill-position: auto; + fill-size: auto; fill-repeat: auto; fill: auto; fill-opacity: auto; @@ -253,13 +259,22 @@ stroke-repeat: auto; stroke: auto; stroke-opacity: auto; + display: butt; + display: arcs; + display: stupid; + display: compress; + display: dashes; + display: gaps; + display: bounding-box; } .filter-effects-1 { - flood-color: sRGB; - flood-opacity: linearRGB; + flood-color: auto; + flood-opacity: auto; color-interpolation-filters: auto; lighting-color: auto; + display: sRGB; + display: linearRGB; display: blur(5px); display: brightness(0.4); display: contrast(200%); @@ -273,13 +288,7 @@ } .flexbox-1 { - flex-direction: flex; - flex-wrap: inline-flex; - flex-flow: row; - order: row-reverse; - flex: column-reverse; - flex-grow: wrap; - flex-shrink: wrap-reverse; + display: auto; } .font-loading-3 { @@ -287,15 +296,15 @@ } .fonts-3 { - font-feature-settings: common-ligatures; - font-kerning: no-common-ligatures; - font-synthesis: no-discretionary-ligatures; - font-variant-alternates: historical-ligatures; - font-variant-caps: no-historical-ligatures; - font-variant-east-asian: contextual; - font-variant-ligatures: no-contextual; - font-variant-numeric: stylistic(feature-value-name); - font-variant-position: historical-forms; + display: common-ligatures; + display: no-common-ligatures; + display: no-discretionary-ligatures; + display: historical-ligatures; + display: no-historical-ligatures; + display: 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); @@ -325,15 +334,23 @@ } .fonts-4 { - font-min-size: emoji; - font-max-size: math; - font-display: fangsong; - font-optical-sizing: system-ui; - font-variation-settings: infinity; - font-palette: swap; - font-presentation: fallback; - font-language-override: optional; - font-variant-emoji: light; + font-min-size: auto; + font-max-size: auto; + font-display: auto; + font-optical-sizing: auto; + font-variation-settings: auto; + font-palette: auto; + font-presentation: auto; + font-variant-emoji: auto; + display: emoji; + display: math; + display: fangsong; + display: system-ui; + display: infinity; + display: swap; + display: fallback; + display: optional; + display: light; display: dark; } @@ -343,9 +360,12 @@ .gcpm-3::footnote-call, .gcpm-3::footnote-marker { - running: footnote; - footnote-display: line; - footnote-policy: element(header); + running: auto; + footnote-display: auto; + footnote-policy: auto; + display: footnote; + display: line; + display: element(header); display: running(heading); } @@ -354,53 +374,55 @@ } .grid-1 { - grid-template-columns: grid; - grid-template-rows: inline-grid; - grid-template-areas: minmax(0, 1); grid-template: auto; - grid-auto-rows: repeat(4); - grid-auto-columns: 0.2fr; - grid-auto-flow: dense; - grid: auto-flow; - grid-row-start: span; - grid-column-start: auto; - grid-row-end: auto; - grid-column-end: auto; - grid-column: auto; - grid-row: auto; - grid-area: auto; + display: minmax(0, 1); + display: repeat(4); + display: 0.2fr; + display: dense; + display: auto-flow; + display: span; } .grid-2 { - display: subgrid; display: 1.618ar; } +.html5, +picture, +rb, +rtc, +slot, +template { + display: auto; +} + .images-3 { - object-fit: contain; - object-position: cover; - image-orientation: snap; + object-fit: auto; + object-position: auto; + image-orientation: auto; + display: snap; display: scale-down; display: from-image; - display: linear-gradient(to bottom, yellow, blue); - display: radial-gradient(farthest-corner at 50% 50%, yellow, green); display: repeating-linear-gradient(to bottom, yellow, blue); display: repeating-radial-gradient(farthest-corner at 50% 50%, yellow, green); } .images-4 { - image-resolution: image("sprite.svg#xywh=40,0,20,20"); + image-resolution: auto; + display: image("sprite.svg#xywh=40,0,20,20"); display: element(#test); display: conic-gradient(at 25% 30%, white, black 60%); } .inline-3 { - dominant-baseline: mathematical; - alignment-baseline: ideographic; + dominant-baseline: auto; + alignment-baseline: auto; baseline-shift: auto; initial-letter: auto; initial-letter-align: auto; initial-letter-wrap: auto; + display: mathematical; + display: ideographic; } .layout-api-1 { @@ -408,21 +430,28 @@ } .line-grid-1 { - line-grid: create; - line-snap: block-start; - box-snap: block-end; + line-grid: auto; + line-snap: auto; + box-snap: auto; + display: create; + display: block-start; + display: block-end; display: first-baseline; display: last-baseline; } .lists-3::marker { - display: auto; + marker-side: auto; + counter-set: auto; + display: marker; + display: list-container; + display: counters(lack-of-example); } .logical-1 { - block-size: logical; - inline-size: physical; - min-block-size: rotate; + block-size: auto; + inline-size: auto; + min-block-size: auto; min-inline-size: auto; max-block-size: auto; max-inline-size: auto; @@ -471,21 +500,37 @@ border-inline: auto; background-image-transform: auto; border-image-transform: auto; -} - -.masking-1 { - clip-path: fill-box; - clip-rule: stroke-box; - mask-image: view-box; - mask-mode: nonzero; - mask-repeat: evenodd; - mask-position: alpha; - mask-clip: luminance; - mask-origin: no-clip; - mask-size: add; - mask-composite: subtract; - mask: intersect; - mask-border-source: exclude; + display: logical; + display: physical; + display: rotate; +} + +.masking-1, +mask { + clip-path: auto; + clip-rule: auto; + mask-image: auto; + mask-mode: auto; + mask-repeat: auto; + mask-position: auto; + mask-clip: auto; + mask-origin: auto; + mask-size: auto; + mask-composite: auto; + mask: auto; + mask-border-source: auto; + display: fill-box; + display: stroke-box; + display: view-box; + display: nonzero; + display: evenodd; + display: alpha; + display: luminance; + display: no-clip; + display: add; + display: subtract; + display: intersect; + display: exclude; mask-border-mode: auto; mask-border-slice: auto; mask-border-width: auto; @@ -496,26 +541,20 @@ } .motion-1 { - offset-path: ray(45deg closest-side); - offset-distance: path(M 100 100 L 300 100 L 200 300 z); + offset-path: auto; + offset-distance: auto; offset-anchor: auto; offset-rotate: auto; offset: auto; + display: ray(45deg closest-side); + display: path(M 100 100 L 300 100 L 200 300 z); } .multicol-1 { - columns: column; - column-count: balance; - column-fill: balance-all; - column-rule: auto; - column-rule-color: auto; - column-rule-style: auto; - column-rule-width: auto; - column-span: auto; - column-width: auto; -} - -.namespace { + display: balance-all; +} + +.namespace-3 { display: auto; } @@ -524,24 +563,27 @@ } .overflow-4::nth-fragment(1) { - scrollbar-gutter: stable; - continue: force; + scrollbar-gutter: auto; + continue: auto; + display: stable; + display: force; display: overflow; display: paginate; display: fragments; } -.page { - display: avoid-page; - display: page; +.page-3 { display: recto; display: verso; } .page-floats-3 { - float-reference: inline-start; - float-defer: inline-end; - float-offset: snap-block; + float-reference: auto; + float-defer: auto; + float-offset: auto; + display: inline-start; + display: inline-end; + display: snap-block; display: snap-inline; display: snap-block(2em, near); display: snap-inline(2em, near); @@ -552,16 +594,18 @@ } .pointerevents { - touch-action: pan-x; + touch-action: auto; + display: pan-x; display: pan-y; display: manipulation; } .position-3 { - offset-before: sticky; + offset-before: auto; offset-end: auto; offset-after: auto; offset-start: auto; + display: sticky; } .properties-values-api-1 { @@ -575,41 +619,49 @@ } .regions-1:region { - flow-into: element; - flow-from: content; - region-fragment: break; + flow-into: auto; + flow-from: auto; + region-fragment: auto; + display: element; + display: content; + display: break; display: region; display: avoid-region; } .rhythm-1 { - line-height-step: margin; - block-step-size: up; - block-step-insert: down; - block-step-align: nearest; + line-height-step: auto; + block-step-size: auto; + block-step-insert: auto; + block-step-align: auto; + display: margin; + display: up; + display: down; + display: nearest; block-step-round: auto; block-step: auto; } @media (device-radius: 50%) { .round-display-1 { - shape-inside: outside-shape; - border-boundary: shape-box; - polar-angle: parent; - polar-distance: polar; + shape-inside: auto; + border-boundary: auto; + polar-angle: auto; + polar-distance: auto; + display: outside-shape; + display: shape-box; + display: parent; + display: polar; } } .ruby-1 { - ruby-position: ruby-base-container; - ruby-merge: ruby-text-container; - ruby-align: inter-character; -} - -@scope .scoping-1 { - div { - display: auto; - } + ruby-position: auto; + ruby-merge: auto; + ruby-align: auto; + display: ruby-base-container; + display: ruby-text-container; + display: inter-character; } .scoping-1:scope-context div, @@ -622,11 +674,17 @@ display: auto; } +@scope .scoping-1 { + div { + display: auto; + } +} + .scroll-snap-1 { - scroll-snap-type: x; - scroll-padding: y; - scroll-margin: mandatory; - scroll-snap-align: proximity; + scroll-snap-type: auto; + scroll-padding: auto; + scroll-margin: auto; + scroll-snap-align: auto; scroll-snap-stop: auto; scroll-padding-top: auto; scroll-padding-right: auto; @@ -648,20 +706,14 @@ scroll-margin-block-end: auto; scroll-margin-block: auto; scroll-margin-inline: auto; + display: x; + display: y; + display: mandatory; + display: proximity; } -.selectors-3:target, .selectors-3:enabled, -.selectors-3:disabled, -.selectors-3:checked, .selectors-3:indeterminate, -.selectors-3:root, -.selectors-3:empty, -.selectors-3:last-child, -.selectors-3:last-of-type, -.selectors-3:first-of-type, -.selectors-3:only-child, -.selectors-3:only-of-type, .selectors-3:nth-child(2n+1), .selectors-3:nth-last-child(-n+2), .selectors-3:nth-of-type(2n+1), @@ -677,7 +729,6 @@ .selectors-4:future, .selectors-4:default, .selectors-4:valid, -.selectors-4:invalid, .selectors-4:required, .selectors-4:optional, .selectors-4:blank, @@ -710,9 +761,12 @@ } .shapes-1 { - shape-outside: margin-box; - shape-image-threshold: inset(50% 50% 50% 50%); - shape-margin: circle(100px 50px 100px); + shape-outside: auto; + shape-image-threshold: auto; + shape-margin: auto; + display: margin-box; + display: inset(50% 50% 50% 50%); + display: circle(100px 50px 100px); display: ellipse(0 0 250px 100px); display: polygon(0 0, 100% 100%, 0 100%); } @@ -723,17 +777,27 @@ display: fit-content(10%); } -.speech { - voice-volume: 10dB; - voice-balance: literal-punctuation; - rest-before: no-punctuation; - rest-after: x-weak; - rest: weak; - voice-rate: strong; - voice-pitch: x-strong; - voice-range: young; - voice-stress: old; - voice-duration: neutral; +.speech-3 { + 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; @@ -744,6 +808,110 @@ display: auto; } +.svg2, +animate, +animateMotion, +animateTransform, +circle, +clipPath, +cursor, +defs, +desc, +discard, +ellipse, +feBlend, +feColorMatrix, +feComponentTransfer, +feComposite, +feConvolveMatrix, +feDiffuseLighting, +feDisplacementMap, +feDistantLight, +feDropShadow, +feFlood, +feFuncA, +feFuncB, +feFuncG, +feFuncR, +feGaussianBlur, +feImage, +feMerge, +feMergeNode, +feMorphology, +feOffset, +fePointLight, +feSpecularLighting, +feSpotLight, +feTile, +feTurbulence, +filter, +foreignObject, +g, +hatch, +hatchpath, +image, +line, +linearGradient, +marker, +mesh, +meshgradient, +meshpatch, +meshrow, +metadata, +mpath, +path, +pattern, +polygon, +polyline, +radialGradient, +rect, +set, +solidcolor, +stop, +switch, +symbol, +text, +textPath, +tspan, +unknown, +use, +view { + color-interpolation: auto; + color-rendering: auto; + cx: auto; + cy: auto; + d: auto; + marker-end: auto; + marker-mid: auto; + marker-start: auto; + r: auto; + rx: auto; + ry: auto; + shape-rendering: auto; + solid-color: auto; + solid-opacity: auto; + stop-color: auto; + stop-opacity: auto; + text-anchor: auto; + vector-effect: auto; + x: auto; + y: auto; + display: crispEdges; + display: geometricPrecision; + display: optimizeQuality; + display: viewport; + display: context-fill; + display: context-stroke; + display: fixed-position; + display: miter; + display: miter-clip; + display: non-scaling-stroke; + display: non-scaling-size; + display: non-rotation; + display: child(1); + display: icc-color(foo); +} + .syntax-3 { display: auto; } @@ -753,29 +921,46 @@ } .text-3 { - hyphens: manual; - line-break: loose; - overflow-wrap: strict; - tab-size: match-parent; - text-align-all: hanging; + hyphens: auto; + line-break: auto; + overflow-wrap: auto; + tab-size: auto; + text-align-all: auto; + display: manual; + display: loose; + display: strict; + display: match-parent; + display: hanging; display: each-line; display: full-width; display: anywhere; } .text-4 { - text-space-collapse: preserve-auto; - text-space-trim: preserve-trim; - text-wrap: preserve-breaks; - wrap-before: preserve-spaces; - wrap-after: trim-inner; - wrap-inside: discard-before; - hyphenate-character: discard-after; - hyphenate-limit-zone: avoid-line; - hyphenate-limit-chars: avoid-flex; - hyphenate-limit-lines: pre-wrap-auto; - hyphenate-limit-last: no-limit; - text-spacing: spread; + text-space-collapse: auto; + text-space-trim: auto; + text-wrap: auto; + wrap-before: auto; + wrap-after: auto; + wrap-inside: auto; + hyphenate-character: auto; + hyphenate-limit-zone: auto; + hyphenate-limit-chars: auto; + hyphenate-limit-lines: auto; + hyphenate-limit-last: auto; + text-spacing: auto; + display: preserve-auto; + display: preserve-trim; + display: preserve-breaks; + display: preserve-spaces; + display: trim-inner; + display: discard-before; + display: discard-after; + display: avoid-line; + display: avoid-flex; + display: pre-wrap-auto; + display: no-limit; + display: spread; display: trim-start; display: space-start; display: trim-end; @@ -789,24 +974,36 @@ } .text-decor-3 { - text-decoration-color: filled; - text-decoration-line: dot; - text-decoration-style: sesame; - text-emphasis: alphabetic; - text-emphasis-color: ink; - text-emphasis-position: under; - text-emphasis-style: wavy; + text-decoration-color: auto; + text-decoration-line: auto; + text-decoration-style: auto; + text-emphasis: auto; + text-emphasis-color: auto; + text-emphasis-position: auto; + text-emphasis-style: auto; + display: filled; + display: dot; + display: sesame; + display: alphabetic; + display: ink; + display: under; + display: wavy; display: under; display: over; display: triangle; } .text-decor-4 { - text-decoration-width: objects; - text-underline-offset: spaces; - text-decoration-skip: leading-spaces; - text-decoration-skip-ink: trailing-spaces; - text-emphasis-skip: edges; + text-decoration-width: auto; + text-underline-offset: auto; + text-decoration-skip: auto; + text-decoration-skip-ink: auto; + text-emphasis-skip: auto; + display: objects; + display: spaces; + display: leading-spaces; + display: trailing-spaces; + display: edges; display: box-decoration; display: symbols; display: narrow; @@ -817,41 +1014,11 @@ } .transforms-1 { - backface-visibility: flat; - perspective: preserve-3d; - perspective-origin: matrix(1); - transform: matrix3d(1); - transform-origin: translate(1); - transform-style: translate3d(1); - display: translateX(1); - display: translateY(1); - display: translateZ(1); - display: scale(1); - display: scale3d(1); - display: scaleX(1); - display: scaleY(1); - display: scaleZ(1); - display: rotate(1); - display: rotate3d(1); - display: rotateX(1); - display: rotateY(1); - display: rotateZ(1); - display: skew(1); - display: skewX(1); - display: skewY(1); - display: perspective(1); -} - -.transitions { - transition: linear; - transition-property: ease; - transition-duration: ease-in; - transition-timing-function: ease-out; - transition-delay: ease-in-out; - display: step-start; - display: step-end; - display: steps(1, start); - display: cubic-bezier(0.25, 0.1, 0.25, 1.0); + display: flat; +} + +.transitions-1 { + display: auto; } .typed-om-1 { @@ -859,13 +1026,16 @@ } .ui-3 { - caret-color: grab; + caret-color: auto; + display: grab; display: grabbing; } .ui-4 { - caret: fade; - caret-shape: fade(1em); + caret: auto; + caret-shape: auto; + display: fade; + display: fade(1em); display: underscore; } @@ -880,13 +1050,8 @@ } .variables-1 { - --var-foo: var(foo); -} - -@viewport { - min-zoom: auto; - max-zoom: auto; - user-zoom: auto; + --var-foo: auto; + display: var(foo); } .web-animations-1 { @@ -901,7 +1066,8 @@ } .will-change-1 { - will-change: scroll-position; + will-change: auto; + display: scroll-position; } .worklets-1 { @@ -909,10 +1075,14 @@ } .writing-modes-3 { - writing-mode: before; - text-orientation: after; - text-combine-upright: mixed; - glyph-orientation-vertical: upright; + writing-mode: auto; + text-orientation: auto; + text-combine-upright: auto; + glyph-orientation-vertical: auto; + display: before; + display: after; + display: mixed; + display: upright; display: plaintext; display: sideways; display: isolate; @@ -926,104 +1096,3 @@ display: sideways-rl; display: sideways-lr; } - -.html5, -picture, -rb, -rtc, -slot, -template { - display: auto; -} - -.svg2, -animate, -animateMotion, -animateTransform, -circle, -clipPath, -cursor, -defs, -desc, -discard, -ellipse, -feBlend, -feColorMatrix, -feComponentTransfer, -feComposite, -feConvolveMatrix, -feDiffuseLighting, -feDisplacementMap, -feDistantLight, -feDropShadow, -feFlood, -feFuncA, -feFuncB, -feFuncG, -feFuncR, -feGaussianBlur, -feImage, -feMerge, -feMergeNode, -feMorphology, -feOffset, -fePointLight, -feSpecularLighting, -feSpotLight, -feTile, -feTurbulence, -filter, -foreignObject, -g, -hatch, -hatchpath, -image, -line, -linearGradient, -marker, -mesh, -meshgradient, -meshpatch, -meshrow, -metadata, -mpath, -path, -pattern, -polygon, -polyline, -radialGradient, -rect, -set, -solidcolor, -stop, -switch, -symbol, -text, -textPath, -tspan, -unknown, -use, -view { - color-interpolation: crispEdges; - color-rendering: geometricPrecision; - cx: optimizeQuality; - cy: painted; - d: visiblePainted; - image-rendering: visibleFill; - marker-end: stroke; - marker-mid: viewport; - marker-start: visibleStroke; - pointer-events: context-fill; - r: context-stroke; - rx: fixed-position; - ry: miter; - shape-rendering: miter-clip; - solid-color: non-scaling-stroke; - solid-opacity: non-scaling-size; - stop-color: non-rotation; - stop-opacity: child(1); - text-anchor: icc-color(foo); - vector-effect: auto; - x: auto; - y: auto; -} From 912de28994bc408ae018ae3de70f1db372786543 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Thu, 7 Jun 2018 09:10:37 +0900 Subject: [PATCH 060/400] Remove css3-speech.vim The status of this spec is changed to NOTE. --- after/syntax/css/speech-3.vim | 6 ------ test/test.css | 27 --------------------------- 2 files changed, 33 deletions(-) delete mode 100644 after/syntax/css/speech-3.vim diff --git a/after/syntax/css/speech-3.vim b/after/syntax/css/speech-3.vim deleted file mode 100644 index 0de3014..0000000 --- a/after/syntax/css/speech-3.vim +++ /dev/null @@ -1,6 +0,0 @@ -syn match cssAuralProp contained "\" -syn match cssAuralProp contained "\" -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\)" diff --git a/test/test.css b/test/test.css index ff2ad4a..7e0316a 100644 --- a/test/test.css +++ b/test/test.css @@ -777,33 +777,6 @@ mask { display: fit-content(10%); } -.speech-3 { - 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 { display: auto; } From 3cf441556757056c934539c2b1168213bbe6cb30 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Sat, 26 May 2018 09:29:39 +0900 Subject: [PATCH 061/400] Follow changes in CR-css-writing-modes-3-20180524 No changes, see also: https://www.w3.org/TR/2018/CR-css-writing-modes-3-20180524/ From f21174778a4bcb85a5ec1061c0edc66a3e50d5c4 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Sat, 26 May 2018 09:33:45 +0900 Subject: [PATCH 062/400] Follow changes in CR-css-writing-modes-4-20180524 No changes, see also: https://www.w3.org/TR/2018/CR-css-writing-modes-4-20180524/ From ee365d3727b343e18885b3db242f0c9c4367cf5b Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Sat, 26 May 2018 09:34:57 +0900 Subject: [PATCH 063/400] Follow changes in CR-css-contain-1-20180524 No changes, see also: https://www.w3.org/TR/2018/CR-css-contain-1-20180524/ From 34fadbd24a26b2480a4895edd768cd6648dc8321 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Tue, 29 May 2018 08:14:12 +0900 Subject: [PATCH 064/400] Follow changes in WD-css-multicol-1-20180528 No changes, see also: https://www.w3.org/TR/2018/WD-css-multicol-1-20180528/ From f71e26a0a47fb1428965d4056ffd32fb60ce3a2e Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Sat, 16 Jun 2018 11:53:37 +0900 Subject: [PATCH 065/400] 1.0.0 From 08627976236512798266b32e006e527e139817b0 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Wed, 20 Jun 2018 22:52:15 +0900 Subject: [PATCH 066/400] Follow changes in REC-css-color-3-20180619 No changes, see also: https://www.w3.org/TR/2018/REC-css-color-3-20180619/ From 4285ca74a3295305bae71bd53f3a4cb03c070e4c Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Fri, 22 Jun 2018 08:30:18 +0900 Subject: [PATCH 067/400] Follow changes in REC-css-ui-3-20180621 No changes, see also: https://www.w3.org/TR/2018/REC-css-ui-3-20180621/ From f2760f867c4b49056b67e76fa0903d9dc91d1bb0 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Wed, 27 Jun 2018 21:34:50 +0900 Subject: [PATCH 068/400] Follow changes in CR-css-fonts-3-20180626 No changes, see also: https://www.w3.org/TR/2018/CR-css-fonts-3-20180626/ From 31e5506234c259711550dac9c479f42b6be2fafc Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Thu, 28 Jun 2018 18:42:48 +0900 Subject: [PATCH 069/400] Follow changes in WD-css-grid-2-20180628 No changes, see also: https://www.w3.org/TR/2018/WD-css-grid-2-20180628/ From 7caa7719df9f3fbbc39091b5bc4c722c2e192922 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Tue, 10 Jul 2018 08:44:36 +0900 Subject: [PATCH 070/400] Follow changes in CR-css-text-decor-3-20180703 No changes, see also: https://www.w3.org/TR/2018/CR-css-text-decor-3-20180703/ From 483251460868a81156a556d07d4f7f55ce7e8185 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Wed, 1 Aug 2018 09:46:51 +0900 Subject: [PATCH 071/400] Follow changes in WD-css3-box-20180731 See also: https://www.w3.org/TR/2018/WD-css3-box-20180731/ Note: This changes does not include `float-displace--alternative-*` properties. --- after/syntax/css/box-3.vim | 10 +++++++--- test/test.css | 16 ++++++++++++---- 2 files changed, 19 insertions(+), 7 deletions(-) diff --git a/after/syntax/css/box-3.vim b/after/syntax/css/box-3.vim index 9250c91..599892d 100644 --- a/after/syntax/css/box-3.vim +++ b/after/syntax/css/box-3.vim @@ -1,4 +1,8 @@ -syn match cssBoxProp contained "\" -syn match cssBoxProp contained "\" -syn keyword cssBoxAttr contained scrollbar panner marquee +syn match cssBoxProp contained "\" +syn match cssBoxProp contained "\" +syn match cssBoxProp contained "\" +syn keyword cssBoxAttr contained scrollbar panner marquee decendants complex available syn match cssBoxAttr contained "\" +syn match cssBoxAttr contained "\" +syn match cssBoxAttr contained "\" +syn match cssBoxAttr contained "\<\(margin\|border\|padding\|content\)-edge\>" diff --git a/test/test.css b/test/test.css index 7e0316a..4dabe13 100644 --- a/test/test.css +++ b/test/test.css @@ -43,10 +43,9 @@ } .box-3 { - overflow-style: auto; - overflow-x: auto; - overflow-y: auto; - rotation-point: auto; + clear-after: auto; + float-displace: auto; + indent-edge-reset: auto; display: scrollbar; display: panner; display: marquee; @@ -55,6 +54,15 @@ display: ruby-text; display: ruby-base-group; display: ruby-text-group; + display: decendants; + display: block-within-page; + display: fit-content; + display: complex; + display: margin-edge; + display: border-edge; + display: padding-edge; + display: content-edge; + display: available; } .break-3 { From fca7100977be7349a9a841a4d92a37a76780af0b Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Wed, 1 Aug 2018 20:40:43 +0900 Subject: [PATCH 072/400] Follow changes in: WD-css-overflow-3-20180731 See also: https://www.w3.org/TR/2018/WD-css-overflow-3-20180731/ --- after/syntax/css/overflow-3.vim | 4 ++++ after/syntax/css/overflow-4.vim | 1 - test/test.css | 6 +++++- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/after/syntax/css/overflow-3.vim b/after/syntax/css/overflow-3.vim index d36631e..7b9d927 100644 --- a/after/syntax/css/overflow-3.vim +++ b/after/syntax/css/overflow-3.vim @@ -1 +1,5 @@ +syn keyword cssFontProp contained continue +syn match cssFontProp contained "\" +syn match cssFontProp contained "\" syn match cssFontProp contained "\" +syn match cssFontProp contained "\" diff --git a/after/syntax/css/overflow-4.vim b/after/syntax/css/overflow-4.vim index dc1fa2b..59645fc 100644 --- a/after/syntax/css/overflow-4.vim +++ b/after/syntax/css/overflow-4.vim @@ -1,4 +1,3 @@ -syn keyword cssFontProp contained continue syn match cssFontProp contained "\" syn keyword cssFontAttr contained stable force overflow paginate fragments syn region cssPseudoClassLang matchgroup=cssPseudoClassId start=":\(nth-fragment\)(" end=")" oneline diff --git a/test/test.css b/test/test.css index 4dabe13..62a3467 100644 --- a/test/test.css +++ b/test/test.css @@ -568,11 +568,15 @@ mask { .overflow-3 { max-lines: auto; + block-overflow: auto; + line-clamp: auto; + continue: auto; + overflow-block: auto; + overflow-inline: auto; } .overflow-4::nth-fragment(1) { scrollbar-gutter: auto; - continue: auto; display: stable; display: force; display: overflow; From a1345ce33812c30a2fe52cc7d9fafb2ffede2bbb Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Fri, 3 Aug 2018 23:38:32 +0900 Subject: [PATCH 073/400] Follow changes in WD-css-inline-3-20180802 See also: https://www.w3.org/TR/2018/WD-css-inline-3-20180802/ --- after/syntax/css/inline-3.vim | 3 ++- test/test.css | 7 ++++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/after/syntax/css/inline-3.vim b/after/syntax/css/inline-3.vim index c80a5ff..9aafa1c 100644 --- a/after/syntax/css/inline-3.vim +++ b/after/syntax/css/inline-3.vim @@ -1,4 +1,5 @@ syn match cssFontProp contained "\<\(dominant\|alignment\)-baseline\>" syn match cssFontProp contained "\" -syn match cssFontProp contained "\" +syn match cssFontProp contained "\ Date: Fri, 10 Aug 2018 22:00:14 +0900 Subject: [PATCH 074/400] Follow changes in WD-css-inline-3-20180808 See also: https://www.w3.org/TR/2018/WD-css-inline-3-20180808/ --- after/syntax/css/inline-3.vim | 2 +- test/test.css | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/after/syntax/css/inline-3.vim b/after/syntax/css/inline-3.vim index 9aafa1c..068b3e4 100644 --- a/after/syntax/css/inline-3.vim +++ b/after/syntax/css/inline-3.vim @@ -1,5 +1,5 @@ syn match cssFontProp contained "\<\(dominant\|alignment\)-baseline\>" syn match cssFontProp contained "\" -syn match cssFontProp contained "\" +syn match cssFontProp contained "\" syn match cssFontProp contained "\ Date: Fri, 10 Aug 2018 22:08:48 +0900 Subject: [PATCH 075/400] Follow changes in WD-css-display-3-20180809 See also: https://www.w3.org/TR/2018/WD-css-display-3-20180809/ --- after/syntax/css/box-3.vim | 1 - after/syntax/css/display-3.vim | 1 + test/test.css | 12 ++++++------ 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/after/syntax/css/box-3.vim b/after/syntax/css/box-3.vim index 599892d..88f1f22 100644 --- a/after/syntax/css/box-3.vim +++ b/after/syntax/css/box-3.vim @@ -2,7 +2,6 @@ syn match cssBoxProp contained "\" syn match cssBoxProp contained "\" syn match cssBoxProp contained "\" syn keyword cssBoxAttr contained scrollbar panner marquee decendants complex available -syn match cssBoxAttr contained "\" syn match cssBoxAttr contained "\" syn match cssBoxAttr contained "\" syn match cssBoxAttr contained "\<\(margin\|border\|padding\|content\)-edge\>" diff --git a/after/syntax/css/display-3.vim b/after/syntax/css/display-3.vim index 6cf67f1..9eee23d 100644 --- a/after/syntax/css/display-3.vim +++ b/after/syntax/css/display-3.vim @@ -1,2 +1,3 @@ syn keyword cssFontAttr contained contents discard syn match cssFontAttr contained "\" +syn match cssBoxAttr contained "\" diff --git a/test/test.css b/test/test.css index 1ff3a06..4ed7eab 100644 --- a/test/test.css +++ b/test/test.css @@ -49,11 +49,7 @@ display: scrollbar; display: panner; display: marquee; - display: ruby; - display: ruby-base; - display: ruby-text; - display: ruby-base-group; - display: ruby-text-group; + display: discard; display: decendants; display: block-within-page; display: fit-content; @@ -228,7 +224,11 @@ display: flow; display: flow-root; display: contents; - display: discard; + display: ruby; + display: ruby-base; + display: ruby-text; + display: ruby-base-group; + display: ruby-text-group; } .exclusions-3 { From 0ce5d19c3597ddad912ad4682789ebf0113c0248 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Fri, 10 Aug 2018 22:10:39 +0900 Subject: [PATCH 076/400] Follow changes in CR-css-paint-api-1-20180809 No changes, see also: https://www.w3.org/TR/2018/CR-css-paint-api-1-20180809/ From d8681a0d5e4cfa5fc5f6e69cc70ed68f11439aa4 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Fri, 10 Aug 2018 22:22:47 +0900 Subject: [PATCH 077/400] Follow changes in WD-css-box-3-20180809 The box-3 spec is rewrote completely. But properties defined in previous spec is not ported anywhere. So keep them. See also: https://www.w3.org/TR/2018/WD-css-box-3-20180809/ --- after/syntax/css/box-3.vim | 4 ++-- test/test.css | 3 --- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/after/syntax/css/box-3.vim b/after/syntax/css/box-3.vim index 88f1f22..cc6d6fe 100644 --- a/after/syntax/css/box-3.vim +++ b/after/syntax/css/box-3.vim @@ -1,7 +1,7 @@ +" These will be moved to block-3 syn match cssBoxProp contained "\" syn match cssBoxProp contained "\" syn match cssBoxProp contained "\" -syn keyword cssBoxAttr contained scrollbar panner marquee decendants complex available +syn keyword cssBoxAttr contained scrollbar panner marquee decendants syn match cssBoxAttr contained "\" -syn match cssBoxAttr contained "\" syn match cssBoxAttr contained "\<\(margin\|border\|padding\|content\)-edge\>" diff --git a/test/test.css b/test/test.css index 4ed7eab..cbda6c4 100644 --- a/test/test.css +++ b/test/test.css @@ -52,13 +52,10 @@ display: discard; display: decendants; display: block-within-page; - display: fit-content; - display: complex; display: margin-edge; display: border-edge; display: padding-edge; display: content-edge; - display: available; } .break-3 { From 4e6ef67e511c3f9ffdc9f479c06eda320763cc09 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Thu, 16 Aug 2018 08:53:24 +0900 Subject: [PATCH 078/400] Follow changes in: CR-css-scroll-snap-1-20180814 No changes, see also: https://www.w3.org/TR/2018/CR-css-scroll-snap-1-20180814/ From e09eb1d37a68a210097312ad77fbf366df9856e2 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Thu, 16 Aug 2018 09:05:05 +0900 Subject: [PATCH 079/400] Follow changes in PR-css-fonts-3-20180814 This commit removes some functions taht differred to fonts-4. See also: https://www.w3.org/TR/2018/PR-css-fonts-3-20180814/ --- after/syntax/css/fonts-3.vim | 6 ++---- after/syntax/css/fonts-4.vim | 2 ++ test/test.css | 22 +++++++++++----------- 3 files changed, 15 insertions(+), 15 deletions(-) diff --git a/after/syntax/css/fonts-3.vim b/after/syntax/css/fonts-3.vim index bf75c5d..5bbfa49 100644 --- a/after/syntax/css/fonts-3.vim +++ b/after/syntax/css/fonts-3.vim @@ -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-\)\=contextual\>" -syn match cssFontAttr contained "\" syn match cssFontAttr contained "\" syn match cssFontAttr contained "\<\(all-\)\=petite-caps\>" syn match cssFontAttr contained "\" syn match cssFontAttr contained "\<\(lining\|oldstyle\|proportional\|tabular\)-nums\>" syn match cssFontAttr contained "\<\(diagonal\|stacked\)-fractions\>" -syn match cssFontAttr contained "\" syn match cssFontAttr contained "\" -syn region cssFunction contained matchgroup=cssFunctionName start="\<\(stylistic\|styleset\|character-variant\|swash\|ornaments\|annotation\)\s*(" end=")" oneline keepend +syn match cssFontAttr contained "\" diff --git a/after/syntax/css/fonts-4.vim b/after/syntax/css/fonts-4.vim index 30a7888..dea6d6b 100644 --- a/after/syntax/css/fonts-4.vim +++ b/after/syntax/css/fonts-4.vim @@ -8,4 +8,6 @@ syn match cssFontProp contained "\" syn match cssFontProp contained "\" syn keyword cssFontAttr contained emoji math fangsong infinity swap fallback optional light dark syn match cssFontAttr contained "\" +syn match cssFontAttr contained "\" +syn region cssFunction contained matchgroup=cssFunctionName start="\<\(stylistic\|styleset\|character-variant\|swash\|ornaments\|annotation\)\s*(" end=")" oneline keepend syn match cssFontDescriptor "@font-palette-values\>" nextgroup=cssFontDescriptorBlock skipwhite skipnl diff --git a/test/test.css b/test/test.css index cbda6c4..ba4c57c 100644 --- a/test/test.css +++ b/test/test.css @@ -303,18 +303,12 @@ .fonts-3 { display: common-ligatures; display: no-common-ligatures; + display: discretionary-ligatures; display: no-discretionary-ligatures; display: historical-ligatures; display: no-historical-ligatures; display: 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: petite-caps; display: all-petite-caps; @@ -326,8 +320,6 @@ display: tabular-nums; display: diagonal-fractions; display: stacked-fractions; - display: ordinal; - display: slashed-zero; display: jis78; display: jis83; display: jis90; @@ -335,7 +327,8 @@ display: simplified; display: traditional; display: proportional-width; - display: discretionary-ligatures; + display: ordinal; + display: slashed-zero; } .fonts-4 { @@ -347,11 +340,18 @@ font-palette: auto; font-presentation: auto; font-variant-emoji: auto; + display: system-ui; display: emoji; display: math; display: fangsong; - display: system-ui; 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: fallback; display: optional; From d7d7f60fe8220c0dc886dd921be6472fd0f68261 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Thu, 16 Aug 2018 09:15:15 +0900 Subject: [PATCH 080/400] Follow changes in CR-css-values-3-20180814 No changes, see also: https://www.w3.org/TR/2018/CR-css-values-3-20180814/ From 33d7eb1218cc4332e9cef092f327712e4feda870 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Thu, 16 Aug 2018 09:26:37 +0900 Subject: [PATCH 081/400] Add values-4.vim This is a syntax file for CSS Values and Units Module Level 4. See also: https://www.w3.org/TR/2018/CR-css-values-3-20180814/ --- after/syntax/css/values-4.vim | 2 ++ test/test.css | 13 +++++++++++++ 2 files changed, 15 insertions(+) create mode 100644 after/syntax/css/values-4.vim diff --git a/after/syntax/css/values-4.vim b/after/syntax/css/values-4.vim new file mode 100644 index 0000000..744dd7a --- /dev/null +++ b/after/syntax/css/values-4.vim @@ -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 diff --git a/test/test.css b/test/test.css index ba4c57c..62893ee 100644 --- a/test/test.css +++ b/test/test.css @@ -1032,6 +1032,19 @@ view { 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 { --var-foo: auto; display: var(foo); From 123abe00c635d9c534339307d8205de364300ca8 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Thu, 16 Aug 2018 09:28:49 +0900 Subject: [PATCH 082/400] 1.1.0 From 928b94ea6cd9ac755a07b42286f9599d78856a96 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Tue, 28 Aug 2018 07:57:12 +0900 Subject: [PATCH 083/400] Follow changes in WD-css-logical-1-20180827 See also: https://www.w3.org/TR/2018/WD-css-logical-1-20180827/ --- after/syntax/css/logical-1.vim | 2 +- test/test.css | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/after/syntax/css/logical-1.vim b/after/syntax/css/logical-1.vim index e5ac1d9..d944ff8 100644 --- a/after/syntax/css/logical-1.vim +++ b/after/syntax/css/logical-1.vim @@ -1,5 +1,5 @@ syn match cssFontProp contained "\<\(\(min\|max\)-\)\=\(block\|inline\)-size\>" syn match cssFontProp contained "\<\(margin\|inset\|padding\)\(-\(block\|inline\)\(-\(start\|end\)\)\=\)\=\>" syn match cssFontProp contained "\" -syn match cssFontProp contained "\<\(background\|border\)-image-transform\>" +syn match cssFontProp contained "\" syn keyword cssFontAttr contained logical physical rotate diff --git a/test/test.css b/test/test.css index 62893ee..4ed5a24 100644 --- a/test/test.css +++ b/test/test.css @@ -504,8 +504,10 @@ template { border-inline-end: auto; border-block: auto; border-inline: auto; - background-image-transform: auto; - border-image-transform: auto; + border-start-start-radius: auto; + border-start-end-radius: auto; + border-end-start-radius: auto; + border-end-end-radius: auto; display: logical; display: physical; display: rotate; From 0aa17c30798cb552aac97845bee0544a093858bc Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Wed, 29 Aug 2018 11:57:55 +0900 Subject: [PATCH 084/400] Follow changes in CR-css-cascade-3-20180828 No changes, see also: https://www.w3.org/TR/2018/CR-css-cascade-3-20180828/ From 77e3358574a1d378ff547888d794e51e3e8a084d Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Wed, 29 Aug 2018 11:59:06 +0900 Subject: [PATCH 085/400] Follow changes in CR-css-cascade-4-20180828 No changes, see also: https://www.w3.org/TR/2018/CR-css-cascade-4-20180828/ From 51c5ee1f88a0eeb979904e10b96614c78a8f23cf Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Wed, 29 Aug 2018 12:02:52 +0900 Subject: [PATCH 086/400] Follow changes in CR-css-display-3-20180828 No changes, see also: https://www.w3.org/TR/2018/CR-css-display-3-20180828/ From f18eabedc062e974e991db10d911788a3a3c216f Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Sat, 1 Sep 2018 12:49:19 +0900 Subject: [PATCH 087/400] Follow changes in WD-css-align-3-20180830 No changes, see also: https://www.w3.org/TR/2018/WD-css-align-3-20180830/ From af01de4490184485910b64e9e2f4228456308afb Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Thu, 20 Sep 2018 16:33:22 +0900 Subject: [PATCH 088/400] Follow changes in WD-css-text-4-20180920 See also: https://www.w3.org/TR/2018/WD-css-text-4-20180920/ --- after/syntax/css/text-4.vim | 6 ++++-- test/test.css | 5 +++-- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/after/syntax/css/text-4.vim b/after/syntax/css/text-4.vim index e5ea3f5..df3d9bf 100644 --- a/after/syntax/css/text-4.vim +++ b/after/syntax/css/text-4.vim @@ -1,14 +1,16 @@ syn match cssTextProp contained "\" -syn match cssTextProp contained "\" +syn match cssTextProp contained "\" syn match cssTextProp contained "\" syn match cssTextProp contained "\" +syn match cssTextProp contained "\" syn keyword cssTextAttr contained spread punctuation -syn match cssTextAttr contained "\" +syn match cssTextAttr contained "\" syn match cssTextAttr contained "\" syn match cssTextAttr contained "\" syn match cssTextAttr contained "\" syn match cssTextAttr contained "\" syn match cssTextAttr contained "\" syn match cssTextAttr contained "\<\(trim\|space\)-\(start\|end\|adjacent\)\>" +syn match cssTextAttr contained "\" syn match cssTextAttr contained "\" syn match cssTextAttr contained "\" diff --git a/test/test.css b/test/test.css index 4ed5a24..ae08b23 100644 --- a/test/test.css +++ b/test/test.css @@ -933,9 +933,9 @@ view { hyphenate-limit-chars: auto; hyphenate-limit-lines: auto; hyphenate-limit-last: auto; + text-group-align: auto; + line-padding: auto; text-spacing: auto; - display: preserve-auto; - display: preserve-trim; display: preserve-breaks; display: preserve-spaces; display: trim-inner; @@ -948,6 +948,7 @@ view { display: spread; display: trim-start; display: space-start; + display: space-first; display: trim-end; display: space-end; display: trim-adjacent; From de5a0e2dc2997f37a96a05fb2b2b95e62ba1566c Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Thu, 20 Sep 2018 16:42:33 +0900 Subject: [PATCH 089/400] Follow chnages in WD-css-text-3-20180920 No changes, see also: https://www.w3.org/TR/2018/WD-css-text-3-20180920/ From 98cfdbf0872f03a7ac05198af5ec56cddcbce47d Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Sun, 23 Sep 2018 09:44:52 +0900 Subject: [PATCH 090/400] Follow changes in REC-css-fonts-3-20180920 No changes, see also: https://www.w3.org/TR/2018/REC-css-fonts-3-20180920/ From 36900064ff8d3d617650aea8f392f4a7063b224b Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Sun, 23 Sep 2018 09:58:00 +0900 Subject: [PATCH 091/400] Follow changes in WD-css-fonts-4-20180920 See also: https://www.w3.org/TR/2018/WD-css-fonts-4-20180920/ --- after/syntax/css/fonts-4.vim | 2 ++ test/test.css | 1 + 2 files changed, 3 insertions(+) diff --git a/after/syntax/css/fonts-4.vim b/after/syntax/css/fonts-4.vim index dea6d6b..929ffd3 100644 --- a/after/syntax/css/fonts-4.vim +++ b/after/syntax/css/fonts-4.vim @@ -5,9 +5,11 @@ syn match cssFontProp contained "\" syn match cssFontProp contained "\" syn match cssFontProp contained "\" syn match cssFontProp contained "\" +syn match cssFontProp contained "\" syn match cssFontProp contained "\" syn keyword cssFontAttr contained emoji math fangsong infinity swap fallback optional light dark syn match cssFontAttr contained "\" syn match cssFontAttr contained "\" 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 diff --git a/test/test.css b/test/test.css index ae08b23..5e641f7 100644 --- a/test/test.css +++ b/test/test.css @@ -361,6 +361,7 @@ @font-palette-values Test { base-palette: 1; + override-color: 1 rgb(43, 12, 9); } .gcpm-3::footnote-call, From 087d9db2404af161883ff755ea75737bf9971e96 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Sun, 23 Sep 2018 09:59:48 +0900 Subject: [PATCH 092/400] Follow changes in PR-selectors-3-20180911 No changes, see also: https://www.w3.org/TR/2018/PR-selectors-3-20180911/ From 3e40dde46c6a3bc4f0339248b000bbe96e39dc2d Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Sun, 23 Sep 2018 10:01:09 +0900 Subject: [PATCH 093/400] 1.1.1 From afcbfc85a823f19390c553f758c43bb47bbe5c72 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Wed, 10 Oct 2018 17:04:19 +0900 Subject: [PATCH 094/400] Add easing-1.vim No new syntaxs, see also: https://www.w3.org/TR/2018/WD-css-easing-1-20181009/ --- after/syntax/css/easing-1.vim | 0 test/test.css | 4 ++++ 2 files changed, 4 insertions(+) create mode 100644 after/syntax/css/easing-1.vim diff --git a/after/syntax/css/easing-1.vim b/after/syntax/css/easing-1.vim new file mode 100644 index 0000000..e69de29 diff --git a/test/test.css b/test/test.css index 5e641f7..57359a9 100644 --- a/test/test.css +++ b/test/test.css @@ -228,6 +228,10 @@ display: ruby-text-group; } +.easing-1 { + display: auto; +} + .exclusions-3 { wrap-flow: auto; wrap-through: auto; From 8c6b5eaf1fcab46d2d04e1036491c0113b98669f Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Fri, 19 Oct 2018 09:30:57 +0900 Subject: [PATCH 095/400] Follow changes in WD-web-animations-1-20181011 No changes, see also: https://www.w3.org/TR/2018/WD-web-animations-1-20181011/ From 4e71c04913268343dcf62b6bcda42404593603fa Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Fri, 19 Oct 2018 09:34:26 +0900 Subject: [PATCH 096/400] Follow changes in WD-css-animations-1-20181011 No changes, see also: https://www.w3.org/TR/2018/WD-css-animations-1-20181011/ From da0119205e6c07093869795ef429f3a71986cf6f Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Fri, 19 Oct 2018 09:36:49 +0900 Subject: [PATCH 097/400] Follow changes in WD-css-transitions-1-20181011 No changes, see also: https://www.w3.org/TR/2018/WD-css-transitions-1-20181011/ From b2d66799b7c6e3360f57e3179db9176925eb0aca Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Fri, 19 Oct 2018 09:37:37 +0900 Subject: [PATCH 098/400] Follow changes in WD-css-values-4-20181010 No changes, see also: https://www.w3.org/TR/2018/WD-css-values-4-20181010/ From 6ed54d346b9c5336e204ba233b25829e435e919c Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Sun, 21 Oct 2018 15:02:19 +0900 Subject: [PATCH 099/400] Follow changes in WD-css-page-3-20181018 See also: https://www.w3.org/TR/2018/WD-css-page-3-20181018/ This commit also moves some values to `break-3.vim`. --- after/syntax/css/break-3.vim | 1 + after/syntax/css/page-3.vim | 2 +- test/test.css | 7 ++++--- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/after/syntax/css/break-3.vim b/after/syntax/css/break-3.vim index e69de29..59ffb99 100644 --- a/after/syntax/css/break-3.vim +++ b/after/syntax/css/break-3.vim @@ -0,0 +1 @@ +syn keyword cssFontAttr contained recto verso diff --git a/after/syntax/css/page-3.vim b/after/syntax/css/page-3.vim index 59ffb99..e39ec4b 100644 --- a/after/syntax/css/page-3.vim +++ b/after/syntax/css/page-3.vim @@ -1 +1 @@ -syn keyword cssFontAttr contained recto verso +syn keyword cssFontProp contained marks bleed diff --git a/test/test.css b/test/test.css index 57359a9..2b03c6e 100644 --- a/test/test.css +++ b/test/test.css @@ -59,7 +59,8 @@ } .break-3 { - display: auto; + display: recto; + display: verso; } .cascade-3 { @@ -590,8 +591,8 @@ mask { } .page-3 { - display: recto; - display: verso; + marks: auto; + bleed: auto; } .page-floats-3 { From cf22db698e9f2e7711a2ea739a9cfce43b29dfb4 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Thu, 8 Nov 2018 08:50:24 +0900 Subject: [PATCH 100/400] Follow chnages in REC-selectors-3-20181106 No changes, see also: https://www.w3.org/TR/2018/REC-selectors-3-20181106/ From 47b3ce2e5a4aea625c520e42140fb1ab1126fef4 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Sat, 10 Nov 2018 08:46:15 +0900 Subject: [PATCH 101/400] Follow changes in CR-css-contain-1-20181108 No changes, see also: https://www.w3.org/TR/2018/CR-css-contain-1-20181108/ From be717f2c70ae286c69e37d5e784d6af34f833fb5 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Sat, 10 Nov 2018 08:48:24 +0900 Subject: [PATCH 102/400] Follow changes in CR-css-flexbox-1-20181108 No changes, see also: https://www.w3.org/TR/2018/CR-css-flexbox-1-20181108/ From ef50fcbe7edd4d51b0f35578d62de98fd3a5855d Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Sat, 17 Nov 2018 08:46:55 +0900 Subject: [PATCH 103/400] Add shadow-parts-1.vim This syntax is for CSS Shadow Parts spec. See also: https://www.w3.org/TR/2018/WD-css-shadow-parts-1-20181115/ --- after/syntax/css/shadow-parts-1.vim | 1 + test/test.css | 4 ++++ 2 files changed, 5 insertions(+) create mode 100644 after/syntax/css/shadow-parts-1.vim diff --git a/after/syntax/css/shadow-parts-1.vim b/after/syntax/css/shadow-parts-1.vim new file mode 100644 index 0000000..11039d4 --- /dev/null +++ b/after/syntax/css/shadow-parts-1.vim @@ -0,0 +1 @@ +syn region cssPseudoClassLang matchgroup=cssPseudoClassId start=":part(" end=")" oneline diff --git a/test/test.css b/test/test.css index 2b03c6e..358a52c 100644 --- a/test/test.css +++ b/test/test.css @@ -778,6 +778,10 @@ mask { display: auto; } +.shadow-parts::part(textspan) { + display: auto; +} + .shapes-1 { shape-outside: auto; shape-image-threshold: auto; From 53eef9c64c146048e9304550d9cb79e439a0d733 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Thu, 22 Nov 2018 07:41:58 +0900 Subject: [PATCH 104/400] Follow changes in CR-css-flexbox-1-20181119 No changes, see also: https://www.w3.org/TR/2018/CR-css-flexbox-1-20181119/ From feea4b6c2505b4ac93c585475e909c1024ac0560 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Fri, 23 Nov 2018 08:47:59 +0900 Subject: [PATCH 105/400] Follow updates on WD-selectors-4-20181121 See also: https://www.w3.org/TR/2018/WD-selectors-4-20181121/ --- after/syntax/css/selectors-4.vim | 2 +- test/test.css | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/after/syntax/css/selectors-4.vim b/after/syntax/css/selectors-4.vim index 534fa35..11834d7 100644 --- a/after/syntax/css/selectors-4.vim +++ b/after/syntax/css/selectors-4.vim @@ -7,4 +7,4 @@ syn match cssPseudoClassId contained "\<\(in\|out-of\)-range\>" syn match cssPseudoClassId contained "\" syn match cssPseudoClassId contained "\" syn match cssPseudoClassId contained "\" -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 diff --git a/test/test.css b/test/test.css index 358a52c..be652f5 100644 --- a/test/test.css +++ b/test/test.css @@ -758,7 +758,7 @@ mask { .selectors-4:in-range, .selectors-4:out-of-range, .selectors-4:user-invalid, -.selectors-4:matches(:hover, :focus), +.selectors-4:is(:hover, :focus), .selectors-4:dir(ltr), .selectors-4:local-link(0), .selectors-4:current(p, li, dt, dd), @@ -770,7 +770,7 @@ mask { .selectors-4:playing, .selectors-4:paused, .selectors-4:has(> img), -.selectors-4:drop(active) { +.selectors-4:where(:not(:hover)) { display: auto; } From 03c1c9001d3cb835c25882730311a696c4fab72f Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Fri, 23 Nov 2018 08:50:43 +0900 Subject: [PATCH 106/400] 1.2.0 From 0b516ea8790b55d33fb4fcfd72bd16da24bbcc23 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Sun, 25 Nov 2018 23:13:39 +0900 Subject: [PATCH 107/400] Follow changes in WD-filter-effects-1-20181124 No changes, see also: https://www.w3.org/TR/2018/WD-filter-effects-1-20181124/ From 4337a246ac08edf9e2760afab177519aad54e44b Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Mon, 3 Dec 2018 16:19:56 +0900 Subject: [PATCH 108/400] Follow changes in WD-css-transforms-1-20181130 See also: https://www.w3.org/TR/2018/WD-css-transforms-1-20181130/ This commit includes changes in previous draft (20171130). --- after/syntax/css/transforms-1.vim | 2 +- test/test.css | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/after/syntax/css/transforms-1.vim b/after/syntax/css/transforms-1.vim index 7b35e2f..1969b72 100644 --- a/after/syntax/css/transforms-1.vim +++ b/after/syntax/css/transforms-1.vim @@ -1 +1 @@ -syn keyword cssFontAttr contained flat +syn match cssFontProp contained "\" diff --git a/test/test.css b/test/test.css index be652f5..6488a8a 100644 --- a/test/test.css +++ b/test/test.css @@ -1010,7 +1010,7 @@ view { } .transforms-1 { - display: flat; + transform-box: auto; } .transitions-1 { From 61cc3366f8429f8026d29f744f5c903ad13224b5 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Thu, 6 Dec 2018 08:47:16 +0900 Subject: [PATCH 109/400] Follow changes in CR-geometry-1-20181204 No changes, see also: https://www.w3.org/TR/2018/CR-geometry-1-20181204/ From 85a16304bed7a83499f9fed73b6e44cc9e56865a Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Thu, 6 Dec 2018 08:51:38 +0900 Subject: [PATCH 110/400] Follow changes in CR-css-break-3-20181204 No changes, see also: https://www.w3.org/TR/2018/CR-css-break-3-20181204/ From c6aba8159f6ba3470328916c5fd40646dc30bd0a Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Fri, 7 Dec 2018 09:02:26 +0900 Subject: [PATCH 111/400] Follow changes in WD-css-text-3-20181206 See also: https://www.w3.org/TR/2018/WD-css-text-3-20181206/ --- after/syntax/css/text-3.vim | 2 ++ test/test.css | 2 ++ 2 files changed, 4 insertions(+) diff --git a/after/syntax/css/text-3.vim b/after/syntax/css/text-3.vim index f14ac16..2036441 100644 --- a/after/syntax/css/text-3.vim +++ b/after/syntax/css/text-3.vim @@ -7,3 +7,5 @@ syn keyword cssTextAttr contained manual loose strict hanging anywhere syn match cssTextAttr contained "\" syn match cssTextAttr contained "\" syn match cssTextAttr contained "\" +syn match cssTextAttr contained "\" +syn match cssTextAttr contained "\" diff --git a/test/test.css b/test/test.css index 6488a8a..370df85 100644 --- a/test/test.css +++ b/test/test.css @@ -929,6 +929,8 @@ view { display: each-line; display: full-width; display: anywhere; + display: justify-all; + display: break-spaces; } .text-4 { From 91840fcbcfc17067044ebe333270316ded528107 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Fri, 7 Dec 2018 09:09:05 +0900 Subject: [PATCH 112/400] Follow changes in WD-css-align-3-20181206 No changes, see also: https://www.w3.org/TR/2018/WD-css-align-3-20181206/ From 119c13f32ac1e817a4f7b0f38644e40afb336e9b Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Fri, 14 Dec 2018 08:18:59 +0900 Subject: [PATCH 113/400] Follow changes in WD-css-text-3-20181212 No changes, see also: https://www.w3.org/TR/2018/WD-css-text-3-20181212/ From ef5b1c791aa0e2e52b990b38d05373e64c068e4b Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Thu, 27 Dec 2018 15:21:53 +0900 Subject: [PATCH 114/400] Follow changes in WD-css-box-3-20181218 See also: https://www.w3.org/TR/2018/WD-css-box-3-20181218/ --- after/syntax/css/box-3.vim | 2 ++ test/test.css | 3 +++ 2 files changed, 5 insertions(+) diff --git a/after/syntax/css/box-3.vim b/after/syntax/css/box-3.vim index cc6d6fe..ff4705d 100644 --- a/after/syntax/css/box-3.vim +++ b/after/syntax/css/box-3.vim @@ -1,3 +1,5 @@ +syn match cssBoxProp contained "\" +syn match cssBoxAttr contained "\" " These will be moved to block-3 syn match cssBoxProp contained "\" syn match cssBoxProp contained "\" diff --git a/test/test.css b/test/test.css index 370df85..1cf26af 100644 --- a/test/test.css +++ b/test/test.css @@ -43,6 +43,9 @@ } .box-3 { + margin-trim: auto; + display: in-flow; + /* .block-3 */ clear-after: auto; float-displace: auto; indent-edge-reset: auto; From 1f314d95de9bceca7978dd8e3d9f6be90196a06c Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Thu, 27 Dec 2018 15:25:25 +0900 Subject: [PATCH 115/400] Follow changes in WD-css-break-4-20181218 See also: https://www.w3.org/TR/2018/WD-css-break-4-20181218/ --- after/syntax/css/break-4.vim | 2 ++ test/test.css | 5 +++++ 2 files changed, 7 insertions(+) create mode 100644 after/syntax/css/break-4.vim diff --git a/after/syntax/css/break-4.vim b/after/syntax/css/break-4.vim new file mode 100644 index 0000000..23bacaf --- /dev/null +++ b/after/syntax/css/break-4.vim @@ -0,0 +1,2 @@ +syn match cssBoxProp contained "\" +syn keyword cssFontAttr contained keep diff --git a/test/test.css b/test/test.css index 1cf26af..29acfa8 100644 --- a/test/test.css +++ b/test/test.css @@ -66,6 +66,11 @@ display: verso; } +.break-4 { + margin-break: auto; + display: keep; +} + .cascade-3 { all: auto; display: initial; From 148d27c9d4bc1a726610a9e4b589a5260e79ce51 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Thu, 27 Dec 2018 15:27:02 +0900 Subject: [PATCH 116/400] Follow changes in WD-filter-effects-1-20181218 No changes, see also: https://www.w3.org/TR/2018/WD-filter-effects-1-20181218/ From d7f0f43dfcd53f2ceb4ca1320b3050b9f6c0edfb Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Thu, 27 Dec 2018 15:31:34 +0900 Subject: [PATCH 117/400] Follow changes in WD-motion-1-20181218 See also: https://www.w3.org/TR/2018/WD-motion-1-20181218/ --- after/syntax/css/motion-1.vim | 2 +- test/test.css | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/after/syntax/css/motion-1.vim b/after/syntax/css/motion-1.vim index e5dc15f..454d463 100644 --- a/after/syntax/css/motion-1.vim +++ b/after/syntax/css/motion-1.vim @@ -1,2 +1,2 @@ -syn match cssFontProp contained "\" +syn match cssFontProp contained "\" syn region cssFunction contained matchgroup=cssFunctionName start="\<\(ray\|path\)\s*(" end=")" oneline keepend diff --git a/test/test.css b/test/test.css index 29acfa8..a370d35 100644 --- a/test/test.css +++ b/test/test.css @@ -565,6 +565,7 @@ mask { .motion-1 { offset-path: auto; offset-distance: auto; + offset-position: auto; offset-anchor: auto; offset-rotate: auto; offset: auto; From 3c2368b4caf651ebcf299a3b58398ea4f99c56ef Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Tue, 5 Feb 2019 08:52:18 +0900 Subject: [PATCH 118/400] CR-css-scroll-snap-1-20190131 No changes, see also: https://www.w3.org/TR/2019/CR-css-scroll-snap-1-20190131/ From f1717bf9674547e24260a5789f542d6b7344fef4 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Tue, 5 Feb 2019 08:53:39 +0900 Subject: [PATCH 119/400] CR-css-values-3-20190131 No changes, see also: https://www.w3.org/TR/2019/CR-css-values-3-20190131/ From affd38a44b1ec16b28ef33c1882f309fc94c9938 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Tue, 5 Feb 2019 08:54:35 +0900 Subject: [PATCH 120/400] WD-css-values-4-20190131 No changes, see also: https://www.w3.org/TR/2019/WD-css-values-4-20190131/ From 1c12bd23d319d7e44d385b2101818b61f8485b50 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Sat, 16 Feb 2019 09:04:36 +0900 Subject: [PATCH 121/400] CR-css-transforms-1-20190214 No changes, see also: https://www.w3.org/TR/2019/CR-css-transforms-1-20190214/ From bb5e83b87e987f72d9268649bf0ee87ea2336f8d Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Wed, 27 Feb 2019 09:33:13 +0900 Subject: [PATCH 122/400] WD-css-pseudo-4-20190225 No changes, see also: https://www.w3.org/TR/2019/WD-css-pseudo-4-20190225/ From c988c907b12f809035bb2d7f0666295f3e1781f4 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Thu, 7 Mar 2019 08:23:49 +0900 Subject: [PATCH 123/400] WD-css-color-4-20190305 See also: https://www.w3.org/TR/2019/WD-css-color-4-20190305/ --- after/syntax/css/color-4.vim | 2 +- test/test.css | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/after/syntax/css/color-4.vim b/after/syntax/css/color-4.vim index 7ebb950..19ecebd 100644 --- a/after/syntax/css/color-4.vim +++ b/after/syntax/css/color-4.vim @@ -1,3 +1,3 @@ syn match cssColorProp contained "\" -syn region cssFunction contained matchgroup=cssFunctionName start="\<\(hwb\|lab\|lch\|gray\|color\|device-cmyk\|color-mod\=\)\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 diff --git a/test/test.css b/test/test.css index a370d35..aa879a7 100644 --- a/test/test.css +++ b/test/test.css @@ -95,7 +95,6 @@ display: gray(50%); display: color(swopc, 0 206 190 77); display: device-cmyk(0, 81%, 81%, 30%); - display: color-mod(#112233 tint(50%)); } @color-profile swopc { From ddf0eb895b7d4809c91826218661ea490b51e347 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Thu, 7 Mar 2019 08:27:09 +0900 Subject: [PATCH 124/400] 1.2.1 From 0caf93fcd592ee0cc9c939619e8747bf878f948e Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Wed, 20 Mar 2019 08:47:26 +0900 Subject: [PATCH 125/400] CR-css-scroll-snap-1-20190319 No changes. From 1d8006de19ed9780406641d9e4afd6d88d7f49aa Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Thu, 4 Apr 2019 08:49:33 +0900 Subject: [PATCH 126/400] Delete selectors-nonelement-1.vim Non-element Selectors Module Level 1 was sent to note. --- after/syntax/css/selectors-nonelement-1.vim | 1 - 1 file changed, 1 deletion(-) delete mode 100644 after/syntax/css/selectors-nonelement-1.vim diff --git a/after/syntax/css/selectors-nonelement-1.vim b/after/syntax/css/selectors-nonelement-1.vim deleted file mode 100644 index 46a0315..0000000 --- a/after/syntax/css/selectors-nonelement-1.vim +++ /dev/null @@ -1 +0,0 @@ -syn region cssPseudoClassLang matchgroup=cssPseudoClassId start="::attr(" end=")" oneline From 26f59493b954e24eb8baf865e1f7899d234f1d21 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Wed, 24 Apr 2019 09:03:56 +0900 Subject: [PATCH 127/400] Add nav-1.vim This syntax file is for CSS Spatial Navigation Level 1. See also: https://www.w3.org/TR/2019/WD-css-nav-1-20190423/ --- after/syntax/css/nav-1.vim | 2 ++ test/test.css | 6 ++++++ 2 files changed, 8 insertions(+) create mode 100644 after/syntax/css/nav-1.vim diff --git a/after/syntax/css/nav-1.vim b/after/syntax/css/nav-1.vim new file mode 100644 index 0000000..4877c16 --- /dev/null +++ b/after/syntax/css/nav-1.vim @@ -0,0 +1,2 @@ +syn match cssFontProp contained "\" +syn keyword cssFontAttr contained focus diff --git a/test/test.css b/test/test.css index aa879a7..bc7cd24 100644 --- a/test/test.css +++ b/test/test.css @@ -580,6 +580,12 @@ mask { display: auto; } +.nav-1 { + spatial-navigation-contain: auto; + spatial-navigation-action: auto; + display: focus; +} + .overflow-3 { max-lines: auto; block-overflow: auto; From d9f7b797804ddee3ed6380fbf9c3c402dbb963aa Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Tue, 7 May 2019 09:09:49 +0900 Subject: [PATCH 128/400] CR-css-easing-1-20190430 No changes, see also: https://www.w3.org/TR/2019/CR-css-easing-1-20190430/ From d5786519371f259388dc18b56f8257521606e563 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Tue, 7 May 2019 09:11:03 +0900 Subject: [PATCH 129/400] CR-css-contain-1-20190430 No changes, see also: https://www.w3.org/TR/2019/CR-css-contain-1-20190430/ From bb0b14c8ad997be9e7713d459a91e93c881265ed Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Tue, 7 May 2019 09:19:15 +0900 Subject: [PATCH 130/400] WD-css-lists-3-20190425 See also: https://www.w3.org/TR/2019/WD-css-lists-3-20190425/ --- after/syntax/css/lists-3.vim | 2 +- test/test.css | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/after/syntax/css/lists-3.vim b/after/syntax/css/lists-3.vim index 8471b5b..9c73bcd 100644 --- a/after/syntax/css/lists-3.vim +++ b/after/syntax/css/lists-3.vim @@ -1,6 +1,6 @@ syn match cssGeneratedContentProp contained "\" syn match cssGeneratedContentProp contained "\" syn keyword cssGeneratedContentAttr contained marker +syn match cssGeneratedContentAttr contained "\" syn match cssGeneratedContentAttr contained "\" -syn keyword cssPseudoClassId contained marker syn region cssFunction contained matchgroup=cssFunctionName start="\ Date: Thu, 23 May 2019 09:11:38 +0900 Subject: [PATCH 131/400] Add color-adjust-1.vim See also: https://www.w3.org/TR/2019/WD-css-color-adjust-1-20190521/ --- after/syntax/css/color-4.vim | 1 - after/syntax/css/color-adjust.vim | 3 +++ test/test.css | 10 +++++++++- 3 files changed, 12 insertions(+), 2 deletions(-) create mode 100644 after/syntax/css/color-adjust.vim diff --git a/after/syntax/css/color-4.vim b/after/syntax/css/color-4.vim index 19ecebd..6a7fbb6 100644 --- a/after/syntax/css/color-4.vim +++ b/after/syntax/css/color-4.vim @@ -1,3 +1,2 @@ -syn match cssColorProp contained "\" 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 diff --git a/after/syntax/css/color-adjust.vim b/after/syntax/css/color-adjust.vim new file mode 100644 index 0000000..a216224 --- /dev/null +++ b/after/syntax/css/color-adjust.vim @@ -0,0 +1,3 @@ +syn match cssColorProp contained "\<\(forced-\)\=color-adjust\>" +syn match cssColorProp contained "\" +syn keyword cssFontAttr contained only economy exact diff --git a/test/test.css b/test/test.css index 3069877..c1b7100 100644 --- a/test/test.css +++ b/test/test.css @@ -88,7 +88,6 @@ } .color-4 { - color-adjust: auto; display: hwb(120deg, 44%, 50%); display: lab(1 2 3); display: lch(4 5 6); @@ -101,6 +100,15 @@ 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 { mix-blend-mode: auto; isolation: auto; From 39e6999142ed10212b8624c31fff8ac1644f1109 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Thu, 23 May 2019 09:14:14 +0900 Subject: [PATCH 132/400] 1.3.0 From 547e1de69f3a2227a069f4d6b41b94b76919428f Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Fri, 24 May 2019 08:47:17 +0900 Subject: [PATCH 133/400] Update sizing-3.vim https://www.w3.org/TR/2019/WD-css-sizing-3-20190522/ From af915e056e4ac0d5b6e6d3e5dfcaaba3abae2fe2 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Sat, 25 May 2019 14:32:10 +0900 Subject: [PATCH 134/400] Update color-adjust-1.vim https://www.w3.org/TR/2019/WD-css-color-adjust-1-20190523/ From 84c88ac746966713c33aa90b958fbbc718894964 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Sat, 8 Jun 2019 09:05:31 +0900 Subject: [PATCH 135/400] Update values-3.vim No changes. https://www.w3.org/TR/2019/CR-css-values-3-20190606/ From 22c5e8078ddee05c2f447442be5542839aea042c Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Sat, 8 Jun 2019 09:11:26 +0900 Subject: [PATCH 136/400] Add overscroll-1.vim https://www.w3.org/TR/2019/WD-css-overscroll-1-20190606/ --- after/syntax/css/overscroll-1.vim | 1 + test/test.css | 8 ++++++++ 2 files changed, 9 insertions(+) create mode 100644 after/syntax/css/overscroll-1.vim diff --git a/after/syntax/css/overscroll-1.vim b/after/syntax/css/overscroll-1.vim new file mode 100644 index 0000000..c066b70 --- /dev/null +++ b/after/syntax/css/overscroll-1.vim @@ -0,0 +1 @@ +syn match cssFontProp contained "\" diff --git a/test/test.css b/test/test.css index c1b7100..6cd34b8 100644 --- a/test/test.css +++ b/test/test.css @@ -612,6 +612,14 @@ mask { 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 { marks: auto; bleed: auto; From dc7b427e5b822f0d8ecc051bc31c1079e6540862 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Thu, 27 Jun 2019 14:33:51 +0900 Subject: [PATCH 137/400] Add animation-worklet-1.vim https://www.w3.org/TR/2019/WD-css-animation-worklet-1-20190625/ --- after/syntax/css/animation-worklet-1.vim | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 after/syntax/css/animation-worklet-1.vim diff --git a/after/syntax/css/animation-worklet-1.vim b/after/syntax/css/animation-worklet-1.vim new file mode 100644 index 0000000..e69de29 From a0d55ac3aac9b48acda71c617e8dedb3bbfea31f Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Sat, 29 Jun 2019 18:58:14 +0900 Subject: [PATCH 138/400] Update meta information --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index cf35f36..133939b 100644 --- a/README.md +++ b/README.md @@ -83,13 +83,13 @@ want to highlight Media Queries correctly, you must update Vim to 8.0+. AUTHOR ------ -Kyo Nagashima (https://kyonagashima.com/) +Kyo Nagashima (https://hail2u.net/) LICENSE ------- -MIT: http://hail2u.mit-license.org/2011 +MIT License [1]: http://www.vim.org/ From a383e34b233f7f5bf13e3b63f1f56ba62970243d Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Fri, 12 Jul 2019 07:56:57 +0900 Subject: [PATCH 139/400] Update content-3.vim https://www.w3.org/TR/2019/WD-css-content-3-20190710/ From c5ea01f581803bf7430f6e4dceb68310b35e2586 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Fri, 12 Jul 2019 21:09:23 +0900 Subject: [PATCH 140/400] Update display-3.vim https://www.w3.org/TR/2019/CR-css-display-3-20190711/ From 29ade81400b82d455da64f3cddec17cf7dcd7bff Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Wed, 17 Jul 2019 08:36:55 +0900 Subject: [PATCH 141/400] Update syntax-3.vim https://www.w3.org/TR/2019/CR-css-syntax-3-20190716/ From bdfc1fde874f8dc13f494f32ececf30a96a02258 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Wed, 24 Jul 2019 07:52:35 +0900 Subject: [PATCH 142/400] Revert author URL --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 133939b..7e02a06 100644 --- a/README.md +++ b/README.md @@ -83,7 +83,7 @@ want to highlight Media Queries correctly, you must update Vim to 8.0+. AUTHOR ------ -Kyo Nagashima (https://hail2u.net/) +Kyo Nagashima (https://kyonagashima.com/) LICENSE From c9c7ec3896d82b1ff862ef8970fce9847d57db5a Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Mon, 29 Jul 2019 21:00:10 +0900 Subject: [PATCH 143/400] Update tables-3.vim https://www.w3.org/TR/2019/WD-css-tables-3-20190727/ From d73370473321da5d23c01c5cff3b06d2b6dc477d Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Wed, 31 Jul 2019 18:24:03 +0900 Subject: [PATCH 144/400] Update writing-modes-3.vim https://www.w3.org/TR/2019/CR-css-writing-modes-3-20190730/ From 566c51cc9e07ec180ab148d1215c7fb93e8a4cbb Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Wed, 31 Jul 2019 18:25:27 +0900 Subject: [PATCH 145/400] Update writing-modes-4.vim https://www.w3.org/TR/2019/CR-css-writing-modes-4-20190730/ From c67661a5df5b5fb5edc61e959bfd1f15ba8a1318 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Sun, 4 Aug 2019 08:03:33 +0900 Subject: [PATCH 146/400] Update content-3.vim https://www.w3.org/TR/2019/WD-css-content-3-20190802/ From d467649124fa7ea7b800247130ab8479f666254f Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Wed, 14 Aug 2019 19:34:08 +0900 Subject: [PATCH 147/400] Update text-decor-3.vim https://www.w3.org/TR/2019/CR-css-text-decor-3-20190813/ From cfaa56b81b9aa2a2aa49964a89a334588b7221b4 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Mon, 19 Aug 2019 22:38:47 +0900 Subject: [PATCH 148/400] Update lists-3.vim https://www.w3.org/TR/2019/WD-css-lists-3-20190817/ --- after/syntax/css/lists-3.vim | 1 + 1 file changed, 1 insertion(+) diff --git a/after/syntax/css/lists-3.vim b/after/syntax/css/lists-3.vim index 9c73bcd..e62f46d 100644 --- a/after/syntax/css/lists-3.vim +++ b/after/syntax/css/lists-3.vim @@ -1,3 +1,4 @@ +" WD-css-lists-3-20190817 syn match cssGeneratedContentProp contained "\" syn match cssGeneratedContentProp contained "\" syn keyword cssGeneratedContentAttr contained marker From 7eaca88c16c228a7a8202b43a0649cc88f116298 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Wed, 4 Sep 2019 19:22:42 +0900 Subject: [PATCH 149/400] Update writing-modes-3.vim https://www.w3.org/TR/2019/CR-css-writing-modes-3-20190903/ From 0c7d58818c3dec8b0b1267a60c0c09394308fae8 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Sat, 12 Oct 2019 07:55:59 +0900 Subject: [PATCH 150/400] Update images-3.vim https://www.w3.org/TR/2019/CR-css-images-3-20191010/ --- after/syntax/css/images-3.vim | 2 +- test/test.css | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/after/syntax/css/images-3.vim b/after/syntax/css/images-3.vim index c10d823..fe377a4 100644 --- a/after/syntax/css/images-3.vim +++ b/after/syntax/css/images-3.vim @@ -1,6 +1,6 @@ syn match cssFontProp contained "\" syn match cssFontProp contained "\" -syn keyword cssFontAttr contained snap +syn keyword cssFontAttr contained snap flip syn match cssFontAttr contained "\" syn match cssFontAttr contained "\" syn region cssFunction contained matchgroup=cssFunctionName start="\<\(repeating-\(linear\|radial\)-gradient\)\s*(" end=")" oneline keepend diff --git a/test/test.css b/test/test.css index 6cd34b8..221c259 100644 --- a/test/test.css +++ b/test/test.css @@ -427,6 +427,7 @@ template { object-position: auto; image-orientation: auto; display: snap; + display: flip; display: scale-down; display: from-image; display: repeating-linear-gradient(to bottom, yellow, blue); From 9f8026cdc7982a1cdd193b21667e24907363e5de Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Tue, 15 Oct 2019 21:12:26 +0900 Subject: [PATCH 151/400] Add contain-2.vim https://www.w3.org/TR/2019/WD-css-contain-2-20191015/ --- after/syntax/css/contain-2.vim | 0 test/test.css | 4 ++++ 2 files changed, 4 insertions(+) create mode 100644 after/syntax/css/contain-2.vim diff --git a/after/syntax/css/contain-2.vim b/after/syntax/css/contain-2.vim new file mode 100644 index 0000000..e69de29 diff --git a/test/test.css b/test/test.css index 221c259..be20608 100644 --- a/test/test.css +++ b/test/test.css @@ -145,6 +145,10 @@ display: size; } +.contain-2 { + display: auto; +} + .content-3 { string-set: auto; bookmark-level: auto; From ac5da79ba05341538e3dc0502417e08484bacfac Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Tue, 15 Oct 2019 21:12:57 +0900 Subject: [PATCH 152/400] Update contain-1.vim https://www.w3.org/TR/2019/PR-css-contain-1-20191015/ From 6c4e888d30d97326f24302e00a2d51525e7c71fd Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Thu, 17 Oct 2019 14:54:21 +0900 Subject: [PATCH 153/400] Update multicol-1.vim https://www.w3.org/TR/2019/WD-css-multicol-1-20191015/ From 037c11a418c018c40dfde9e0d159e18c1968a104 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Thu, 24 Oct 2019 17:52:43 +0900 Subject: [PATCH 154/400] Update writing-modes-3.vim https://www.w3.org/TR/2019/PR-css-writing-modes-3-20191024/ From ba724e772559d3dd8f3e5059b4f5e6e024f7b332 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Sat, 26 Oct 2019 20:30:41 +0900 Subject: [PATCH 155/400] Update properties-values-api-1.vim https://www.w3.org/TR/2019/WD-css-properties-values-api-1-20191025/ --- after/syntax/css/properties-values-api-1.vim | 2 ++ test/test.css | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/after/syntax/css/properties-values-api-1.vim b/after/syntax/css/properties-values-api-1.vim index e69de29..48f3104 100644 --- a/after/syntax/css/properties-values-api-1.vim +++ b/after/syntax/css/properties-values-api-1.vim @@ -0,0 +1,2 @@ +syn keyword cssFontProp contained syntax inherits +syn match cssFontProp contained "\" diff --git a/test/test.css b/test/test.css index be20608..73ac646 100644 --- a/test/test.css +++ b/test/test.css @@ -662,7 +662,9 @@ mask { } .properties-values-api-1 { - display: auto; + syntax: auto; + inherits: auto; + initial-value: auto; } .pseudo-4::inactive-selection, From e4f8096b95392f5a4438bdd5ee17cfa15621f4b0 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Sat, 26 Oct 2019 20:32:08 +0900 Subject: [PATCH 156/400] 1.4.0 From 1e61ba9b5df0aa7dc825a991edcec12b355d39a9 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Thu, 7 Nov 2019 08:35:26 +0900 Subject: [PATCH 157/400] Update color-4.vim https://www.w3.org/TR/2019/WD-css-color-4-20191105/ --- after/syntax/css/color-4.vim | 2 ++ test/test.css | 3 +++ 2 files changed, 5 insertions(+) diff --git a/after/syntax/css/color-4.vim b/after/syntax/css/color-4.vim index 6a7fbb6..44d27c9 100644 --- a/after/syntax/css/color-4.vim +++ b/after/syntax/css/color-4.vim @@ -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 match cssFontDescriptor "@color-profile\>" nextgroup=cssFontDescriptorBlock skipwhite skipnl diff --git a/test/test.css b/test/test.css index 73ac646..e38792d 100644 --- a/test/test.css +++ b/test/test.css @@ -94,6 +94,9 @@ display: gray(50%); display: color(swopc, 0 206 190 77); display: device-cmyk(0, 81%, 81%, 30%); + display: relative-colorimetric; + display: absolute-colorimetric; + display: perceptual; } @color-profile swopc { From cf953ffa27d3f25823c6ba4bb02452d7cb59b965 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Sat, 23 Nov 2019 07:54:52 +0900 Subject: [PATCH 158/400] Update contain-1.vim https://www.w3.org/TR/2019/REC-css-contain-1-20191121/ From 70cb73d4d893ed00374c69f23be49f1d58ae7053 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Sat, 23 Nov 2019 07:56:08 +0900 Subject: [PATCH 159/400] Update text-3.vim https://www.w3.org/TR/2019/WD-css-text-3-20191113/#changes From 81364390d3aa1d3f251aa8a0d2917c2cef87fff7 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Sat, 23 Nov 2019 07:58:25 +0900 Subject: [PATCH 160/400] Update text-4.vim https://www.w3.org/TR/2019/WD-css-text-4-20191113/ From c1f03abe28feea8e407a8cd6bc7140543adaa81e Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Sat, 23 Nov 2019 08:06:07 +0900 Subject: [PATCH 161/400] Update fonts-4.vim https://www.w3.org/TR/2019/WD-css-fonts-4-20191113/ --- after/syntax/css/fonts-4.vim | 3 ++- test/test.css | 7 +++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/after/syntax/css/fonts-4.vim b/after/syntax/css/fonts-4.vim index 929ffd3..39628fc 100644 --- a/after/syntax/css/fonts-4.vim +++ b/after/syntax/css/fonts-4.vim @@ -1,4 +1,3 @@ -syn match cssFontProp contained "\" syn match cssFontProp contained "\" syn match cssFontProp contained "\" syn match cssFontProp contained "\" @@ -9,7 +8,9 @@ syn match cssFontProp contained "\" syn match cssFontProp contained "\" syn keyword cssFontAttr contained emoji math fangsong infinity swap fallback optional light dark syn match cssFontAttr contained "\" +syn match cssFontAttr contained "\" syn match cssFontAttr contained "\" +syn match cssFontAttr contained "\" 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 diff --git a/test/test.css b/test/test.css index e38792d..1acd2cc 100644 --- a/test/test.css +++ b/test/test.css @@ -359,8 +359,6 @@ } .fonts-4 { - font-min-size: auto; - font-max-size: auto; font-display: auto; font-optical-sizing: auto; font-variation-settings: auto; @@ -384,6 +382,11 @@ display: optional; display: light; display: dark; + display: ui-serif; + display: ui-sans-serif; + display: ui-monospace; + display: ui-rounded; + display: xxx-large; } @font-palette-values Test { From 8aee9a339d9e6a68be653a1ebdc6aeba141d3ea4 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Wed, 27 Nov 2019 18:30:52 +0900 Subject: [PATCH 162/400] Update nav-1.vim https://www.w3.org/TR/2019/WD-css-nav-1-20191126/ --- after/syntax/css/nav-1.vim | 2 +- test/test.css | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/after/syntax/css/nav-1.vim b/after/syntax/css/nav-1.vim index 4877c16..31c4c86 100644 --- a/after/syntax/css/nav-1.vim +++ b/after/syntax/css/nav-1.vim @@ -1,2 +1,2 @@ -syn match cssFontProp contained "\" +syn match cssFontProp contained "\" syn keyword cssFontAttr contained focus diff --git a/test/test.css b/test/test.css index 1acd2cc..6644ea6 100644 --- a/test/test.css +++ b/test/test.css @@ -602,6 +602,7 @@ mask { .nav-1 { spatial-navigation-contain: auto; spatial-navigation-action: auto; + spatial-navigation-function: auto; display: focus; } From dcd7e3dca89e99a4190bd5910a86c99fcc543cce Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Thu, 5 Dec 2019 08:19:04 +0900 Subject: [PATCH 163/400] Update grid-2.vim https://www.w3.org/TR/2019/WD-css-grid-2-20191203/ --- after/syntax/css/grid-2.vim | 1 - test/test.css | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/after/syntax/css/grid-2.vim b/after/syntax/css/grid-2.vim index 900c8d1..e69de29 100644 --- a/after/syntax/css/grid-2.vim +++ b/after/syntax/css/grid-2.vim @@ -1 +0,0 @@ -syn match cssValueNumber contained "\d\(.\d\+\)\=ar" diff --git a/test/test.css b/test/test.css index 6644ea6..5bc0427 100644 --- a/test/test.css +++ b/test/test.css @@ -420,7 +420,7 @@ } .grid-2 { - display: 1.618ar; + display: auto; } .html5, From 496f27aaf3b43e925a0a249439252b27fcb4fda7 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Wed, 11 Dec 2019 08:16:05 +0900 Subject: [PATCH 164/400] Update writing-modes-3.vim https://www.w3.org/TR/2019/REC-css-writing-modes-3-20191210/ From 75322b91a1f642cb254b3fa28472da23efc3e3b7 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Fri, 3 Jan 2020 07:33:27 +0900 Subject: [PATCH 165/400] Update ui-4.vim https://www.w3.org/TR/2020/WD-css-ui-4-20200102/ From 6253d1b746fcb9eecacdc29a1a3e8f5ce744b85f Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Sun, 26 Jan 2020 15:07:01 +0900 Subject: [PATCH 166/400] Update ui-4.vim https://www.w3.org/TR/2020/WD-css-ui-4-20200124/ From f483738520c0313c2b4374ad57898e2e5c852437 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Wed, 12 Feb 2020 18:34:55 +0900 Subject: [PATCH 167/400] Add scroll-anchoring-1.vim https://www.w3.org/TR/2020/WD-css-scroll-anchoring-1-20200211/ --- after/syntax/css/scroll-anchoring-1.vim | 1 + test/test.css | 4 ++++ 2 files changed, 5 insertions(+) create mode 100644 after/syntax/css/scroll-anchoring-1.vim diff --git a/after/syntax/css/scroll-anchoring-1.vim b/after/syntax/css/scroll-anchoring-1.vim new file mode 100644 index 0000000..7285d4c --- /dev/null +++ b/after/syntax/css/scroll-anchoring-1.vim @@ -0,0 +1 @@ +syn match cssFontProp contained "\" diff --git a/test/test.css b/test/test.css index 5bc0427..1ea6eca 100644 --- a/test/test.css +++ b/test/test.css @@ -742,6 +742,10 @@ mask { } } +.scroll-anchoring-1 { + overflow-anchor: auto; +} + .scroll-snap-1 { scroll-snap-type: auto; scroll-padding: auto; From 14f6b95d2546fa5c991b17b9e5cc37516df5e25f Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Wed, 12 Feb 2020 18:36:50 +0900 Subject: [PATCH 168/400] Add resize-observer-1.vim https://www.w3.org/TR/2020/WD-resize-observer-1-20200211/ --- after/syntax/css/resize-observer-1.vim | 0 test/test.css | 4 ++++ 2 files changed, 4 insertions(+) create mode 100644 after/syntax/css/resize-observer-1.vim diff --git a/after/syntax/css/resize-observer-1.vim b/after/syntax/css/resize-observer-1.vim new file mode 100644 index 0000000..e69de29 diff --git a/test/test.css b/test/test.css index 1ea6eca..e6d7c7a 100644 --- a/test/test.css +++ b/test/test.css @@ -691,6 +691,10 @@ mask { display: avoid-region; } +.resize-observer-1 { + display: auto; +} + .rhythm-1 { line-height-step: auto; block-step-size: auto; From 241f57e057874e65f417a9082cb3993bde64ecc1 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Fri, 4 Oct 2019 16:47:32 +0900 Subject: [PATCH 169/400] Follow changes in the default runtime files These removed syntaxes are included in [runtime files update][1]. [1]: https://github.com/vim/vim/commit/06fe74aef72606ac34c9f494186e52614b8fb59a#diff-613ff34c5d60e41a3fc93fcb58277143 --- after/syntax/css/cascade-3.vim | 2 -- after/syntax/css/display-3.vim | 1 - after/syntax/css/grid-1.vim | 2 -- after/syntax/css/text-3.vim | 5 +---- after/syntax/css/values-3.vim | 3 +-- after/syntax/css/variables-1.vim | 2 -- test/test.css | 19 ++----------------- 7 files changed, 4 insertions(+), 30 deletions(-) diff --git a/after/syntax/css/cascade-3.vim b/after/syntax/css/cascade-3.vim index 2192a87..e69de29 100644 --- a/after/syntax/css/cascade-3.vim +++ b/after/syntax/css/cascade-3.vim @@ -1,2 +0,0 @@ -syn keyword cssFontProp all -syn keyword cssCommonAttr contained initial unset diff --git a/after/syntax/css/display-3.vim b/after/syntax/css/display-3.vim index 9eee23d..9a5aeaa 100644 --- a/after/syntax/css/display-3.vim +++ b/after/syntax/css/display-3.vim @@ -1,3 +1,2 @@ syn keyword cssFontAttr contained contents discard -syn match cssFontAttr contained "\" syn match cssBoxAttr contained "\" diff --git a/after/syntax/css/grid-1.vim b/after/syntax/css/grid-1.vim index 6a61f34..1e75d5d 100644 --- a/after/syntax/css/grid-1.vim +++ b/after/syntax/css/grid-1.vim @@ -1,5 +1,3 @@ -syn match cssFontProp contained "\" syn keyword cssFontAttr contained dense span syn match cssFontAttr contained "\" -syn match cssValueNumber contained "[01]\(.\d\+\)\=fr" syn region cssFunction contained matchgroup=cssFunctionName start="\<\(minmax\|repeat\)\s*(" end=")" oneline keepend diff --git a/after/syntax/css/text-3.vim b/after/syntax/css/text-3.vim index 2036441..2df6a23 100644 --- a/after/syntax/css/text-3.vim +++ b/after/syntax/css/text-3.vim @@ -1,9 +1,6 @@ -syn keyword cssTextProp contained hyphens -syn match cssTextProp contained "\" -syn match cssTextProp contained "\" syn match cssTextProp contained "\" syn match cssTextProp contained "\" -syn keyword cssTextAttr contained manual loose strict hanging anywhere +syn keyword cssTextAttr contained loose strict hanging anywhere syn match cssTextAttr contained "\" syn match cssTextAttr contained "\" syn match cssTextAttr contained "\" diff --git a/after/syntax/css/values-3.vim b/after/syntax/css/values-3.vim index 4f70987..f940843 100644 --- a/after/syntax/css/values-3.vim +++ b/after/syntax/css/values-3.vim @@ -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 region cssFunction contained matchgroup=cssFunctionName start="\" -syn region cssFunction contained matchgroup=cssFunctionName start="\ Date: Thu, 13 Feb 2020 13:10:20 +0900 Subject: [PATCH 170/400] 1.5.0 From 107e3bd060e5a9cd85ac73dfd6e87874f9bfebcf Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Wed, 4 Mar 2020 18:59:04 +0900 Subject: [PATCH 171/400] Add color-5.vim https://www.w3.org/TR/2020/WD-css-color-5-20200303/ --- after/syntax/css/color-5.vim | 1 + test/test.css | 6 ++++++ 2 files changed, 7 insertions(+) create mode 100644 after/syntax/css/color-5.vim diff --git a/after/syntax/css/color-5.vim b/after/syntax/css/color-5.vim new file mode 100644 index 0000000..148c781 --- /dev/null +++ b/after/syntax/css/color-5.vim @@ -0,0 +1 @@ +syn region cssFunction contained matchgroup=cssFunctionName start="\<\(color-\(mix\|contrast\|adjust\)\|red\|green\|blue\|alpha\|hue\|saturation\|lightness\|whiteness \|blackness\|chroma\)\s*(" end=")" contains=cssCustomProp,cssFunction,cssColor,cssFunctionComma oneline diff --git a/test/test.css b/test/test.css index e7957de..c243872 100644 --- a/test/test.css +++ b/test/test.css @@ -101,6 +101,12 @@ 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-scheme: auto; forced-color-adjust: auto; From d65cd9c88e322410d36af051b125b6891d2da802 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Wed, 4 Mar 2020 19:18:40 +0900 Subject: [PATCH 172/400] Update color-5.vim `a()` and `b()` are needed for LAB color. --- after/syntax/css/color-5.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/after/syntax/css/color-5.vim b/after/syntax/css/color-5.vim index 148c781..525795c 100644 --- a/after/syntax/css/color-5.vim +++ b/after/syntax/css/color-5.vim @@ -1 +1 @@ -syn region cssFunction contained matchgroup=cssFunctionName start="\<\(color-\(mix\|contrast\|adjust\)\|red\|green\|blue\|alpha\|hue\|saturation\|lightness\|whiteness \|blackness\|chroma\)\s*(" end=")" contains=cssCustomProp,cssFunction,cssColor,cssFunctionComma oneline +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 From 6f5b17688c0ad4c2ac6151fbce33d44f28afaf1c Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Tue, 10 Mar 2020 20:44:10 +0900 Subject: [PATCH 173/400] Revert "Remove css3-speech.vim" This reverts commit 912de28994bc408ae018ae3de70f1db372786543. --- after/syntax/css/speech-3.vim | 6 ++++++ test/test.css | 27 +++++++++++++++++++++++++++ 2 files changed, 33 insertions(+) create mode 100644 after/syntax/css/speech-3.vim diff --git a/after/syntax/css/speech-3.vim b/after/syntax/css/speech-3.vim new file mode 100644 index 0000000..0de3014 --- /dev/null +++ b/after/syntax/css/speech-3.vim @@ -0,0 +1,6 @@ +syn match cssAuralProp contained "\" +syn match cssAuralProp contained "\" +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\)" diff --git a/test/test.css b/test/test.css index c243872..0a0d63b 100644 --- a/test/test.css +++ b/test/test.css @@ -851,6 +851,33 @@ mask { display: fit-content(10%); } +.speech-3 { + 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 { display: auto; } From d852533256b43bb4f80593d3bd4f160fd16c50e5 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Tue, 10 Mar 2020 20:46:46 +0900 Subject: [PATCH 174/400] Update speech-1.vim https://www.w3.org/TR/2020/CR-css-speech-1-20200310/ --- after/syntax/css/{speech-3.vim => speech-1.vim} | 0 test/test.css | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename after/syntax/css/{speech-3.vim => speech-1.vim} (100%) diff --git a/after/syntax/css/speech-3.vim b/after/syntax/css/speech-1.vim similarity index 100% rename from after/syntax/css/speech-3.vim rename to after/syntax/css/speech-1.vim diff --git a/test/test.css b/test/test.css index 0a0d63b..8af1cfa 100644 --- a/test/test.css +++ b/test/test.css @@ -851,7 +851,7 @@ mask { display: fit-content(10%); } -.speech-3 { +.speech-1 { voice-volume: auto; voice-balance: auto; rest-before: auto; From c61637cc7a53cead192ec6f7cfc9e1aabc771882 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Fri, 20 Mar 2020 09:18:02 +0900 Subject: [PATCH 175/400] Add transforms-2.vim https://www.w3.org/TR/2020/WD-css-transforms-2-20200303/ --- after/syntax/css/transforms-2.vim | 2 ++ test/test.css | 7 +++++++ 2 files changed, 9 insertions(+) create mode 100644 after/syntax/css/transforms-2.vim diff --git a/after/syntax/css/transforms-2.vim b/after/syntax/css/transforms-2.vim new file mode 100644 index 0000000..109a4ee --- /dev/null +++ b/after/syntax/css/transforms-2.vim @@ -0,0 +1,2 @@ +syn keyword cssFontProp contained rotate scale translate +syn keyword cssFontAttr contained flat diff --git a/test/test.css b/test/test.css index 8af1cfa..8f2dad7 100644 --- a/test/test.css +++ b/test/test.css @@ -1090,6 +1090,13 @@ view { transform-box: auto; } +.tranforms-2 { + rotate: auto; + scale: auto; + translate: auto; + display: flat; +} + .transitions-1 { display: auto; } From 9caf119a578d904ab41736e902cacf93d56a22d9 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Fri, 20 Mar 2020 09:33:15 +0900 Subject: [PATCH 176/400] Add conditional-4.vim https://www.w3.org/TR/2020/WD-css-conditional-4-20200303/ --- after/syntax/css/conditional-4.vim | 0 test/test.css | 6 +++++- 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 after/syntax/css/conditional-4.vim diff --git a/after/syntax/css/conditional-4.vim b/after/syntax/css/conditional-4.vim new file mode 100644 index 0000000..e69de29 diff --git a/test/test.css b/test/test.css index 8f2dad7..300b329 100644 --- a/test/test.css +++ b/test/test.css @@ -79,7 +79,11 @@ display: revert; } -@import "test.css" supports(display: auto); +@import "conditional-3.css" supports(display: auto); + +@supports (selector(.conditional-4)) { + display: auto; +} .color-3 { display: auto; From 2017ababced439b2cbd1805c01c54b91fb05ecf9 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Sun, 29 Mar 2020 15:33:56 +0900 Subject: [PATCH 177/400] Add scrollbars-1.vim https://www.w3.org/TR/2018/WD-css-scrollbars-1-20180925/ --- after/syntax/css/scrollbars-1.vim | 1 + test/test.css | 1529 +++++++++++++++-------------- 2 files changed, 768 insertions(+), 762 deletions(-) create mode 100644 after/syntax/css/scrollbars-1.vim diff --git a/after/syntax/css/scrollbars-1.vim b/after/syntax/css/scrollbars-1.vim new file mode 100644 index 0000000..6d50b13 --- /dev/null +++ b/after/syntax/css/scrollbars-1.vim @@ -0,0 +1 @@ +syn match cssFontProp contained "\" diff --git a/test/test.css b/test/test.css index 300b329..88597ef 100644 --- a/test/test.css +++ b/test/test.css @@ -1,430 +1,430 @@ .align-3 { - place-self: auto; - place-content: auto; - place-items: auto; - row-gap: auto; - gap: auto; - display: safe; - display: unsafe; - display: self-start; - display: self-end; - display: space-evenly; - display: legacy; + place-self: auto; + place-content: auto; + place-items: auto; + row-gap: auto; + gap: auto; + display: safe; + display: unsafe; + display: self-start; + display: self-end; + display: space-evenly; + display: legacy; } .animations-1 { - display: auto; + display: auto; } .backgrounds-3 { - display: auto; + display: auto; } .backgrounds-4 { - background-position-x: auto; - background-position-y: auto; - background-position-inline: auto; - background-position-block: auto; - corner-shape: auto; - corners: auto; - border-limit: auto; - border-clip: auto; - border-clip-top: auto; - border-clip-right: auto; - border-clip-bottom: auto; - border-clip-left: auto; - display: x-start; - display: x-end; - display: y-start; - display: y-end; - display: bevel; - display: scoop; - display: notch; + background-position-x: auto; + background-position-y: auto; + background-position-inline: auto; + background-position-block: auto; + corner-shape: auto; + corners: auto; + border-limit: auto; + border-clip: auto; + border-clip-top: auto; + border-clip-right: auto; + border-clip-bottom: auto; + border-clip-left: auto; + display: x-start; + display: x-end; + display: y-start; + display: y-end; + display: bevel; + display: scoop; + display: notch; } .box-3 { - margin-trim: auto; - 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; + margin-trim: auto; + 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 { - display: recto; - display: verso; + display: recto; + display: verso; } .break-4 { - margin-break: auto; - display: keep; + margin-break: auto; + display: keep; } .cascade-3 { - display: auto; + display: auto; } .cascade-4 { - display: revert; + display: revert; } @import "conditional-3.css" supports(display: auto); @supports (selector(.conditional-4)) { - display: auto; + display: auto; } .color-3 { - display: auto; + display: auto; } .color-4 { - display: hwb(120deg, 44%, 50%); - display: lab(1 2 3); - display: lch(4 5 6); - display: gray(50%); - display: color(swopc, 0 206 190 77); - display: device-cmyk(0, 81%, 81%, 30%); - display: relative-colorimetric; - display: absolute-colorimetric; - display: perceptual; + display: hwb(120deg, 44%, 50%); + display: lab(1 2 3); + display: lch(4 5 6); + display: gray(50%); + display: color(swopc, 0 206 190 77); + display: device-cmyk(0, 81%, 81%, 30%); + display: relative-colorimetric; + display: absolute-colorimetric; + display: perceptual; } @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%)); + 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-scheme: auto; - forced-color-adjust: auto; - color-adjust: auto; - display: only; - display: economy; - display: exact; + color-scheme: auto; + forced-color-adjust: auto; + color-adjust: auto; + display: only; + display: economy; + display: exact; } .compositing-1 { - mix-blend-mode: auto; - isolation: auto; - background-blend-mode: auto; - display: multiply; - display: screen; - display: overlay; - display: darken; - display: lighten; - display: color-dodge; - display: color-burn; - display: hard-light; - display: soft-light; - display: difference; - display: exclusion; - display: hue; - display: saturation; - display: color; - display: luminosity; + mix-blend-mode: auto; + isolation: auto; + background-blend-mode: auto; + display: multiply; + display: screen; + display: overlay; + display: darken; + display: lighten; + display: color-dodge; + display: color-burn; + display: hard-light; + display: soft-light; + display: difference; + display: exclusion; + display: hue; + display: saturation; + display: color; + display: luminosity; } @supports (display: auto) or - (display: auto) not - (display: auto) { - .conditional-3 { - display: auto; - } + (display: auto) not + (display: auto) { + .conditional-3 { + display: auto; + } } .contain-1 { - contain: auto; - display: layout; - display: paint; - display: size; + contain: auto; + display: layout; + display: paint; + display: size; } .contain-2 { - display: auto; + display: auto; } .content-3 { - string-set: auto; - bookmark-level: auto; - bookmark-label: auto; - bookmark-state: auto; - display: open; - display: closed; - display: leader('.'); - display: string(heading, first); - display: target-counter(attr(href url), page); - display: target-counters(lack-of-example); - display: target-text(attr(href url)); + string-set: auto; + bookmark-level: auto; + bookmark-label: auto; + bookmark-state: auto; + display: open; + display: closed; + display: leader('.'); + display: string(heading, first); + display: target-counter(attr(href url), page); + display: target-counters(lack-of-example); + display: target-text(attr(href url)); } @counter-style counter-styles-3 { - system: auto; - negative: auto; - prefix: auto; - suffix: auto; - range: auto; - pad: auto; - fallback: auto; - symbols: auto; - additive-symbols: auto; - speak-as: auto; - display: cyclic; - display: symbolic; - display: additive; - display: extends; - display: bullets; - display: numbers; - display: words; - display: symbols("*" "\2020" "\2021" "\A7"); - display: arabic-indic; - display: upper-armenian; - display: lower-armenian; - display: bengali; - display: cambodian; - display: khmer; - display: cjk-decimal; - display: devanagari; - display: gujarati; - display: gurmukhi; - display: kannada; - display: lao; - display: malayalam; - display: mongolian; - display: myanmar; - display: oriya; - display: persian; - display: tamil; - display: telugu; - display: thai; - display: tibetan; - display: cjk-earthly-branch; - display: cjk-heavenly-stem; - display: disclosure-closed; - display: disclosure-open; - display: japanese-informal; - display: japanese-formal; - display: korean-hangul-formal; - display: korean-hanja-informal; - display: korean-hanja-formal; - display: simp-chinese-informal; - display: simp-chinese-formal; - display: trad-chinese-informal; - display: trad-chinese-formal; - display: ethiopic-numeric; + system: auto; + negative: auto; + prefix: auto; + suffix: auto; + range: auto; + pad: auto; + fallback: auto; + symbols: auto; + additive-symbols: auto; + speak-as: auto; + display: cyclic; + display: symbolic; + display: additive; + display: extends; + display: bullets; + display: numbers; + display: words; + display: symbols("*" "\2020" "\2021" "\A7"); + display: arabic-indic; + display: upper-armenian; + display: lower-armenian; + display: bengali; + display: cambodian; + display: khmer; + display: cjk-decimal; + display: devanagari; + display: gujarati; + display: gurmukhi; + display: kannada; + display: lao; + display: malayalam; + display: mongolian; + display: myanmar; + display: oriya; + display: persian; + display: tamil; + display: telugu; + display: thai; + display: tibetan; + display: cjk-earthly-branch; + display: cjk-heavenly-stem; + display: disclosure-closed; + display: disclosure-open; + display: japanese-informal; + display: japanese-formal; + display: korean-hangul-formal; + display: korean-hanja-informal; + display: korean-hanja-formal; + display: simp-chinese-informal; + display: simp-chinese-formal; + display: trad-chinese-informal; + display: trad-chinese-formal; + display: ethiopic-numeric; } .cssom-1 { - display: auto; + display: auto; } .cssom-view-1 { - scroll-behavior: smooth; + scroll-behavior: smooth; } .device-adapt-1 { - display: auto; + display: auto; } @viewport { - min-zoom: auto; - max-zoom: auto; - user-zoom: auto; + min-zoom: auto; + max-zoom: auto; + user-zoom: auto; } .display-3 { - display: contents; - display: ruby; - display: ruby-base; - display: ruby-text; - display: ruby-base-group; - display: ruby-text-group; + display: contents; + display: ruby; + display: ruby-base; + display: ruby-text; + display: ruby-base-group; + display: ruby-text-group; } .easing-1 { - display: auto; + display: auto; } .exclusions-3 { - wrap-flow: auto; - wrap-through: auto; - display: minimum; - display: maximum; + wrap-flow: auto; + wrap-through: auto; + display: minimum; + display: maximum; } .fill-stroke-3 { - fill-rule: auto; - fill-break: auto; - fill-color: auto; - fill-image: auto; - fill-origin: auto; - fill-position: auto; - fill-size: auto; - fill-repeat: auto; - fill: auto; - fill-opacity: auto; - stroke-width: auto; - stroke-align: auto; - stroke-linecap: auto; - stroke-linejoin: auto; - stroke-miterlimit: auto; - stroke-break: auto; - stroke-dasharray: auto; - stroke-dashoffset: auto; - stroke-dash-corner: auto; - stroke-dash-justify: auto; - stroke-color: auto; - stroke-image: auto; - stroke-origin: auto; - stroke-position: auto; - stroke-size: auto; - stroke-repeat: auto; - stroke: auto; - stroke-opacity: auto; - display: butt; - display: arcs; - display: stupid; - display: compress; - display: dashes; - display: gaps; - display: bounding-box; + fill-rule: auto; + fill-break: auto; + fill-color: auto; + fill-image: auto; + fill-origin: auto; + fill-position: auto; + fill-size: auto; + fill-repeat: auto; + fill: auto; + fill-opacity: auto; + stroke-width: auto; + stroke-align: auto; + stroke-linecap: auto; + stroke-linejoin: auto; + stroke-miterlimit: auto; + stroke-break: auto; + stroke-dasharray: auto; + stroke-dashoffset: auto; + stroke-dash-corner: auto; + stroke-dash-justify: auto; + stroke-color: auto; + stroke-image: auto; + stroke-origin: auto; + stroke-position: auto; + stroke-size: auto; + stroke-repeat: auto; + stroke: auto; + stroke-opacity: auto; + display: butt; + display: arcs; + display: stupid; + display: compress; + display: dashes; + display: gaps; + display: bounding-box; } .filter-effects-1 { - flood-color: auto; - flood-opacity: auto; - color-interpolation-filters: auto; - lighting-color: auto; - display: sRGB; - display: linearRGB; - display: blur(5px); - display: brightness(0.4); - display: contrast(200%); - display: drop-shadow(16px 16px 20px blue); - display: grayscale(50%); - display: hue-rotate(90deg); - display: invert(75%); - display: opacity(25%); - display: saturate(30%); - display: sepia(60%); + flood-color: auto; + flood-opacity: auto; + color-interpolation-filters: auto; + lighting-color: auto; + display: sRGB; + display: linearRGB; + display: blur(5px); + display: brightness(0.4); + display: contrast(200%); + display: drop-shadow(16px 16px 20px blue); + display: grayscale(50%); + display: hue-rotate(90deg); + display: invert(75%); + display: opacity(25%); + display: saturate(30%); + display: sepia(60%); } .flexbox-1 { - display: auto; + display: auto; } .font-loading-3 { - display: auto; + display: auto; } .fonts-3 { - display: common-ligatures; - display: no-common-ligatures; - display: discretionary-ligatures; - display: no-discretionary-ligatures; - display: historical-ligatures; - display: no-historical-ligatures; - display: contextual; - display: no-contextual; - display: all-small-caps; - display: petite-caps; - display: all-petite-caps; - display: unicase; - display: titling-caps; - display: lining-nums; - display: oldstyle-nums; - display: proportional-nums; - display: tabular-nums; - display: diagonal-fractions; - display: stacked-fractions; - display: jis78; - display: jis83; - display: jis90; - display: jis04; - display: simplified; - display: traditional; - display: proportional-width; - display: ordinal; - display: slashed-zero; + display: common-ligatures; + display: no-common-ligatures; + display: discretionary-ligatures; + display: no-discretionary-ligatures; + display: historical-ligatures; + display: no-historical-ligatures; + display: contextual; + display: no-contextual; + display: all-small-caps; + display: petite-caps; + display: all-petite-caps; + display: unicase; + display: titling-caps; + display: lining-nums; + display: oldstyle-nums; + display: proportional-nums; + display: tabular-nums; + display: diagonal-fractions; + display: stacked-fractions; + display: jis78; + display: jis83; + display: jis90; + display: jis04; + display: simplified; + display: traditional; + display: proportional-width; + display: ordinal; + display: slashed-zero; } .fonts-4 { - font-display: auto; - font-optical-sizing: auto; - font-variation-settings: auto; - font-palette: auto; - font-presentation: auto; - font-variant-emoji: auto; - display: system-ui; - display: emoji; - display: math; - display: fangsong; - 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: fallback; - display: optional; - display: light; - display: dark; - display: ui-serif; - display: ui-sans-serif; - display: ui-monospace; - display: ui-rounded; - display: xxx-large; + font-display: auto; + font-optical-sizing: auto; + font-variation-settings: auto; + font-palette: auto; + font-presentation: auto; + font-variant-emoji: auto; + display: system-ui; + display: emoji; + display: math; + display: fangsong; + 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: fallback; + display: optional; + display: light; + display: dark; + display: ui-serif; + display: ui-sans-serif; + display: ui-monospace; + display: ui-rounded; + display: xxx-large; } @font-palette-values Test { - base-palette: 1; - override-color: 1 rgb(43, 12, 9); + base-palette: 1; + override-color: 1 rgb(43, 12, 9); } .gcpm-3::footnote-call, .gcpm-3::footnote-marker { - running: auto; - footnote-display: auto; - footnote-policy: auto; - display: footnote; - display: line; - display: element(header); - display: running(heading); + running: auto; + footnote-display: auto; + footnote-policy: auto; + display: footnote; + display: line; + display: element(header); + display: running(heading); } .geometry-1 { - display: auto; + display: auto; } .grid-1 { - display: minmax(0, 1); - display: repeat(4); - display: dense; - display: auto-flow; - display: span; + display: minmax(0, 1); + display: repeat(4); + display: dense; + display: auto-flow; + display: span; } .grid-2 { - display: auto; + display: auto; } .html5, @@ -433,305 +433,305 @@ rb, rtc, slot, template { - display: auto; + display: auto; } .images-3 { - object-fit: auto; - object-position: auto; - image-orientation: auto; - display: snap; - display: flip; - display: scale-down; - display: from-image; - display: repeating-linear-gradient(to bottom, yellow, blue); - display: repeating-radial-gradient(farthest-corner at 50% 50%, yellow, green); + object-fit: auto; + object-position: auto; + image-orientation: auto; + display: snap; + display: flip; + display: scale-down; + display: from-image; + display: repeating-linear-gradient(to bottom, yellow, blue); + display: repeating-radial-gradient(farthest-corner at 50% 50%, yellow, green); } .images-4 { - image-resolution: auto; - display: image("sprite.svg#xywh=40,0,20,20"); - display: element(#test); - display: conic-gradient(at 25% 30%, white, black 60%); + image-resolution: auto; + display: image("sprite.svg#xywh=40,0,20,20"); + display: element(#test); + display: conic-gradient(at 25% 30%, white, black 60%); } .inline-3 { - dominant-baseline: auto; - alignment-baseline: auto; - baseline-shift: auto; - inline-sizing: auto; - initial-letters: auto; - initial-letters-align: auto; - initial-letters-wrap: auto; - display: mathematical; - display: ideographic; + dominant-baseline: auto; + alignment-baseline: auto; + baseline-shift: auto; + inline-sizing: auto; + initial-letters: auto; + initial-letters-align: auto; + initial-letters-wrap: auto; + display: mathematical; + display: ideographic; } .layout-api-1 { - display: auto; + display: auto; } .line-grid-1 { - line-grid: auto; - line-snap: auto; - box-snap: auto; - display: create; - display: block-start; - display: block-end; - display: first-baseline; - display: last-baseline; + line-grid: auto; + line-snap: auto; + box-snap: auto; + display: create; + display: block-start; + display: block-end; + display: first-baseline; + display: last-baseline; } .lists-3::marker { - marker-side: auto; - counter-set: auto; - display: match-self; - display: list-container; - display: counters(lack-of-example); + marker-side: auto; + counter-set: auto; + display: match-self; + display: list-container; + display: counters(lack-of-example); } .logical-1 { - block-size: auto; - inline-size: auto; - min-block-size: auto; - min-inline-size: auto; - max-block-size: auto; - max-inline-size: auto; - margin-block-start: auto; - margin-block-end: auto; - margin-inline-start: auto; - margin-inline-end: auto; - margin-block: 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-end: auto; - padding-inline-start: auto; - padding-inline-end: auto; - padding-block: auto; - padding-inline: auto; - border-block-start-width: auto; - border-block-end-width: auto; - border-inline-start-width: auto; - border-inline-end-width: auto; - border-block-width: auto; - border-inline-width: auto; - border-block-start-style: auto; - border-block-end-style: auto; - border-inline-start-style: auto; - border-inline-end-style: auto; - border-block-style: auto; - border-inline-style: auto; - border-block-start-color: auto; - border-block-end-color: auto; - border-inline-start-color: auto; - border-inline-end-color: auto; - border-block-color: auto; - border-inline-color: auto; - border-block-start: auto; - border-block-end: auto; - border-inline-start: auto; - border-inline-end: auto; - border-block: auto; - border-inline: auto; - border-start-start-radius: auto; - border-start-end-radius: auto; - border-end-start-radius: auto; - border-end-end-radius: auto; - display: logical; - display: physical; - display: rotate; + block-size: auto; + inline-size: auto; + min-block-size: auto; + min-inline-size: auto; + max-block-size: auto; + max-inline-size: auto; + margin-block-start: auto; + margin-block-end: auto; + margin-inline-start: auto; + margin-inline-end: auto; + margin-block: 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-end: auto; + padding-inline-start: auto; + padding-inline-end: auto; + padding-block: auto; + padding-inline: auto; + border-block-start-width: auto; + border-block-end-width: auto; + border-inline-start-width: auto; + border-inline-end-width: auto; + border-block-width: auto; + border-inline-width: auto; + border-block-start-style: auto; + border-block-end-style: auto; + border-inline-start-style: auto; + border-inline-end-style: auto; + border-block-style: auto; + border-inline-style: auto; + border-block-start-color: auto; + border-block-end-color: auto; + border-inline-start-color: auto; + border-inline-end-color: auto; + border-block-color: auto; + border-inline-color: auto; + border-block-start: auto; + border-block-end: auto; + border-inline-start: auto; + border-inline-end: auto; + border-block: auto; + border-inline: auto; + border-start-start-radius: auto; + border-start-end-radius: auto; + border-end-start-radius: auto; + border-end-end-radius: auto; + display: logical; + display: physical; + display: rotate; } .masking-1, mask { - clip-path: auto; - clip-rule: auto; - mask-image: auto; - mask-mode: auto; - mask-repeat: auto; - mask-position: auto; - mask-clip: auto; - mask-origin: auto; - mask-size: auto; - mask-composite: auto; - mask: auto; - mask-border-source: auto; - display: fill-box; - display: stroke-box; - display: view-box; - display: nonzero; - display: evenodd; - display: alpha; - display: luminance; - display: no-clip; - display: add; - display: subtract; - display: intersect; - display: exclude; - mask-border-mode: auto; - mask-border-slice: auto; - mask-border-width: auto; - mask-border-outset: auto; - mask-border-repeat: auto; - mask-border: auto; - mask-type: auto; + clip-path: auto; + clip-rule: auto; + mask-image: auto; + mask-mode: auto; + mask-repeat: auto; + mask-position: auto; + mask-clip: auto; + mask-origin: auto; + mask-size: auto; + mask-composite: auto; + mask: auto; + mask-border-source: auto; + display: fill-box; + display: stroke-box; + display: view-box; + display: nonzero; + display: evenodd; + display: alpha; + display: luminance; + display: no-clip; + display: add; + display: subtract; + display: intersect; + display: exclude; + mask-border-mode: auto; + mask-border-slice: auto; + mask-border-width: auto; + mask-border-outset: auto; + mask-border-repeat: auto; + mask-border: auto; + mask-type: auto; } .motion-1 { - offset-path: auto; - offset-distance: auto; - offset-position: auto; - offset-anchor: auto; - offset-rotate: auto; - offset: auto; - display: ray(45deg closest-side); - display: path(M 100 100 L 300 100 L 200 300 z); + offset-path: auto; + offset-distance: auto; + offset-position: auto; + offset-anchor: auto; + offset-rotate: auto; + offset: auto; + display: ray(45deg closest-side); + display: path(M 100 100 L 300 100 L 200 300 z); } .multicol-1 { - display: balance-all; + display: balance-all; } .namespace-3 { - display: auto; + display: auto; } .nav-1 { - spatial-navigation-contain: auto; - spatial-navigation-action: auto; - spatial-navigation-function: auto; - display: focus; + spatial-navigation-contain: auto; + spatial-navigation-action: auto; + spatial-navigation-function: auto; + display: focus; } .overflow-3 { - max-lines: auto; - block-overflow: auto; - line-clamp: auto; - continue: auto; - overflow-block: auto; - overflow-inline: auto; + max-lines: auto; + block-overflow: auto; + line-clamp: auto; + continue: auto; + overflow-block: auto; + overflow-inline: auto; } .overflow-4::nth-fragment(1) { - scrollbar-gutter: auto; - display: stable; - display: force; - display: overflow; - display: paginate; - display: fragments; + scrollbar-gutter: auto; + display: stable; + display: force; + display: overflow; + display: paginate; + display: fragments; } .overscroll-1 { - overscroll-behavior: auto; - overscroll-behavior-block: auto; - overscroll-behavior-inline: auto; - overscroll-behavior-x: auto; - overscroll-behavior-y: auto; + overscroll-behavior: auto; + overscroll-behavior-block: auto; + overscroll-behavior-inline: auto; + overscroll-behavior-x: auto; + overscroll-behavior-y: auto; } .page-3 { - marks: auto; - bleed: auto; + marks: auto; + bleed: auto; } .page-floats-3 { - float-reference: auto; - float-defer: auto; - float-offset: auto; - display: inline-start; - display: inline-end; - display: snap-block; - display: snap-inline; - display: snap-block(2em, near); - display: snap-inline(2em, near); + float-reference: auto; + float-defer: auto; + float-offset: auto; + display: inline-start; + display: inline-end; + display: snap-block; + display: snap-inline; + display: snap-block(2em, near); + display: snap-inline(2em, near); } .paint-api-1 { - display: paint(my_logo); + display: paint(my_logo); } .pointerevents { - touch-action: auto; - display: pan-x; - display: pan-y; - display: manipulation; + touch-action: auto; + display: pan-x; + display: pan-y; + display: manipulation; } .position-3 { - offset-before: auto; - offset-end: auto; - offset-after: auto; - offset-start: auto; - display: sticky; + offset-before: auto; + offset-end: auto; + offset-after: auto; + offset-start: auto; + display: sticky; } .properties-values-api-1 { - syntax: auto; - inherits: auto; - initial-value: auto; + syntax: auto; + inherits: auto; + initial-value: auto; } .pseudo-4::inactive-selection, .pseudo-4::spelling-error, .pseudo-4::grammer-error { - display: auto; + display: auto; } .regions-1:region { - flow-into: auto; - flow-from: auto; - region-fragment: auto; - display: element; - display: content; - display: break; - display: region; - display: avoid-region; + flow-into: auto; + flow-from: auto; + region-fragment: auto; + display: element; + display: content; + display: break; + display: region; + display: avoid-region; } .resize-observer-1 { - display: auto; + display: auto; } .rhythm-1 { - line-height-step: auto; - block-step-size: auto; - block-step-insert: auto; - block-step-align: auto; - display: margin; - display: up; - display: down; - display: nearest; - block-step-round: auto; - block-step: auto; + line-height-step: auto; + block-step-size: auto; + block-step-insert: auto; + block-step-align: auto; + display: margin; + display: up; + display: down; + display: nearest; + block-step-round: auto; + block-step: auto; } @media (device-radius: 50%) { - .round-display-1 { - shape-inside: auto; - border-boundary: auto; - polar-angle: auto; - polar-distance: auto; - display: outside-shape; - display: shape-box; - display: parent; - display: polar; - } + .round-display-1 { + shape-inside: auto; + border-boundary: auto; + polar-angle: auto; + polar-distance: auto; + display: outside-shape; + display: shape-box; + display: parent; + display: polar; + } } .ruby-1 { - ruby-position: auto; - ruby-merge: auto; - ruby-align: auto; - display: ruby-base-container; - display: ruby-text-container; - display: inter-character; + ruby-position: auto; + ruby-merge: auto; + ruby-align: auto; + display: ruby-base-container; + display: ruby-text-container; + display: inter-character; } .scoping-1:scope-context div, @@ -741,49 +741,54 @@ mask { .scoping-1::shadow, .scoping-1::content, .scoping-1 /deep/ span { - display: auto; + display: auto; } @scope .scoping-1 { - div { - display: auto; - } + div { + display: auto; + } } .scroll-anchoring-1 { - overflow-anchor: auto; + overflow-anchor: auto; } .scroll-snap-1 { - scroll-snap-type: auto; - scroll-padding: auto; - scroll-margin: auto; - scroll-snap-align: auto; - scroll-snap-stop: auto; - scroll-padding-top: auto; - scroll-padding-right: auto; - scroll-padding-bottom: auto; - scroll-padding-left: auto; - scroll-padding-inline-start: auto; - scroll-padding-block-start: auto; - scroll-padding-inline-end: auto; - scroll-padding-block-end: auto; - scroll-padding-block: auto; - scroll-padding-inline: auto; - scroll-margin-top: auto; - scroll-margin-right: auto; - scroll-margin-bottom: auto; - scroll-margin-left: auto; - scroll-margin-inline-start: auto; - scroll-margin-block-start: auto; - scroll-margin-inline-end: auto; - scroll-margin-block-end: auto; - scroll-margin-block: auto; - scroll-margin-inline: auto; - display: x; - display: y; - display: mandatory; - display: proximity; + scroll-snap-type: auto; + scroll-padding: auto; + scroll-margin: auto; + scroll-snap-align: auto; + scroll-snap-stop: auto; + scroll-padding-top: auto; + scroll-padding-right: auto; + scroll-padding-bottom: auto; + scroll-padding-left: auto; + scroll-padding-inline-start: auto; + scroll-padding-block-start: auto; + scroll-padding-inline-end: auto; + scroll-padding-block-end: auto; + scroll-padding-block: auto; + scroll-padding-inline: auto; + scroll-margin-top: auto; + scroll-margin-right: auto; + scroll-margin-bottom: auto; + scroll-margin-left: auto; + scroll-margin-inline-start: auto; + scroll-margin-block-start: auto; + scroll-margin-inline-end: auto; + scroll-margin-block-end: auto; + scroll-margin-block: auto; + scroll-margin-inline: auto; + display: x; + display: y; + display: mandatory; + display: proximity; +} + +.scrollbars-1 { + scrollbar-color: auto; + scrollbar-width: auto; } .selectors-3:enabled, @@ -793,7 +798,7 @@ mask { .selectors-3:nth-of-type(2n+1), .selectors-3:nth-last-of-type(n+2), .selectors-3:not([DISABLED]) { - display: auto; + display: auto; } .selectors-4 | h1, @@ -827,63 +832,63 @@ mask { .selectors-4:paused, .selectors-4:has(> img), .selectors-4:where(:not(:hover)) { - display: auto; + display: auto; } .selectors-nonelement-1::attr(title) { - display: auto; + display: auto; } .shadow-parts::part(textspan) { - display: auto; + display: auto; } .shapes-1 { - shape-outside: auto; - shape-image-threshold: auto; - shape-margin: auto; - display: margin-box; - display: inset(50% 50% 50% 50%); - display: circle(100px 50px 100px); - display: ellipse(0 0 250px 100px); - display: polygon(0 0, 100% 100%, 0 100%); + shape-outside: auto; + shape-image-threshold: auto; + shape-margin: auto; + display: margin-box; + display: inset(50% 50% 50% 50%); + display: circle(100px 50px 100px); + display: ellipse(0 0 250px 100px); + display: polygon(0 0, 100% 100%, 0 100%); } .sizing-3 { - display: max-content; - display: min-content; - display: fit-content(10%); + display: max-content; + display: min-content; + display: fit-content(10%); } .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; + 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 { - display: auto; + display: auto; } .svg2, @@ -954,237 +959,237 @@ tspan, unknown, use, view { - color-interpolation: auto; - color-rendering: auto; - cx: auto; - cy: auto; - d: auto; - marker-end: auto; - marker-mid: auto; - marker-start: auto; - r: auto; - rx: auto; - ry: auto; - shape-rendering: auto; - solid-color: auto; - solid-opacity: auto; - stop-color: auto; - stop-opacity: auto; - text-anchor: auto; - vector-effect: auto; - x: auto; - y: auto; - display: crispEdges; - display: geometricPrecision; - display: optimizeQuality; - display: viewport; - display: context-fill; - display: context-stroke; - display: fixed-position; - display: miter; - display: miter-clip; - display: non-scaling-stroke; - display: non-scaling-size; - display: non-rotation; - display: child(1); - display: icc-color(foo); + color-interpolation: auto; + color-rendering: auto; + cx: auto; + cy: auto; + d: auto; + marker-end: auto; + marker-mid: auto; + marker-start: auto; + r: auto; + rx: auto; + ry: auto; + shape-rendering: auto; + solid-color: auto; + solid-opacity: auto; + stop-color: auto; + stop-opacity: auto; + text-anchor: auto; + vector-effect: auto; + x: auto; + y: auto; + display: crispEdges; + display: geometricPrecision; + display: optimizeQuality; + display: viewport; + display: context-fill; + display: context-stroke; + display: fixed-position; + display: miter; + display: miter-clip; + display: non-scaling-stroke; + display: non-scaling-size; + display: non-rotation; + display: child(1); + display: icc-color(foo); } .syntax-3 { - display: auto; + display: auto; } .tables-3 { - display: auto; + display: auto; } .text-3 { - tab-size: auto; - text-align-all: auto; - display: loose; - display: strict; - display: match-parent; - display: hanging; - display: each-line; - display: full-width; - display: anywhere; - display: justify-all; - display: break-spaces; + tab-size: auto; + text-align-all: auto; + display: loose; + display: strict; + display: match-parent; + display: hanging; + display: each-line; + display: full-width; + display: anywhere; + display: justify-all; + display: break-spaces; } .text-4 { - text-space-collapse: auto; - text-space-trim: auto; - text-wrap: auto; - wrap-before: auto; - wrap-after: auto; - wrap-inside: auto; - hyphenate-character: auto; - hyphenate-limit-zone: auto; - hyphenate-limit-chars: auto; - hyphenate-limit-lines: auto; - hyphenate-limit-last: auto; - text-group-align: auto; - line-padding: auto; - text-spacing: auto; - display: preserve-breaks; - display: preserve-spaces; - display: trim-inner; - display: discard-before; - display: discard-after; - display: avoid-line; - display: avoid-flex; - display: pre-wrap-auto; - display: no-limit; - display: spread; - display: trim-start; - display: space-start; - display: space-first; - display: trim-end; - display: space-end; - display: trim-adjacent; - display: space-adjacent; - display: no-compress; - display: ideograph-alpha; - display: ideograph-numeric; - display: punctuation; + text-space-collapse: auto; + text-space-trim: auto; + text-wrap: auto; + wrap-before: auto; + wrap-after: auto; + wrap-inside: auto; + hyphenate-character: auto; + hyphenate-limit-zone: auto; + hyphenate-limit-chars: auto; + hyphenate-limit-lines: auto; + hyphenate-limit-last: auto; + text-group-align: auto; + line-padding: auto; + text-spacing: auto; + display: preserve-breaks; + display: preserve-spaces; + display: trim-inner; + display: discard-before; + display: discard-after; + display: avoid-line; + display: avoid-flex; + display: pre-wrap-auto; + display: no-limit; + display: spread; + display: trim-start; + display: space-start; + display: space-first; + display: trim-end; + display: space-end; + display: trim-adjacent; + display: space-adjacent; + display: no-compress; + display: ideograph-alpha; + display: ideograph-numeric; + display: punctuation; } .text-decor-3 { - text-decoration-color: auto; - text-decoration-line: auto; - text-decoration-style: auto; - text-emphasis: auto; - text-emphasis-color: auto; - text-emphasis-position: auto; - text-emphasis-style: auto; - display: filled; - display: dot; - display: sesame; - display: alphabetic; - display: ink; - display: under; - display: wavy; - display: under; - display: over; - display: triangle; + text-decoration-color: auto; + text-decoration-line: auto; + text-decoration-style: auto; + text-emphasis: auto; + text-emphasis-color: auto; + text-emphasis-position: auto; + text-emphasis-style: auto; + display: filled; + display: dot; + display: sesame; + display: alphabetic; + display: ink; + display: under; + display: wavy; + display: under; + display: over; + display: triangle; } .text-decor-4 { - text-decoration-width: auto; - text-underline-offset: auto; - text-decoration-skip: auto; - text-decoration-skip-ink: auto; - text-emphasis-skip: auto; - display: objects; - display: spaces; - display: leading-spaces; - display: trailing-spaces; - display: edges; - display: box-decoration; - display: symbols; - display: narrow; + text-decoration-width: auto; + text-underline-offset: auto; + text-decoration-skip: auto; + text-decoration-skip-ink: auto; + text-emphasis-skip: auto; + display: objects; + display: spaces; + display: leading-spaces; + display: trailing-spaces; + display: edges; + display: box-decoration; + display: symbols; + display: narrow; } .timing-1 { - display: frames(2); + display: frames(2); } .transforms-1 { - transform-box: auto; + transform-box: auto; } .tranforms-2 { - rotate: auto; - scale: auto; - translate: auto; - display: flat; + rotate: auto; + scale: auto; + translate: auto; + display: flat; } .transitions-1 { - display: auto; + display: auto; } .typed-om-1 { - display: auto; + display: auto; } .ui-3 { - caret-color: auto; - display: grab; - display: grabbing; + caret-color: auto; + display: grab; + display: grabbing; } .ui-4 { - caret: auto; - caret-shape: auto; - display: fade; - display: fade(1em); - display: underscore; + caret: auto; + caret-shape: auto; + display: fade; + display: fade(1em); + display: underscore; } .values-3 { - display: 1ch; - display: 1q; - display: 1turn; + display: 1ch; + display: 1q; + display: 1turn; } .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); + 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 { - display: auto; + display: auto; } .web-animations-1 { - display: auto; + display: auto; } .webvtt1::cue, .webvtt1::cue-region, .webvtt1::cue(#cue1), .webvtt1::cue-region(#scroll), { - display: auto; + display: auto; } .will-change-1 { - will-change: auto; - display: scroll-position; + will-change: auto; + display: scroll-position; } .worklets-1 { - display: auto; + display: auto; } .writing-modes-3 { - writing-mode: auto; - text-orientation: auto; - text-combine-upright: auto; - glyph-orientation-vertical: auto; - display: before; - display: after; - display: mixed; - display: upright; - display: plaintext; - display: sideways; - display: isolate; - display: isolate-override; - display: horizontal-tb; - display: vertical-rl; - display: vertical-lr; + writing-mode: auto; + text-orientation: auto; + text-combine-upright: auto; + glyph-orientation-vertical: auto; + display: before; + display: after; + display: mixed; + display: upright; + display: plaintext; + display: sideways; + display: isolate; + display: isolate-override; + display: horizontal-tb; + display: vertical-rl; + display: vertical-lr; } .writing-modes-4 { - display: sideways-rl; - display: sideways-lr; + display: sideways-rl; + display: sideways-lr; } From 24df990311f8feaae833680c65544372e9b9b7d9 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Sun, 29 Mar 2020 19:49:30 +0900 Subject: [PATCH 178/400] Create FUNDING.yml --- .github/FUNDING.yml | 1 + 1 file changed, 1 insertion(+) create mode 100644 .github/FUNDING.yml diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml new file mode 100644 index 0000000..fdd616d --- /dev/null +++ b/.github/FUNDING.yml @@ -0,0 +1 @@ +github: hail2u From 5f1c2f4cfe18be61ba4001a561034f0bf9e0f3b8 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Tue, 31 Mar 2020 09:21:45 +0900 Subject: [PATCH 179/400] 1.6.0 From 7e863a82ba4421849478e838abf0b84f5df9643f Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Wed, 1 Apr 2020 09:42:36 +0900 Subject: [PATCH 180/400] Add missing `pixelated` value to images-3.vim --- after/syntax/css/images-3.vim | 2 +- test/test.css | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/after/syntax/css/images-3.vim b/after/syntax/css/images-3.vim index fe377a4..5db8d7a 100644 --- a/after/syntax/css/images-3.vim +++ b/after/syntax/css/images-3.vim @@ -1,6 +1,6 @@ syn match cssFontProp contained "\" syn match cssFontProp contained "\" -syn keyword cssFontAttr contained snap flip +syn keyword cssFontAttr contained snap flip pixelated syn match cssFontAttr contained "\" syn match cssFontAttr contained "\" syn region cssFunction contained matchgroup=cssFunctionName start="\<\(repeating-\(linear\|radial\)-gradient\)\s*(" end=")" oneline keepend diff --git a/test/test.css b/test/test.css index 88597ef..fe1c380 100644 --- a/test/test.css +++ b/test/test.css @@ -444,6 +444,7 @@ template { display: flip; display: scale-down; display: from-image; + display: pixelated; display: repeating-linear-gradient(to bottom, yellow, blue); display: repeating-radial-gradient(farthest-corner at 50% 50%, yellow, green); } From 036ac88f82fb9cbc5765c7b742881f9ea5e9e997 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Wed, 1 Apr 2020 09:46:02 +0900 Subject: [PATCH 181/400] Add unofficials.vim This temporary syntax file is for an unofficial specs. --- after/syntax/css/unofficials.vim | 2 ++ test/test.css | 5 +++++ 2 files changed, 7 insertions(+) create mode 100644 after/syntax/css/unofficials.vim diff --git a/after/syntax/css/unofficials.vim b/after/syntax/css/unofficials.vim new file mode 100644 index 0000000..1b257d8 --- /dev/null +++ b/after/syntax/css/unofficials.vim @@ -0,0 +1,2 @@ +syn match cssFontProp contained "\" +syn region cssFunction contained matchgroup=cssFunctionName start="\ Date: Wed, 1 Apr 2020 16:00:18 +0900 Subject: [PATCH 182/400] Fix test `only` is always used with `only light`. --- test/test.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test.css b/test/test.css index a017fa6..ef0e074 100644 --- a/test/test.css +++ b/test/test.css @@ -120,7 +120,7 @@ color-scheme: auto; forced-color-adjust: auto; color-adjust: auto; - display: only; + display: only light; display: economy; display: exact; } From 0c33e55d36b585e6db472bf3d5efe239ca21a7ff Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Fri, 3 Apr 2020 18:44:53 +0900 Subject: [PATCH 183/400] Update color-adjust-1.vim https://www.w3.org/TR/2020/WD-css-color-adjust-1-20200402/ This commit also fixes filename. --- after/syntax/css/{color-adjust.vim => color-adjust-1.vim} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename after/syntax/css/{color-adjust.vim => color-adjust-1.vim} (100%) diff --git a/after/syntax/css/color-adjust.vim b/after/syntax/css/color-adjust-1.vim similarity index 100% rename from after/syntax/css/color-adjust.vim rename to after/syntax/css/color-adjust-1.vim From de8b85301d73f4c662c9356cb616433609a84096 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Fri, 24 Apr 2020 09:08:10 +0900 Subject: [PATCH 184/400] Update align-3.vim https://www.w3.org/TR/2020/WD-css-align-3-20200421/ From ab4ce39f682a8bfe77ee9d127a6d76a733dd0e56 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Fri, 24 Apr 2020 09:12:36 +0900 Subject: [PATCH 185/400] Update box-3.vim https://www.w3.org/TR/2020/WD-css-box-3-20200421/ This WD removes all new properties and values. --- after/syntax/css/box-3.vim | 9 --------- test/test.css | 17 +---------------- 2 files changed, 1 insertion(+), 25 deletions(-) diff --git a/after/syntax/css/box-3.vim b/after/syntax/css/box-3.vim index ff4705d..e69de29 100644 --- a/after/syntax/css/box-3.vim +++ b/after/syntax/css/box-3.vim @@ -1,9 +0,0 @@ -syn match cssBoxProp contained "\" -syn match cssBoxAttr contained "\" -" These will be moved to block-3 -syn match cssBoxProp contained "\" -syn match cssBoxProp contained "\" -syn match cssBoxProp contained "\" -syn keyword cssBoxAttr contained scrollbar panner marquee decendants -syn match cssBoxAttr contained "\" -syn match cssBoxAttr contained "\<\(margin\|border\|padding\|content\)-edge\>" diff --git a/test/test.css b/test/test.css index ef0e074..0ee5593 100644 --- a/test/test.css +++ b/test/test.css @@ -48,22 +48,7 @@ } .box-3 { - margin-trim: auto; - 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; + display: auto; } .break-3 { From 2714472120560527b17067f86f5f7c945b9545fe Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Fri, 24 Apr 2020 09:15:21 +0900 Subject: [PATCH 186/400] Add box-4.vim https://www.w3.org/TR/2020/WD-css-box-4-20200421/ --- after/syntax/css/box-4.vim | 2 ++ test/test.css | 5 +++++ 2 files changed, 7 insertions(+) create mode 100644 after/syntax/css/box-4.vim diff --git a/after/syntax/css/box-4.vim b/after/syntax/css/box-4.vim new file mode 100644 index 0000000..f6771dd --- /dev/null +++ b/after/syntax/css/box-4.vim @@ -0,0 +1,2 @@ +syn match cssBoxProp contained "\" +syn match cssBoxAttr contained "\" diff --git a/test/test.css b/test/test.css index 0ee5593..21f3b75 100644 --- a/test/test.css +++ b/test/test.css @@ -51,6 +51,11 @@ display: auto; } +.box-4 { + margin-trim: auto; + display: in-flow; +} + .break-3 { display: recto; display: verso; From 6a677287dfbebf950414f5093155d72ba09a7d6c Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Thu, 30 Apr 2020 18:54:41 +0900 Subject: [PATCH 187/400] Update text-3.vim https://www.w3.org/TR/2020/WD-css-text-3-20200429/ From 6e2f05fb296a2cea5c1532b0860bfb5e6e1deff3 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Thu, 30 Apr 2020 18:59:32 +0900 Subject: [PATCH 188/400] Update ruby-1.vim https://www.w3.org/TR/2020/WD-css-ruby-1-20200429/ --- after/syntax/css/ruby-1.vim | 3 +-- test/test.css | 1 + 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/after/syntax/css/ruby-1.vim b/after/syntax/css/ruby-1.vim index 52f4dd5..115530b 100644 --- a/after/syntax/css/ruby-1.vim +++ b/after/syntax/css/ruby-1.vim @@ -1,4 +1,3 @@ -" TODO: create cssRubyProp group and cssRubyAttr group -syn match cssFontProp contained "\" syn match cssFontAttr contained "\" diff --git a/test/test.css b/test/test.css index 21f3b75..c7802a1 100644 --- a/test/test.css +++ b/test/test.css @@ -725,6 +725,7 @@ mask { ruby-position: auto; ruby-merge: auto; ruby-align: auto; + ruby-overhang: auto; display: ruby-base-container; display: ruby-text-container; display: inter-character; From a916d1e5d221e2d07bf60cf4fbe01881a66e7c20 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Fri, 8 May 2020 17:05:08 +0900 Subject: [PATCH 189/400] Remove FUNDING.yml --- .github/FUNDING.yml | 1 - 1 file changed, 1 deletion(-) delete mode 100644 .github/FUNDING.yml diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml deleted file mode 100644 index fdd616d..0000000 --- a/.github/FUNDING.yml +++ /dev/null @@ -1 +0,0 @@ -github: hail2u From 2c75d94fc896726d75e2bfd046bdbd5a85b1f0e8 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Sat, 9 May 2020 09:25:41 +0900 Subject: [PATCH 190/400] Update text-decor-4.vim https://www.w3.org/TR/2020/WD-css-text-decor-4-20200506/ --- after/syntax/css/text-decor-4.vim | 6 ++++-- test/test.css | 5 ++++- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/after/syntax/css/text-decor-4.vim b/after/syntax/css/text-decor-4.vim index 2e5666a..5e7da86 100644 --- a/after/syntax/css/text-decor-4.vim +++ b/after/syntax/css/text-decor-4.vim @@ -1,4 +1,6 @@ -syn match cssTextProp contained "\" +syn match cssTextProp contained "\" syn keyword cssTextAttr contained objects edges symbols narrow -syn match cssTextAttr contained "\" +syn match cssTextAttr contained "\<\(spelling\|grammer\)-error\>" +syn match cssTextAttr contained "\" syn match cssTextAttr contained "\<\(\(leading\|trailing\)-\)\=spaces\>" +syn match cssTextAttr contained "\" diff --git a/test/test.css b/test/test.css index c7802a1..7c7aaf6 100644 --- a/test/test.css +++ b/test/test.css @@ -1073,12 +1073,15 @@ view { } .text-decor-4 { - text-decoration-width: auto; + text-decoration-thickness: auto; text-underline-offset: auto; text-decoration-skip: auto; text-decoration-skip-ink: auto; text-emphasis-skip: auto; + display: spelling-error; + display: grammer-error; display: objects; + display: from-font; display: spaces; display: leading-spaces; display: trailing-spaces; From 77a3fb8386d9b67b57e8d09cba5c5a908110717f Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Tue, 19 May 2020 18:22:47 +0900 Subject: [PATCH 191/400] Update display-3.vim https://www.w3.org/TR/2020/CR-css-display-3-20200519/ From 5e9d08126044279cbf620fb15fc42d9fa312a5b9 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Thu, 28 May 2020 09:29:47 +0900 Subject: [PATCH 192/400] Update display-3.vim https://www.w3.org/TR/2020/CR-css-display-3-20200519/ From 4f0f6717cf2cbff4c5bee368e45a1f8a3cff27c9 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Thu, 28 May 2020 09:39:46 +0900 Subject: [PATCH 193/400] Update position-3.vim https://www.w3.org/TR/2020/WD-css-position-3-20200519/ --- after/syntax/css/logical-1.vim | 2 +- after/syntax/css/position-3.vim | 2 +- test/test.css | 19 +++++++------------ 3 files changed, 9 insertions(+), 14 deletions(-) diff --git a/after/syntax/css/logical-1.vim b/after/syntax/css/logical-1.vim index d944ff8..ac74412 100644 --- a/after/syntax/css/logical-1.vim +++ b/after/syntax/css/logical-1.vim @@ -1,5 +1,5 @@ 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 "\" syn match cssFontProp contained "\" syn keyword cssFontAttr contained logical physical rotate diff --git a/after/syntax/css/position-3.vim b/after/syntax/css/position-3.vim index 03e269e..58daa30 100644 --- a/after/syntax/css/position-3.vim +++ b/after/syntax/css/position-3.vim @@ -1,2 +1,2 @@ -syn match cssFontProp contained "\" +syn match cssFontProp contained "\" syn keyword cssFontAttr contained sticky diff --git a/test/test.css b/test/test.css index 7c7aaf6..ac6ed61 100644 --- a/test/test.css +++ b/test/test.css @@ -499,14 +499,6 @@ template { margin-inline-end: auto; margin-block: 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-end: auto; padding-inline-start: auto; padding-inline-end: auto; @@ -661,10 +653,13 @@ mask { } .position-3 { - offset-before: auto; - offset-end: auto; - offset-after: auto; - offset-start: 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; display: sticky; } From e5e2662f5666e333dfa238d3b662afef10d7f03c Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Thu, 28 May 2020 09:47:33 +0900 Subject: [PATCH 194/400] Add sizing-4.vim https://www.w3.org/TR/2020/WD-css-sizing-4-20200526/ --- after/syntax/css/sizing-4.vim | 2 ++ test/test.css | 5 +++++ 2 files changed, 7 insertions(+) create mode 100644 after/syntax/css/sizing-4.vim diff --git a/after/syntax/css/sizing-4.vim b/after/syntax/css/sizing-4.vim new file mode 100644 index 0000000..f3acc7f --- /dev/null +++ b/after/syntax/css/sizing-4.vim @@ -0,0 +1,2 @@ +syn match cssFontProp contained "\" +syn match cssFontAttr contained "\<\fit-content\>" diff --git a/test/test.css b/test/test.css index ac6ed61..ecf319d 100644 --- a/test/test.css +++ b/test/test.css @@ -852,6 +852,11 @@ mask { display: fit-content(10%); } +.sizing-4 { + contain-intrinsic-size: auto; + display: fit-content; +} + .speech-1 { voice-volume: auto; voice-balance: auto; From 4c478d037383459505e5da4792d85cc994271755 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Thu, 28 May 2020 09:52:31 +0900 Subject: [PATCH 195/400] Fix test --- test/test.css | 1 + 1 file changed, 1 insertion(+) diff --git a/test/test.css b/test/test.css index ecf319d..126ed7c 100644 --- a/test/test.css +++ b/test/test.css @@ -499,6 +499,7 @@ template { margin-inline-end: auto; margin-block: auto; margin-inline: auto; + padding-block-start: auto; padding-block-end: auto; padding-inline-start: auto; padding-inline-end: auto; From 11c2d059f04cce7f73cbc192185570e56e4a3ab1 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Thu, 28 May 2020 09:52:47 +0900 Subject: [PATCH 196/400] 1.7.1 From 283c8447cd67d60b7bbcffacfe8aedde136462fb Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Sat, 30 May 2020 17:17:19 +0900 Subject: [PATCH 197/400] Sort test --- test/test.css | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/test/test.css b/test/test.css index 126ed7c..78fa2bb 100644 --- a/test/test.css +++ b/test/test.css @@ -1,8 +1,3 @@ -.unofficials { - backdrop-filter: auto; - display: env(safe-area-inset-top, 20px); -} - .align-3 { place-self: auto; place-content: auto; @@ -1129,6 +1124,11 @@ view { display: underscore; } +.unofficials { + backdrop-filter: auto; + display: env(safe-area-inset-top, 20px); +} + .values-3 { display: 1ch; display: 1q; From 7ccfd713c189f18a062383c7ba0a2a38c3db0432 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Sat, 30 May 2020 23:12:58 +0900 Subject: [PATCH 198/400] Update Vim version --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 7e02a06..64309c8 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ CSS3 syntax (and syntax defined in some foreign specifications) support for INSTALLATION ------------ -I **strongly** recommend to install this plugin on *Vim 8.1 or higher with +I **strongly** recommend to install this plugin on *Vim 8.2 or higher with default runtime files*. From c39cc87a12d722ad8b74d62dd300fe2675e8cca2 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Fri, 5 Jun 2020 08:14:45 +0900 Subject: [PATCH 199/400] Update contain-2.vim https://www.w3.org/TR/2020/WD-css-contain-2-20200603/ --- after/syntax/css/contain-2.vim | 1 + test/test.css | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/after/syntax/css/contain-2.vim b/after/syntax/css/contain-2.vim index e69de29..62ad894 100644 --- a/after/syntax/css/contain-2.vim +++ b/after/syntax/css/contain-2.vim @@ -0,0 +1 @@ +syn match cssFontProp contained "\" diff --git a/test/test.css b/test/test.css index 78fa2bb..c8214fa 100644 --- a/test/test.css +++ b/test/test.css @@ -147,7 +147,7 @@ } .contain-2 { - display: auto; + content-visibility: auto; } .content-3 { From 5deaa67782c4d58ba335e609d65ad7734557270e Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Fri, 5 Jun 2020 08:26:59 +0900 Subject: [PATCH 200/400] Update inline-3.vim https://www.w3.org/TR/2020/WD-css-inline-3-20200604/ --- after/syntax/css/inline-3.vim | 10 ++++++---- test/test.css | 16 +++++++++++++--- 2 files changed, 19 insertions(+), 7 deletions(-) diff --git a/after/syntax/css/inline-3.vim b/after/syntax/css/inline-3.vim index 068b3e4..630eca7 100644 --- a/after/syntax/css/inline-3.vim +++ b/after/syntax/css/inline-3.vim @@ -1,5 +1,7 @@ syn match cssFontProp contained "\<\(dominant\|alignment\)-baseline\>" -syn match cssFontProp contained "\" -syn match cssFontProp contained "\" -syn match cssFontProp contained "\" +syn match cssFontProp contained "\<\(line\|inline\)-sizing\>" +syn match cssFontProp contained "\" +syn match cssFontProp contained "\" +syn match cssFontProp contained "\" syn match cssFontProp contained "\" syn match cssFontProp contained "\" -syn match cssFontProp contained "\" diff --git a/test/test.css b/test/test.css index 9c6259f..215efd3 100644 --- a/test/test.css +++ b/test/test.css @@ -605,12 +605,13 @@ mask { } .overflow-3 { - max-lines: auto; - block-overflow: auto; - line-clamp: auto; - continue: auto; + overflow-clip-margin: auto; overflow-block: auto; overflow-inline: auto; + block-ellipsis: auto; + line-clamp: auto; + max-lines: auto; + continue: auto; } .overflow-4::nth-fragment(1) { From 84b98663eca4bad42a2fcf14695164dcc7f392e8 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Fri, 19 Jun 2020 18:33:09 +0900 Subject: [PATCH 202/400] Update inline-3.vim https://www.w3.org/TR/2020/WD-css-inline-3-20200618/ --- after/syntax/css/inline-3.vim | 11 ++++++----- test/test.css | 5 ++--- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/after/syntax/css/inline-3.vim b/after/syntax/css/inline-3.vim index 630eca7..9d5c9a5 100644 --- a/after/syntax/css/inline-3.vim +++ b/after/syntax/css/inline-3.vim @@ -1,7 +1,8 @@ syn match cssFontProp contained "\<\(dominant\|alignment\)-baseline\>" syn match cssFontProp contained "\" -syn match cssFontProp contained "\<\(line\|inline\)-sizing\>" -syn match cssFontProp contained "\" +syn match cssFontProp contained "\" +syn match cssFontProp contained "\" +syn match cssFontProp contained "\" +syn keyword cssFontAttr contained mathematical leading cap ex raise sink +syn match cssFontAttr contained "\" diff --git a/test/test.css b/test/test.css index 215efd3..d5f2af7 100644 --- a/test/test.css +++ b/test/test.css @@ -451,9 +451,7 @@ template { alignment-baseline: auto; baseline-source: auto; baseline-shift: auto; - line-sizing: auto; - leading-trim-over: auto; - leading-trim-under: auto; + text-edge: auto; leading-trim: auto; inline-sizing: auto; initial-letter: auto; @@ -461,6 +459,7 @@ template { initial-letter-wrap: auto; display: mathematical; display: ideographic; + display: leading; display: cap; display: ex; display: ideographic-ink; From d9ec9eeeec6c46413966ce33a4478f7d5c68cc0f Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Fri, 26 Jun 2020 13:33:10 +0900 Subject: [PATCH 203/400] Create FUNDING.yml --- .github/FUNDING.yml | 1 + 1 file changed, 1 insertion(+) create mode 100644 .github/FUNDING.yml diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml new file mode 100644 index 0000000..30e557a --- /dev/null +++ b/.github/FUNDING.yml @@ -0,0 +1 @@ +github: [hail2u] From a1b7e3e0f41f1b3ce17313c0b709a6d7c6ec411d Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Fri, 10 Jul 2020 14:47:56 +0900 Subject: [PATCH 204/400] Update lists-3.vim https://www.w3.org/TR/2020/WD-css-lists-3-20200709/ From d0e4091e574bc322f914c288edb4ec62dd1747cb Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Sat, 8 Aug 2020 18:24:46 +0900 Subject: [PATCH 205/400] Update README --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 64309c8..63858ee 100644 --- a/README.md +++ b/README.md @@ -83,13 +83,13 @@ want to highlight Media Queries correctly, you must update Vim to 8.0+. AUTHOR ------ -Kyo Nagashima (https://kyonagashima.com/) +Kyo Nagashima (https://hail2u.net/) LICENSE ------- -MIT License +MIT [1]: http://www.vim.org/ From a5cacf8839829dfed36a6dc9341b3fdd917f8873 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Wed, 19 Aug 2020 08:14:47 +0900 Subject: [PATCH 206/400] Update cascade-3.vim https://www.w3.org/TR/2020/CR-css-cascade-3-20200817/ From f13a51f51d042647ea76b3a4055f41b88430b84c Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Thu, 20 Aug 2020 08:24:43 +0900 Subject: [PATCH 207/400] Update cascade-4.vim https://www.w3.org/TR/2020/WD-css-cascade-4-20200818/ From 0d27605a1927add982c4d2b331f8fbcb57d6eed3 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Thu, 20 Aug 2020 08:30:58 +0900 Subject: [PATCH 208/400] Update grid-1.vim https://www.w3.org/TR/2020/CR-css-grid-1-20200818/ From f0d6e95e7e6c5e2d0133a88f035f10f5c83b5f26 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Thu, 20 Aug 2020 08:32:05 +0900 Subject: [PATCH 209/400] Update grid-2.vim https://www.w3.org/TR/2020/CR-css-grid-2-20200818/ From f467f96911ddd5b2926b2d21930f678165de3233 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Fri, 28 Aug 2020 18:28:32 +0900 Subject: [PATCH 210/400] Update inline-3.vim https://www.w3.org/TR/2020/WD-css-inline-3-20200827/ --- after/syntax/css/inline-3.vim | 2 +- test/test.css | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/after/syntax/css/inline-3.vim b/after/syntax/css/inline-3.vim index 9d5c9a5..8d6aeb0 100644 --- a/after/syntax/css/inline-3.vim +++ b/after/syntax/css/inline-3.vim @@ -4,5 +4,5 @@ syn match cssFontProp contained "\" syn match cssFontProp contained "\" syn match cssFontProp contained "\" syn match cssFontProp contained "\" -syn keyword cssFontAttr contained mathematical leading cap ex raise sink +syn keyword cssFontAttr contained central mathematical leading cap ex drop raise syn match cssFontAttr contained "\" diff --git a/test/test.css b/test/test.css index d5f2af7..cb2e9b2 100644 --- a/test/test.css +++ b/test/test.css @@ -458,13 +458,14 @@ template { initial-letter-align: auto; initial-letter-wrap: auto; display: mathematical; + display: central; display: ideographic; display: leading; display: cap; display: ex; display: ideographic-ink; + display: drop; display: raise; - display: sink; } .layout-api-1 { From 7a6a010fd8ee4ecc14dce178b8538904e03ba928 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Thu, 10 Sep 2020 07:43:04 +0900 Subject: [PATCH 211/400] Update worklets-1.vim https://www.w3.org/TR/2020/WD-worklets-1-20200908/ From 75fb8957638242120e0e737fc352a8a8c5500266 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Thu, 10 Sep 2020 07:45:17 +0900 Subject: [PATCH 212/400] 1.7.2 From b3c992b4f52029bd4b7c0bc9965888c1918d4598 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Thu, 15 Oct 2020 08:55:43 +0900 Subject: [PATCH 213/400] Update properties-values-api-1.vim https://www.w3.org/TR/2020/WD-css-properties-values-api-1-20201013/ From 790e68661f7e65f8071a0629cd0f8c0cbab7db07 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Thu, 22 Oct 2020 08:17:14 +0900 Subject: [PATCH 214/400] Fix extra white space --- test/test.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test.css b/test/test.css index cb2e9b2..8ac765c 100644 --- a/test/test.css +++ b/test/test.css @@ -396,7 +396,7 @@ footnote-display: auto; footnote-policy: auto; display: footnote; - display: line; + display: line; display: element(header); display: running(heading); } From 7ca800647cffbe80db548a6b8946d97a60c63eb6 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Thu, 22 Oct 2020 08:17:28 +0900 Subject: [PATCH 215/400] Update sizing-4.vim https://www.w3.org/TR/2020/WD-css-sizing-4-20201020/ From 6a5285ba3c2500feeeac058a6d4e58c681d19b43 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Fri, 23 Oct 2020 08:10:07 +0900 Subject: [PATCH 216/400] Update grid-2.vim https://www.w3.org/TR/2020/CRD-css-grid-2-20201021/ From 1043cc17afc28902c632e9d4780af2cf02b4529b Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Fri, 23 Oct 2020 08:12:53 +0900 Subject: [PATCH 217/400] Update grid-1.vim https://www.w3.org/TR/2020/CRD-css-grid-1-20201021/ From 11234a106c1a7f6ec4c2ff78baa0ef741fe5b793 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Sat, 24 Oct 2020 08:44:25 +0900 Subject: [PATCH 218/400] Add highlight-api-1.vim https://www.w3.org/TR/2020/WD-css-highlight-api-1-20201022/ --- after/syntax/css/highlight-api-1.vim | 1 + test/test.css | 4 ++++ 2 files changed, 5 insertions(+) create mode 100644 after/syntax/css/highlight-api-1.vim diff --git a/after/syntax/css/highlight-api-1.vim b/after/syntax/css/highlight-api-1.vim new file mode 100644 index 0000000..d8a8b43 --- /dev/null +++ b/after/syntax/css/highlight-api-1.vim @@ -0,0 +1 @@ +syn region cssPseudoClassFn contained matchgroup=cssFunctionName start="\ Date: Tue, 27 Oct 2020 08:37:57 +0900 Subject: [PATCH 219/400] Update sizing-3.vim https://www.w3.org/TR/2020/WD-css-sizing-3-20201023/ From ac0823e31bdfca505a4f0603e12d172168f092de Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Fri, 30 Oct 2020 08:12:24 +0900 Subject: [PATCH 220/400] Update box-3.vim https://www.w3.org/TR/2020/WD-css-box-3-20201028/ From a8545763fe51bd9fb0f30bb879e6176536543db5 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Fri, 13 Nov 2020 08:48:41 +0900 Subject: [PATCH 221/400] Update css-color-adjust-1.vim https://www.w3.org/TR/2020/WD-css-color-adjust-1-20201109/ --- after/syntax/css/color-adjust-1.vim | 2 +- test/test.css | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/after/syntax/css/color-adjust-1.vim b/after/syntax/css/color-adjust-1.vim index a216224..49637d6 100644 --- a/after/syntax/css/color-adjust-1.vim +++ b/after/syntax/css/color-adjust-1.vim @@ -1,3 +1,3 @@ syn match cssColorProp contained "\<\(forced-\)\=color-adjust\>" syn match cssColorProp contained "\" -syn keyword cssFontAttr contained only economy exact +syn keyword cssFontAttr contained economy exact diff --git a/test/test.css b/test/test.css index 1eb535e..8d5525f 100644 --- a/test/test.css +++ b/test/test.css @@ -105,7 +105,7 @@ color-scheme: auto; forced-color-adjust: auto; color-adjust: auto; - display: only light; + display: light; display: economy; display: exact; } From 96ae247194966118765688bb8eaac2d6cc2745b3 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Fri, 13 Nov 2020 08:50:42 +0900 Subject: [PATCH 222/400] Update scroll-anchoring-1.vim https://www.w3.org/TR/2020/WD-css-scroll-anchoring-1-20201111/ From 0e7167b160c046b0572e9fb2603052665c0e6aab Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Fri, 13 Nov 2020 09:09:26 +0900 Subject: [PATCH 223/400] Update values-4.vim https://www.w3.org/TR/2020/WD-css-values-4-20201111/ --- after/syntax/css/values-4.vim | 2 +- test/test.css | 17 +++++++++++++++++ 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/after/syntax/css/values-4.vim b/after/syntax/css/values-4.vim index 744dd7a..378c555 100644 --- a/after/syntax/css/values-4.vim +++ b/after/syntax/css/values-4.vim @@ -1,2 +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 +syn region cssFunction contained matchgroup=cssFunctionName start="\<\(min\|max\|clamp\|toggle\|round\|mod\|rem\|a\=\(sin\|cos\|tan\)\|atan2\|pow\|sqrt\|hypot\|log\|exp\|abs\|sign\)\s*(" end=")" oneline keepend diff --git a/test/test.css b/test/test.css index 8d5525f..cbb893e 100644 --- a/test/test.css +++ b/test/test.css @@ -1161,6 +1161,23 @@ view { display: max(0, 1); display: clamp(0, 100, 2); display: toggle(italic, normal); + display: round(var(--width), 50px); + display: mod(-18px, 5px); + display: rem(-18px, 5px); + display: sin(45deg); + display: cos(1); + display: tan(1); + display: asin(45deg); + display: acos(1); + display: atan(1); + display: atan2(1, -1); + display: pow(1.5, -1); + display: sqrt(4); + display: hypot(30px, 40px); + display: log(10); + display: exp(1); + display: abs(-1); + display: sign(-4); } .variables-1 { From 331f24456477c5c9c34c75df39b08901d1596ddb Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Sat, 14 Nov 2020 08:09:20 +0900 Subject: [PATCH 224/400] Update color-4.vim https://www.w3.org/TR/2020/WD-css-color-4-20201112/ --- after/syntax/css/color-4.vim | 2 +- test/test.css | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/after/syntax/css/color-4.vim b/after/syntax/css/color-4.vim index 44d27c9..3f6bc51 100644 --- a/after/syntax/css/color-4.vim +++ b/after/syntax/css/color-4.vim @@ -1,4 +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\|color\|device-cmyk\=\)\s*(" end=")" oneline keepend syn match cssFontDescriptor "@color-profile\>" nextgroup=cssFontDescriptorBlock skipwhite skipnl diff --git a/test/test.css b/test/test.css index cbb893e..4669ad9 100644 --- a/test/test.css +++ b/test/test.css @@ -83,7 +83,6 @@ display: hwb(120deg, 44%, 50%); display: lab(1 2 3); display: lch(4 5 6); - display: gray(50%); display: color(swopc, 0 206 190 77); display: device-cmyk(0, 81%, 81%, 30%); display: relative-colorimetric; From 70994724630b8a9315d0365f41a5e76c33b6ea53 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Sat, 14 Nov 2020 08:30:34 +0900 Subject: [PATCH 225/400] 1.8.0 From ab5722664a12667077083e80aabbc014ad771e10 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Thu, 19 Nov 2020 16:21:47 +0900 Subject: [PATCH 226/400] Update fonts-4.vim https://www.w3.org/TR/2020/WD-css-fonts-4-20201117/ --- after/syntax/css/fonts-4.vim | 11 +++++++---- test/test.css | 35 ++++++++++++++++++++++++----------- 2 files changed, 31 insertions(+), 15 deletions(-) diff --git a/after/syntax/css/fonts-4.vim b/after/syntax/css/fonts-4.vim index 39628fc..21f9e02 100644 --- a/after/syntax/css/fonts-4.vim +++ b/after/syntax/css/fonts-4.vim @@ -1,16 +1,19 @@ +syn match cssFontProp contained "\" +syn match cssFontProp contained "\" syn match cssFontProp contained "\" +syn match cssFontProp contained "\<\(ascent\|descent\|line-gap\)-override\>" syn match cssFontProp contained "\" syn match cssFontProp contained "\" syn match cssFontProp contained "\" +syn match cssFontProp contained "\" syn match cssFontProp contained "\" syn match cssFontProp contained "\" syn match cssFontProp contained "\" -syn match cssFontProp contained "\" -syn keyword cssFontAttr contained emoji math fangsong infinity swap fallback optional light dark +syn keyword cssFontAttr contained emoji math fangsong swap fallback light dark syn match cssFontAttr contained "\" syn match cssFontAttr contained "\" -syn match cssFontAttr contained "\" syn match cssFontAttr contained "\" +syn match cssFontAttr contained "\" 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 diff --git a/test/test.css b/test/test.css index 4669ad9..c24197b 100644 --- a/test/test.css +++ b/test/test.css @@ -354,34 +354,47 @@ } .fonts-4 { + font-synthesis-weight: auto; + font-synthesis-style: auto; + font-synthesis-small-caps: auto; + font-variation-settings: auto; + font-named-instance: auto; font-display: auto; + ascent-override: auto; + descent-override: auto; + line-gap-override: auto; font-optical-sizing: auto; font-variation-settings: auto; font-palette: auto; - font-presentation: auto; font-variant-emoji: auto; + font-presentation: auto; display: system-ui; display: emoji; display: math; display: fangsong; - display: infinity; - display: stylistic(feature-value-name); + display: ui-serif; + display: ui-sans-serif; + display: ui-monospace; + display: ui-rounded; + display: xxx-large; + display: swap; + display: fallback; display: historical-forms; + display: stylistic(feature-value-name); 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: fallback; - display: optional; display: light; display: dark; - display: ui-serif; - display: ui-sans-serif; - display: ui-monospace; - display: ui-rounded; - display: xxx-large; +} + +@font-feature-values Test { + @swash { + swishy: 1; + flowing: 2; + } } @font-palette-values Test { From 750667a31252ded5a989955afca864968ef0fe52 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Thu, 19 Nov 2020 16:24:04 +0900 Subject: [PATCH 227/400] Update lists-3.vim https://www.w3.org/TR/2020/WD-css-lists-3-20201117/ From 5a004b69ad3ee4435553004288b2e44f0941e549 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Sat, 21 Nov 2020 08:41:21 +0900 Subject: [PATCH 228/400] Update text-3.vim https://www.w3.org/TR/2020/WD-css-text-3-20201119/ From 6ea52b468a646c57d1e8da201ee509330341f66e Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Wed, 9 Dec 2020 19:14:00 +0900 Subject: [PATCH 229/400] Update highlight-api-1.vim https://www.w3.org/TR/2020/WD-css-highlight-api-1-20201208/ From c1dc0b4c7c1984db7c3b53004d6d469a233051d0 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Wed, 9 Dec 2020 19:16:31 +0900 Subject: [PATCH 230/400] Update conditional-3.vim https://www.w3.org/TR/2020/CR-css-conditional-3-20201208/ From 1baaddd03956fd9d6d1e3faae213adab7f8a0008 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Thu, 17 Dec 2020 21:22:04 +0900 Subject: [PATCH 231/400] Update images-3.vim https://www.w3.org/TR/2020/CRD-css-images-3-20201217/ From fcb88f2110b5717c7b30467f0fc249babe1fc303 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Thu, 17 Dec 2020 21:23:03 +0900 Subject: [PATCH 232/400] Update contain-2.vim https://www.w3.org/TR/2020/WD-css-contain-2-20201216/ From be159483e9b9e94068608220fde23c01c5a5343f Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Sat, 19 Dec 2020 18:37:16 +0900 Subject: [PATCH 233/400] Update sizing-3.vim https://www.w3.org/TR/2020/WD-css-sizing-3-20201218/ From 0b4b3219e15244cdbc4652ea513b05468b12f079 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Sat, 19 Dec 2020 18:39:15 +0900 Subject: [PATCH 234/400] Update grid-2.vim https://www.w3.org/TR/2020/CRD-css-grid-2-20201218/ From 18d867b3b10dbcbdd0c2394ecc3ec5caece2dec9 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Sat, 19 Dec 2020 18:40:03 +0900 Subject: [PATCH 235/400] Update grid-1.vim https://www.w3.org/TR/2020/CRD-css-grid-1-20201218/ From 4cabff16d61173684ba0c6ee5616029596728cc1 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Sat, 19 Dec 2020 18:41:13 +0900 Subject: [PATCH 236/400] Update display-3.vim https://www.w3.org/TR/2020/CRD-css-display-3-20201218/ From cb426f77cfc2fc426a957eb2c31c9fbd1adc675c Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Tue, 5 Jan 2021 09:53:38 +0900 Subject: [PATCH 237/400] Update pseudo-4.vim https://www.w3.org/TR/2020/WD-css-pseudo-4-20201231/ --- after/syntax/css/pseudo-4.vim | 3 ++- test/test.css | 5 +++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/after/syntax/css/pseudo-4.vim b/after/syntax/css/pseudo-4.vim index 85b3fc7..06911f3 100644 --- a/after/syntax/css/pseudo-4.vim +++ b/after/syntax/css/pseudo-4.vim @@ -1,2 +1,3 @@ -syn match cssPseudoClassId contained "\" +syn match cssPseudoClassId contained "\" syn match cssPseudoClassId contained "\<\(spelling\|grammer\)-error\>" +syn match cssPseudoClassId contained "\" diff --git a/test/test.css b/test/test.css index c24197b..46cf085 100644 --- a/test/test.css +++ b/test/test.css @@ -692,9 +692,10 @@ mask { initial-value: auto; } -.pseudo-4::inactive-selection, +.pseudo-4::target-text, .pseudo-4::spelling-error, -.pseudo-4::grammer-error { +.pseudo-4::grammer-error, +.pseudi-4::file-selectors-button { display: auto; } From cdbc9512dbf116b27b8b97af6c5a15cb3b2ad219 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Tue, 5 Jan 2021 09:54:53 +0900 Subject: [PATCH 238/400] Update backgrounds-3.vim https://www.w3.org/TR/2020/CR-css-backgrounds-3-20201222/ From 47f59169c09b0094a325fb0e0e39986f534f9d3b Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Tue, 5 Jan 2021 09:55:53 +0900 Subject: [PATCH 239/400] Update box-3.vim https://www.w3.org/TR/2020/CR-css-box-3-20201222/ From e74a5c6940381b98d254b225ffdac0528c4b256c Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Tue, 5 Jan 2021 09:56:49 +0900 Subject: [PATCH 240/400] Update text-3.vim https://www.w3.org/TR/2020/CR-css-text-3-20201222/ From 0e25532d8a6aebbf10a39d7638caabba1f95c319 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Tue, 5 Jan 2021 09:59:25 +0900 Subject: [PATCH 241/400] Update cascade-3.vim https://www.w3.org/TR/2020/PR-css-cascade-3-20201222/ From bbfd67f7855792bb46dd06b54e4bbc0cf53ad2ac Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Tue, 5 Jan 2021 10:00:28 +0900 Subject: [PATCH 242/400] Update contain-1.vim https://www.w3.org/TR/2020/REC-css-contain-1-20201222/ From 213ac91578add3702026639891d669d7fde8e90e Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Tue, 5 Jan 2021 13:04:52 +0900 Subject: [PATCH 243/400] 1.8.1 From a72b347b7582edfb87a7c260e8822776588bc143 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Thu, 7 Jan 2021 15:59:03 +0900 Subject: [PATCH 244/400] Revert "Update README" This reverts commit d0e4091e574bc322f914c288edb4ec62dd1747cb. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 63858ee..20d362d 100644 --- a/README.md +++ b/README.md @@ -83,7 +83,7 @@ want to highlight Media Queries correctly, you must update Vim to 8.0+. AUTHOR ------ -Kyo Nagashima (https://hail2u.net/) +Kyo Nagashima (https://kyonagashima.com/) LICENSE From 6fab44a6c40eb8c714b492cba34fb945d3241061 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Wed, 20 Jan 2021 20:51:45 +0900 Subject: [PATCH 245/400] Add cascade-5.vim https://www.w3.org/TR/2021/WD-css-cascade-5-20210119/ --- after/syntax/css/cascade-5.vim | 0 test/test.css | 4 ++++ 2 files changed, 4 insertions(+) create mode 100644 after/syntax/css/cascade-5.vim diff --git a/after/syntax/css/cascade-5.vim b/after/syntax/css/cascade-5.vim new file mode 100644 index 0000000..e69de29 diff --git a/test/test.css b/test/test.css index 46cf085..d2a8c9f 100644 --- a/test/test.css +++ b/test/test.css @@ -69,6 +69,10 @@ display: revert; } +.cascade-5 { + display: auto; +} + @import "conditional-3.css" supports(display: auto); @supports (selector(.conditional-4)) { From f3de982f44330b1a1c9a52a725e5c9a279d3c373 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Fri, 12 Feb 2021 21:34:17 +0900 Subject: [PATCH 246/400] Update cascade-3.vim https://www.w3.org/TR/2021/REC-css-cascade-3-20210211/ From da60696e7bdf34be8f9071828d07c04f29e01356 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Mon, 15 Feb 2021 19:22:22 +0900 Subject: [PATCH 247/400] Update multicol-1.vim https://www.w3.org/TR/2021/WD-css-multicol-1-20210212/ From 0ac0b4ca0802b0c5bfd7f6942a6b856d0ef4e5e6 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Fri, 12 Mar 2021 08:11:17 +0900 Subject: [PATCH 248/400] Update URL --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 20d362d..63858ee 100644 --- a/README.md +++ b/README.md @@ -83,7 +83,7 @@ want to highlight Media Queries correctly, you must update Vim to 8.0+. AUTHOR ------ -Kyo Nagashima (https://kyonagashima.com/) +Kyo Nagashima (https://hail2u.net/) LICENSE From 841e4bb515a5dc02b6b2d7adcb8da8e1c3a9c77f Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Fri, 2 Apr 2021 07:43:37 +0900 Subject: [PATCH 249/400] Update easing-1.vim https://www.w3.org/TR/2021/CRD-css-easing-1-20210401/ From 1a895dc088d413525d39293b9321f57b44355e6c Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Sat, 24 Apr 2021 07:45:37 +0900 Subject: [PATCH 250/400] Update text-3.vim https://www.w3.org/TR/2021/CRD-css-text-3-20210422/ From 5540e024859aa480f637da101bf5c2cd80dbdb92 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Mon, 26 Apr 2021 08:19:06 +0900 Subject: [PATCH 251/400] Update cascade-5.vim https://www.w3.org/TR/2021/WD-css-cascade-5-20210319/ --- after/syntax/css/cascade-5.vim | 1 + test/test.css | 8 +++++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/after/syntax/css/cascade-5.vim b/after/syntax/css/cascade-5.vim index e69de29..497fcb7 100644 --- a/after/syntax/css/cascade-5.vim +++ b/after/syntax/css/cascade-5.vim @@ -0,0 +1 @@ +syn match cssFontAttr contained "\" diff --git a/test/test.css b/test/test.css index d2a8c9f..b9e824d 100644 --- a/test/test.css +++ b/test/test.css @@ -65,16 +65,18 @@ display: auto; } +@import "cascade-4.css" supports(display: auto); + .cascade-4 { display: revert; } +@import "cascade-5.css" layer(framework component); + .cascade-5 { - display: auto; + display: revert-layer; } -@import "conditional-3.css" supports(display: auto); - @supports (selector(.conditional-4)) { display: auto; } From 246cc6e0992c941ad0d0162bc0a795e6d9bca286 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Mon, 26 Apr 2021 08:19:33 +0900 Subject: [PATCH 252/400] Fix test order --- test/test.css | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/test/test.css b/test/test.css index b9e824d..1620394 100644 --- a/test/test.css +++ b/test/test.css @@ -77,10 +77,6 @@ display: revert-layer; } -@supports (selector(.conditional-4)) { - display: auto; -} - .color-3 { display: auto; } @@ -137,13 +133,17 @@ } @supports (display: auto) or - (display: auto) not - (display: auto) { +(display: auto) not +(display: auto) { .conditional-3 { - display: auto; + display: auto; } } +@supports (selector(.conditional-4)) { + display: auto; +} + .contain-1 { contain: auto; display: layout; From 444215b6fdadf0d425a3bea9771c67221b355b3c Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Fri, 21 May 2021 18:28:48 +0900 Subject: [PATCH 253/400] Update web-animations-1.vim https://www.w3.org/TR/2021/WD-web-animations-1-20210518/ From 6aa08ed7a8b903307374191c949c4e577fc68c85 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Fri, 21 May 2021 18:31:26 +0900 Subject: [PATCH 254/400] Update color-adjust-1.vim https://www.w3.org/TR/2021/WD-css-color-adjust-1-20210520/ --- after/syntax/css/color-adjust-1.vim | 2 +- test/test.css | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/after/syntax/css/color-adjust-1.vim b/after/syntax/css/color-adjust-1.vim index 49637d6..82339c3 100644 --- a/after/syntax/css/color-adjust-1.vim +++ b/after/syntax/css/color-adjust-1.vim @@ -1,3 +1,3 @@ -syn match cssColorProp contained "\<\(forced-\)\=color-adjust\>" +syn match cssColorProp contained "\<\(forced-\|print-\)\=color-adjust\>" syn match cssColorProp contained "\" syn keyword cssFontAttr contained economy exact diff --git a/test/test.css b/test/test.css index 1620394..d7d960a 100644 --- a/test/test.css +++ b/test/test.css @@ -105,6 +105,7 @@ .color-adjust-1 { color-scheme: auto; forced-color-adjust: auto; + print-color-adjust: auto; color-adjust: auto; display: light; display: economy; From 7f1c068e64ff3b05ac3da2216be79828e3e3ce29 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Fri, 21 May 2021 18:37:19 +0900 Subject: [PATCH 255/400] Update sizing-4.vim https://www.w3.org/TR/2021/WD-css-sizing-4-20210520/ --- after/syntax/css/sizing-4.vim | 3 ++- test/test.css | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/after/syntax/css/sizing-4.vim b/after/syntax/css/sizing-4.vim index f3acc7f..d0812af 100644 --- a/after/syntax/css/sizing-4.vim +++ b/after/syntax/css/sizing-4.vim @@ -1,2 +1,3 @@ syn match cssFontProp contained "\" -syn match cssFontAttr contained "\<\fit-content\>" +syn match cssFontProp contained "\" +syn match cssFontAttr contained "\" diff --git a/test/test.css b/test/test.css index d7d960a..120d365 100644 --- a/test/test.css +++ b/test/test.css @@ -885,7 +885,10 @@ mask { .sizing-4 { contain-intrinsic-size: auto; + min-intrinsic-sizing: auto; display: fit-content; + display: zero-if-scroll; + display: zero-if-extrinsic; } .speech-1 { From 82afdcdc634fb013821026de8720895854108ad7 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Fri, 21 May 2021 18:43:08 +0900 Subject: [PATCH 256/400] 1.9.0 From 0a84e0bb3827200b415cd882a9453b4b5565a5d0 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Wed, 2 Jun 2021 07:21:51 +0900 Subject: [PATCH 257/400] Update color-4.vim https://www.w3.org/TR/2021/WD-css-color-4-20210601/ From 7df74cc2e0f6848342e1e023bc0e347cbbfb36a4 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Wed, 2 Jun 2021 07:26:30 +0900 Subject: [PATCH 258/400] Update color-5.vim https://www.w3.org/TR/2021/WD-css-color-5-20210601/ From a2e644f63234d0da4af9f217c5c911c38a09a1a8 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Thu, 10 Jun 2021 07:26:11 +0900 Subject: [PATCH 259/400] Update cascade-5.vim https://www.w3.org/TR/2021/WD-css-cascade-5-20210608/ From 64ad3eaec3f2c8c488f1191505667c5fb88fe6f9 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Fri, 18 Jun 2021 07:28:37 +0900 Subject: [PATCH 260/400] Update color-adjust-1.vim https://www.w3.org/TR/2021/WD-css-color-adjust-1-20210616/ From d1b62f70e717f78ed623132ad8610f9ba7952dc9 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Thu, 15 Jul 2021 22:28:24 +0900 Subject: [PATCH 261/400] Update values-4.vim https://www.w3.org/TR/2021/WD-css-values-4-20210715/ --- after/syntax/css/values-4.vim | 1 + test/test.css | 18 ++++++++++++++++++ 2 files changed, 19 insertions(+) diff --git a/after/syntax/css/values-4.vim b/after/syntax/css/values-4.vim index 378c555..9135d2e 100644 --- a/after/syntax/css/values-4.vim +++ b/after/syntax/css/values-4.vim @@ -1,2 +1,3 @@ syn match cssValueLength contained "[-+]\=\d\+\(\.\d*\)\=\(vi\|vb\|ic\|cap\|lh\|rlh\)" +syn match cssValueLength contained "[-+]\=\d\+\(\.\d*\)\=\(s\|l\|d\)v\(h\|w\|i\|b\|min\|max\)" syn region cssFunction contained matchgroup=cssFunctionName start="\<\(min\|max\|clamp\|toggle\|round\|mod\|rem\|a\=\(sin\|cos\|tan\)\|atan2\|pow\|sqrt\|hypot\|log\|exp\|abs\|sign\)\s*(" end=")" oneline keepend diff --git a/test/test.css b/test/test.css index 120d365..044ab22 100644 --- a/test/test.css +++ b/test/test.css @@ -1180,6 +1180,24 @@ view { display: 1cap; display: 1lh; display: 1rlh; + display: 1svh; + display: 1svw; + display: 1svi; + display: 1svb; + display: 1svmin; + display: 1svmax; + display: 1lvh; + display: 1lvw; + display: 1lvi; + display: 1lvb; + display: 1lvmin; + display: 1lvmax; + display: 1dvh; + display: 1dvw; + display: 1dvi; + display: 1dvb; + display: 1dvmin; + display: 1dvmax; display: min(0, 1); display: max(0, 1); display: clamp(0, 100, 2); From 4a3c90092dee4381f80219974f3d2099e6fb2050 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Fri, 16 Jul 2021 08:08:46 +0900 Subject: [PATCH 262/400] Optimize regexp --- after/syntax/css/values-4.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/after/syntax/css/values-4.vim b/after/syntax/css/values-4.vim index 9135d2e..cf149a5 100644 --- a/after/syntax/css/values-4.vim +++ b/after/syntax/css/values-4.vim @@ -1,3 +1,3 @@ -syn match cssValueLength contained "[-+]\=\d\+\(\.\d*\)\=\(vi\|vb\|ic\|cap\|lh\|rlh\)" -syn match cssValueLength contained "[-+]\=\d\+\(\.\d*\)\=\(s\|l\|d\)v\(h\|w\|i\|b\|min\|max\)" +syn match cssValueLength contained "[-+]\=\d\+\(\.\d*\)\=\(ic\|cap\|lh\|rlh\)" +syn match cssValueLength contained "[-+]\=\d\+\(\.\d*\)\=\(s\|l\|d\)\=v\(h\|w\|i\|b\|min\|max\)" syn region cssFunction contained matchgroup=cssFunctionName start="\<\(min\|max\|clamp\|toggle\|round\|mod\|rem\|a\=\(sin\|cos\|tan\)\|atan2\|pow\|sqrt\|hypot\|log\|exp\|abs\|sign\)\s*(" end=")" oneline keepend From e9bba514fd0d8646a95c9007923e5bbe13a3c453 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Sat, 24 Jul 2021 07:01:46 +0900 Subject: [PATCH 263/400] Update color-5.vim https://www.w3.org/TR/2020/WD-css-color-5-20200303/ --- after/syntax/css/color-5.vim | 2 +- test/test.css | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/after/syntax/css/color-5.vim b/after/syntax/css/color-5.vim index 525795c..9146819 100644 --- a/after/syntax/css/color-5.vim +++ b/after/syntax/css/color-5.vim @@ -1 +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 +syn region cssFunction contained matchgroup=cssFunctionName start="\ Date: Tue, 27 Jul 2021 07:12:14 +0900 Subject: [PATCH 264/400] Update backgrounds-3.vim https://www.w3.org/TR/2021/CRD-css-backgrounds-3-20210726/ From c3793de3f5576073902c2cde23780dabbadb8f0d Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Thu, 29 Jul 2021 07:08:29 +0900 Subject: [PATCH 265/400] Update counter-styles-3.vim https://www.w3.org/TR/2021/CR-css-counter-styles-3-20210727/ From 4bea539df08ab01c3a631223ad4f6a587288c8d9 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Fri, 30 Jul 2021 21:33:52 +0900 Subject: [PATCH 266/400] Remove worklets-1.vim Worklets Level 1 is retired. --- after/syntax/css/worklets-1.vim | 0 1 file changed, 0 insertions(+), 0 deletions(-) delete mode 100644 after/syntax/css/worklets-1.vim diff --git a/after/syntax/css/worklets-1.vim b/after/syntax/css/worklets-1.vim deleted file mode 100644 index e69de29..0000000 From cfe5fae3b8afb2edee2c0e08a93641d4e41dd75d Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Fri, 30 Jul 2021 21:39:42 +0900 Subject: [PATCH 267/400] Update fonts-4.vim https://www.w3.org/TR/2021/WD-css-fonts-4-20210729/ From 058c8141e3ce966d1332ed2be76cc80e6214e9cc Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Fri, 30 Jul 2021 21:42:11 +0900 Subject: [PATCH 268/400] Update fonts-5.vim https://www.w3.org/TR/2021/WD-css-fonts-5-20210729/ From 71d24168327bb7886a5dae3b50e9d002c4a319f6 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Sat, 7 Aug 2021 07:12:40 +0900 Subject: [PATCH 269/400] Update scrollbars-1.vim https://www.w3.org/TR/2021/WD-css-scrollbars-1-20210805/ From b693202398bc6f984f293bd256c2055c188fd678 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Sat, 7 Aug 2021 07:17:25 +0900 Subject: [PATCH 270/400] Update masking-1.vim https://www.w3.org/TR/2021/CRD-css-masking-1-20210805/ From d23bfc5841e00c21d3fd97aad018f5a2c4b9df26 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Sat, 7 Aug 2021 07:19:19 +0900 Subject: [PATCH 271/400] Update color-3.vim https://www.w3.org/TR/2021/REC-css-color-3-20210805/ From 6ec93fe2391d36668273f9ede5942ceb8ad917bf Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Mon, 30 Aug 2021 06:53:44 +0900 Subject: [PATCH 272/400] Update scrollbars-1.vim https://www.w3.org/TR/2021/WD-css-scrollbars-1-20210829/ From ec0f9fde0171affad32d1e1f73ae279ca913eba0 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Mon, 30 Aug 2021 06:57:14 +0900 Subject: [PATCH 273/400] Update cascade-5.vim https://www.w3.org/TR/2021/WD-css-cascade-5-20210829/ From fc0b368942e69d7a23ec952ee6abd7fabc6cd801 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Mon, 30 Aug 2021 07:02:56 +0900 Subject: [PATCH 274/400] Update cssom-1.vim https://www.w3.org/TR/2021/WD-cssom-1-20210826/ From 4b04851c4043f2f1e2b6522da5c6276162e50748 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Sat, 18 Sep 2021 07:36:28 +0900 Subject: [PATCH 275/400] Update scrollbars-1.vim https://www.w3.org/TR/2021/WD-css-scrollbars-1-20210908/ From f548cf1f6151e6d2ac0fbada9e1af97a407b646e Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Sat, 18 Sep 2021 07:46:21 +0900 Subject: [PATCH 276/400] Update display-3.vim https://www.w3.org/TR/2021/CRD-css-display-3-20210903/ --- after/syntax/css/display-3.vim | 3 ++- test/test.css | 3 +-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/after/syntax/css/display-3.vim b/after/syntax/css/display-3.vim index 9a5aeaa..7ea331b 100644 --- a/after/syntax/css/display-3.vim +++ b/after/syntax/css/display-3.vim @@ -1,2 +1,3 @@ syn keyword cssFontAttr contained contents discard -syn match cssBoxAttr contained "\" +syn match cssBoxAttr contained "\" +syn match cssBoxAttr contained "\" diff --git a/test/test.css b/test/test.css index 01953aa..22addea 100644 --- a/test/test.css +++ b/test/test.css @@ -245,11 +245,10 @@ .display-3 { display: contents; + display: run-in; display: ruby; display: ruby-base; display: ruby-text; - display: ruby-base-group; - display: ruby-text-group; } .easing-1 { From 9b0a104f17a4787c6a7538a0eb533c03a27cbfce Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Sat, 2 Oct 2021 07:11:26 +0900 Subject: [PATCH 277/400] Update values-4.vim https://www.w3.org/TR/2021/WD-css-values-4-20210930/ --- after/syntax/css/values-4.vim | 2 +- test/test.css | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/after/syntax/css/values-4.vim b/after/syntax/css/values-4.vim index cf149a5..f9760af 100644 --- a/after/syntax/css/values-4.vim +++ b/after/syntax/css/values-4.vim @@ -1,3 +1,3 @@ syn match cssValueLength contained "[-+]\=\d\+\(\.\d*\)\=\(ic\|cap\|lh\|rlh\)" syn match cssValueLength contained "[-+]\=\d\+\(\.\d*\)\=\(s\|l\|d\)\=v\(h\|w\|i\|b\|min\|max\)" -syn region cssFunction contained matchgroup=cssFunctionName start="\<\(min\|max\|clamp\|toggle\|round\|mod\|rem\|a\=\(sin\|cos\|tan\)\|atan2\|pow\|sqrt\|hypot\|log\|exp\|abs\|sign\)\s*(" end=")" oneline keepend +syn region cssFunction contained matchgroup=cssFunctionName start="\<\(mix\|min\|max\|clamp\|toggle\|round\|mod\|rem\|a\=\(sin\|cos\|tan\)\|atan2\|pow\|sqrt\|hypot\|log\|exp\|abs\|sign\)\s*(" end=")" oneline keepend diff --git a/test/test.css b/test/test.css index 22addea..da4dfbe 100644 --- a/test/test.css +++ b/test/test.css @@ -1217,6 +1217,7 @@ view { display: exp(1); display: abs(-1); display: sign(-4); + display: mix(33%; 1px; 2px); } .variables-1 { From 63136b80f0ead28f77e7ceb6358f4376bd52c6b8 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Thu, 14 Oct 2021 13:47:20 +0900 Subject: [PATCH 278/400] Update multicol-1.vim https://www.w3.org/TR/2021/CR-css-multicol-1-20211012/ From 5361a81b52c3ea2c38ee845b03e0cfaa260e6b5e Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Sat, 16 Oct 2021 20:11:00 +0900 Subject: [PATCH 279/400] Update cascade-5.vim https://www.w3.org/TR/2021/WD-css-cascade-5-20211015/ From b31ab2c3c7ddc9b32d7aa0c198b5aed7023aa1bc Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Sat, 16 Oct 2021 20:11:38 +0900 Subject: [PATCH 280/400] Update cascade-4.vim https://www.w3.org/TR/2021/WD-css-cascade-4-20211015/ From 53c2606574db6075ad3cc4f9a5d205eef177e0d3 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Sat, 16 Oct 2021 20:17:42 +0900 Subject: [PATCH 281/400] Update values-4.vim https://www.w3.org/TR/2021/WD-css-values-4-20211016/ --- after/syntax/css/values-4.vim | 2 +- test/test.css | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/after/syntax/css/values-4.vim b/after/syntax/css/values-4.vim index f9760af..a506731 100644 --- a/after/syntax/css/values-4.vim +++ b/after/syntax/css/values-4.vim @@ -1,3 +1,3 @@ -syn match cssValueLength contained "[-+]\=\d\+\(\.\d*\)\=\(ic\|cap\|lh\|rlh\)" +syn match cssValueLength contained "[-+]\=\d\+\(\.\d*\)\=\(rex\|cap\|rcap\|rch\|ic\|ric\|lh\|rlh\)" syn match cssValueLength contained "[-+]\=\d\+\(\.\d*\)\=\(s\|l\|d\)\=v\(h\|w\|i\|b\|min\|max\)" syn region cssFunction contained matchgroup=cssFunctionName start="\<\(mix\|min\|max\|clamp\|toggle\|round\|mod\|rem\|a\=\(sin\|cos\|tan\)\|atan2\|pow\|sqrt\|hypot\|log\|exp\|abs\|sign\)\s*(" end=")" oneline keepend diff --git a/test/test.css b/test/test.css index da4dfbe..458f271 100644 --- a/test/test.css +++ b/test/test.css @@ -1174,8 +1174,12 @@ view { .values-4 { display: 1vi; display: 1vb; - display: 1ic; + display: 1rex; display: 1cap; + display: 1rcap; + display: 1rch; + display: 1ic; + display: 1ric; display: 1lh; display: 1rlh; display: 1svh; From 3992f2254ad2e5d19f7454298d57302b8bf46bc0 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Sun, 17 Oct 2021 15:52:21 +0900 Subject: [PATCH 282/400] Remove obsolete tests --- test/test.css | 4 ---- 1 file changed, 4 deletions(-) diff --git a/test/test.css b/test/test.css index 458f271..43433a1 100644 --- a/test/test.css +++ b/test/test.css @@ -856,10 +856,6 @@ mask { display: auto; } -.selectors-nonelement-1::attr(title) { - display: auto; -} - .shadow-parts::part(textspan) { display: auto; } From be917f98bb817996e114f22a997f738d6d16adac Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Sun, 17 Oct 2021 15:53:06 +0900 Subject: [PATCH 283/400] Fix indent --- test/test.css | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/test/test.css b/test/test.css index 43433a1..6e1f986 100644 --- a/test/test.css +++ b/test/test.css @@ -734,14 +734,14 @@ mask { @media (device-radius: 50%) { .round-display-1 { - shape-inside: auto; - border-boundary: auto; - polar-angle: auto; - polar-distance: auto; - display: outside-shape; - display: shape-box; - display: parent; - display: polar; + shape-inside: auto; + border-boundary: auto; + polar-angle: auto; + polar-distance: auto; + display: outside-shape; + display: shape-box; + display: parent; + display: polar; } } @@ -767,7 +767,7 @@ mask { @scope .scoping-1 { div { - display: auto; + display: auto; } } From 46bb23a763e3422f6c34a620e939900cc84ffa81 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Mon, 18 Oct 2021 11:04:34 +0900 Subject: [PATCH 284/400] 1.9.1 From 565790d45d6324e4ea4435c033bea63bff0d26ba Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Wed, 10 Nov 2021 18:31:11 +0900 Subject: [PATCH 285/400] Update transforms-2.vim https://www.w3.org/TR/2021/WD-css-transforms-2-20211109/ From 1f1f2b252a99b8c713023779d2fff93de1ca4706 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Tue, 16 Nov 2021 07:29:08 +0900 Subject: [PATCH 286/400] Update variable-1.vim https://www.w3.org/TR/2021/CRD-css-variables-1-20211111/ From 851fad4f697e2b87a5ddf99d8c64006425193342 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Fri, 3 Dec 2021 07:24:40 +0900 Subject: [PATCH 287/400] Update ruby-1.vim https://www.w3.org/TR/2021/WD-css-ruby-1-20211202/ --- after/syntax/css/ruby-1.vim | 1 + test/test.css | 1 + 2 files changed, 2 insertions(+) diff --git a/after/syntax/css/ruby-1.vim b/after/syntax/css/ruby-1.vim index 115530b..7cc9285 100644 --- a/after/syntax/css/ruby-1.vim +++ b/after/syntax/css/ruby-1.vim @@ -1,3 +1,4 @@ syn match cssFontProp contained "\" syn match cssFontAttr contained "\" diff --git a/test/test.css b/test/test.css index 6e1f986..94b0c05 100644 --- a/test/test.css +++ b/test/test.css @@ -752,6 +752,7 @@ mask { ruby-overhang: auto; display: ruby-base-container; display: ruby-text-container; + display: merge; display: inter-character; } From 13469ac58bbb53ce78feb7bbd708625dc03014a0 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Fri, 3 Dec 2021 07:28:50 +0900 Subject: [PATCH 288/400] Update overflow-3.vim https://www.w3.org/TR/2021/WD-css-overflow-3-20211202/ --- after/syntax/css/overflow-3.vim | 1 + after/syntax/css/overflow-4.vim | 1 - test/test.css | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/after/syntax/css/overflow-3.vim b/after/syntax/css/overflow-3.vim index fb906bb..d0ead52 100644 --- a/after/syntax/css/overflow-3.vim +++ b/after/syntax/css/overflow-3.vim @@ -1,5 +1,6 @@ syn keyword cssFontProp contained continue syn match cssFontProp contained "\" +syn match cssFontProp contained "\" syn match cssFontProp contained "\" syn match cssFontProp contained "\" syn match cssFontProp contained "\" diff --git a/after/syntax/css/overflow-4.vim b/after/syntax/css/overflow-4.vim index 59645fc..1c78b5c 100644 --- a/after/syntax/css/overflow-4.vim +++ b/after/syntax/css/overflow-4.vim @@ -1,3 +1,2 @@ -syn match cssFontProp contained "\" syn keyword cssFontAttr contained stable force overflow paginate fragments syn region cssPseudoClassLang matchgroup=cssPseudoClassId start=":\(nth-fragment\)(" end=")" oneline diff --git a/test/test.css b/test/test.css index 94b0c05..7f546e1 100644 --- a/test/test.css +++ b/test/test.css @@ -629,6 +629,7 @@ mask { overflow-clip-margin: auto; overflow-block: auto; overflow-inline: auto; + scrollbar-gutter: auto; block-ellipsis: auto; line-clamp: auto; max-lines: auto; @@ -636,7 +637,6 @@ mask { } .overflow-4::nth-fragment(1) { - scrollbar-gutter: auto; display: stable; display: force; display: overflow; From 9de844a6a8e61df9be131bf0ed52d8dd6b2af438 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Mon, 6 Dec 2021 07:14:38 +0900 Subject: [PATCH 289/400] Update cascade-4.vim https://www.w3.org/TR/2021/WD-css-cascade-4-20211203/ From c19f58b453352c7722f76d97f2a2e44ad8dffa95 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Mon, 6 Dec 2021 07:16:01 +0900 Subject: [PATCH 290/400] Update cascade-5.vim https://www.w3.org/TR/2021/WD-css-cascade-5-20211203/ From efdac10d73f56c0489ba001fa6f12b3de3eebe73 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Sat, 11 Dec 2021 07:05:09 +0900 Subject: [PATCH 291/400] Update scrollbars-1.vim https://www.w3.org/TR/2021/CR-css-scrollbars-1-20211209/ From a9eba379a1fe618adc4355d9abe013644351ca26 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Thu, 16 Dec 2021 07:02:08 +0900 Subject: [PATCH 292/400] Update highlight-api-1.vim https://www.w3.org/TR/2021/WD-css-highlight-api-1-20211215/ From 3d1487297d5ac92e59784e1fcd68d30be365b66c Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Sat, 18 Dec 2021 07:51:55 +0900 Subject: [PATCH 293/400] Update sizing-3.vim https://www.w3.org/TR/2021/WD-css-sizing-3-20211217/ From 308b231f7974a4fd7b42e9028f2db69a8420f21f Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Sat, 18 Dec 2021 07:54:34 +0900 Subject: [PATCH 294/400] Update values-4.vim https://www.w3.org/TR/2021/WD-css-values-4-20211216/ --- after/syntax/css/values-4.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/after/syntax/css/values-4.vim b/after/syntax/css/values-4.vim index a506731..63c9586 100644 --- a/after/syntax/css/values-4.vim +++ b/after/syntax/css/values-4.vim @@ -1,3 +1,3 @@ syn match cssValueLength contained "[-+]\=\d\+\(\.\d*\)\=\(rex\|cap\|rcap\|rch\|ic\|ric\|lh\|rlh\)" syn match cssValueLength contained "[-+]\=\d\+\(\.\d*\)\=\(s\|l\|d\)\=v\(h\|w\|i\|b\|min\|max\)" -syn region cssFunction contained matchgroup=cssFunctionName start="\<\(mix\|min\|max\|clamp\|toggle\|round\|mod\|rem\|a\=\(sin\|cos\|tan\)\|atan2\|pow\|sqrt\|hypot\|log\|exp\|abs\|sign\)\s*(" end=")" oneline keepend +syn region cssFunction contained matchgroup=cssFunctionName start="\<\(mix\|min\|max\|clamp\|round\|mod\|rem\|a\=\(sin\|cos\|tan\)\|atan2\|pow\|sqrt\|hypot\|log\|exp\|abs\|sign\)\s*(" end=")" oneline keepend From 8c32514b0461bce78893184edb25dd3c83f35f10 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Sat, 18 Dec 2021 07:55:21 +0900 Subject: [PATCH 295/400] paint-api-1.vim https://www.w3.org/TR/2021/CRD-css-paint-api-1-20211216/ From 52a53e3fe67d88bd5767cf1709ceb815ac47062a Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Sat, 18 Dec 2021 07:55:58 +0900 Subject: [PATCH 296/400] position-3.vim https://www.w3.org/TR/2021/WD-css-position-3-20211216/ From ea7a9a23252ce74ea70aecdd7e7ae0509c39b1b8 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Thu, 23 Dec 2021 07:41:09 +0900 Subject: [PATCH 297/400] Add contain-3.vim https://www.w3.org/TR/2021/WD-css-contain-3-20211221/ --- after/syntax/css/contain-3.vim | 0 test/test.css | 4 ++++ 2 files changed, 4 insertions(+) create mode 100644 after/syntax/css/contain-3.vim diff --git a/after/syntax/css/contain-3.vim b/after/syntax/css/contain-3.vim new file mode 100644 index 0000000..e69de29 diff --git a/test/test.css b/test/test.css index 7f546e1..0c5b4f2 100644 --- a/test/test.css +++ b/test/test.css @@ -155,6 +155,10 @@ content-visibility: auto; } +.contain-3 { + display: auto; +} + .content-3 { string-set: auto; bookmark-level: auto; From 052c7459d0c0c1c4ed9d9d0c327704802903619b Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Thu, 23 Dec 2021 07:45:37 +0900 Subject: [PATCH 298/400] Update fonts-4.vim https://www.w3.org/TR/2021/WD-css-fonts-4-20211221/ From 479dc522a7930556cdd42702fd52165240326d12 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Thu, 23 Dec 2021 07:46:11 +0900 Subject: [PATCH 299/400] Update fonts-5.vim https://www.w3.org/TR/2021/WD-css-fonts-5-20211221/ From 9d7741a59fbed4226803e4eee7d95faa729f06b2 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Thu, 23 Dec 2021 07:54:01 +0900 Subject: [PATCH 300/400] Add conditional-5.vim https://www.w3.org/TR/2021/WD-css-conditional-5-20211221/ --- after/syntax/css/conditional-5.vim | 1 + test/test.css | 14 +++++++++++++- 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 after/syntax/css/conditional-5.vim diff --git a/after/syntax/css/conditional-5.vim b/after/syntax/css/conditional-5.vim new file mode 100644 index 0000000..5f22acd --- /dev/null +++ b/after/syntax/css/conditional-5.vim @@ -0,0 +1 @@ +syn match cssFontDescriptor "@\(when\|else\)\>" nextgroup=cssFontDescriptorBlock skipwhite skipnl diff --git a/test/test.css b/test/test.css index 0c5b4f2..b1b7440 100644 --- a/test/test.css +++ b/test/test.css @@ -141,7 +141,19 @@ } @supports (selector(.conditional-4)) { - display: auto; + .conditional-4 { + display: auto; + } +} + +@when media(screen) { + .conditional-5 { + display: auto; + } +} @else { + .conditional-5 { + display: auto; + } } .contain-1 { From b3e6a86d9d6d098e9fd5a81e86b2520f0dcfd52b Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Thu, 23 Dec 2021 07:56:56 +0900 Subject: [PATCH 301/400] Add cascade-6.vim https://www.w3.org/TR/2021/WD-css-cascade-6-20211221/ --- after/syntax/css/cascade-6.vim | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 after/syntax/css/cascade-6.vim diff --git a/after/syntax/css/cascade-6.vim b/after/syntax/css/cascade-6.vim new file mode 100644 index 0000000..e69de29 From 90c47814cb863a02fbcf6d492a0507a184ec170f Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Fri, 24 Dec 2021 06:58:55 +0900 Subject: [PATCH 302/400] Update overflow-3.vim https://www.w3.org/TR/2021/WD-css-overflow-3-20211223/ From b9921e5062588edfea447f0f97eda39e75b09015 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Tue, 28 Dec 2021 12:11:47 +0900 Subject: [PATCH 303/400] Update conditional-4.vim https://www.w3.org/TR/2021/WD-css-conditional-4-20211225/ From 05b11eb4a07dbf43e9a0e6534b569171641f7891 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Tue, 28 Dec 2021 12:12:33 +0900 Subject: [PATCH 304/400] Update syntax-3.vim https://www.w3.org/TR/2021/CRD-css-syntax-3-20211224/ From b8c1fa46237b06da863ce97adf13f1bd11012ea7 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Tue, 28 Dec 2021 12:14:03 +0900 Subject: [PATCH 305/400] Update align-3.vim https://www.w3.org/TR/2021/WD-css-align-3-20211224/ From 3d985232788e82314d5d6b1e2dd1c6d11d41f3d3 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Thu, 30 Dec 2021 08:04:46 +0900 Subject: [PATCH 306/400] 1.10.0 From 671f8ea57980fa252cba666eb619242a89bcf4bc Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Fri, 14 Jan 2022 08:06:50 +0900 Subject: [PATCH 307/400] Update cascade-4.vim https://www.w3.org/TR/2022/CR-css-cascade-4-20220113/ From ba1986d07daa6387f87e778a9cfb40d6dd6ebddd Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Fri, 14 Jan 2022 08:09:16 +0900 Subject: [PATCH 308/400] Update cascade-5.vim https://www.w3.org/TR/2022/CR-css-cascade-5-20220113/ From a60106e39bc0931d99eb1d001b0699cfcd2ff4e3 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Fri, 14 Jan 2022 08:09:32 +0900 Subject: [PATCH 309/400] Update conditional-3.vim https://www.w3.org/TR/2022/CR-css-conditional-3-20220113/ From 3c4f1d205724618dd7e2d3a0cb994af712aec63d Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Sat, 12 Feb 2022 07:55:42 +0900 Subject: [PATCH 310/400] Update color-adjust-1.vim https://www.w3.org/TR/2022/CR-css-color-adjust-1-20220210/ From 0e04cfbb09996c0e9a483b45496e75a7ec05c06d Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Sat, 19 Feb 2022 07:47:51 +0900 Subject: [PATCH 311/400] Update conditional-4.vim https://www.w3.org/TR/2022/CR-css-conditional-4-20220217/ From cb69880032b6b65966c6b61ee7f0ec81e7620440 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Thu, 3 Mar 2022 15:47:03 +0900 Subject: [PATCH 312/400] Update color-3.vim https://www.w3.org/TR/2022/REC-css-color-3-20220118/ From 9a24ae3c6f8353c95057c595d9008e85daa85e95 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Tue, 22 Mar 2022 08:01:24 +0900 Subject: [PATCH 313/400] Update text-4.vim https://www.w3.org/TR/2022/WD-css-text-4-20220318/ --- after/syntax/css/text-4.vim | 2 ++ test/test.css | 3 +++ 2 files changed, 5 insertions(+) diff --git a/after/syntax/css/text-4.vim b/after/syntax/css/text-4.vim index df3d9bf..062b8eb 100644 --- a/after/syntax/css/text-4.vim +++ b/after/syntax/css/text-4.vim @@ -3,6 +3,7 @@ syn match cssTextProp contained "\" syn match cssTextProp contained "\" syn match cssTextProp contained "\" syn match cssTextProp contained "\" +syn match cssTextProp contained "\" syn keyword cssTextAttr contained spread punctuation syn match cssTextAttr contained "\" syn match cssTextAttr contained "\" @@ -14,3 +15,4 @@ syn match cssTextAttr contained "\<\(trim\|space\)-\(start\|end\|adjacent\)\>" syn match cssTextAttr contained "\" syn match cssTextAttr contained "\" syn match cssTextAttr contained "\" +syn match cssTextAttr contained "\" diff --git a/test/test.css b/test/test.css index b1b7440..275aee6 100644 --- a/test/test.css +++ b/test/test.css @@ -1074,6 +1074,8 @@ view { text-group-align: auto; line-padding: auto; text-spacing: auto; + word-boundary-detection: auto; + word-boundary-expansion: auto; display: preserve-breaks; display: preserve-spaces; display: trim-inner; @@ -1095,6 +1097,7 @@ view { display: ideograph-alpha; display: ideograph-numeric; display: punctuation; + display: ideographic-space; } .text-decor-3 { From 090a873101305807365818fef59a81faa74ef1a0 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Sat, 30 Apr 2022 06:53:37 +0900 Subject: [PATCH 314/400] Update colors-4.vim https://www.w3.org/TR/2022/WD-css-color-4-20220428/ From 0318de664c255fef780800b7d4129c3141f01627 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Sat, 30 Apr 2022 06:53:52 +0900 Subject: [PATCH 315/400] Update colors-5.vim https://www.w3.org/TR/2022/WD-css-color-5-20220428/ From 77022dc970e75cfa29c8ea888f319db6a656ac02 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Thu, 5 May 2022 19:19:51 +0900 Subject: [PATCH 316/400] Update text-3.vim https://www.w3.org/TR/2022/CRD-css-text-3-20220505/ From 529d0f5c5a1f93d3fa2307a2331b3ef5a01ad8ad Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Thu, 5 May 2022 19:21:12 +0900 Subject: [PATCH 317/400] Update text-decor-3.vim https://www.w3.org/TR/2022/CRD-css-text-decor-3-20220505/ From 329a8f8bdfed24b4351e88772b69ede5eb736468 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Thu, 5 May 2022 19:26:38 +0900 Subject: [PATCH 318/400] Update text-4.vim https://www.w3.org/TR/2022/WD-css-text-4-20220505/ From 87283273b0cd2dded5ee0b629032f9a137e7eec5 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Mon, 9 May 2022 06:35:42 +0900 Subject: [PATCH 319/400] Update selectors-4.vim https://www.w3.org/TR/2022/WD-selectors-4-20220507/ --- after/syntax/css/selectors-4.vim | 6 ++++-- test/test.css | 13 ++++++++++++- 2 files changed, 16 insertions(+), 3 deletions(-) diff --git a/after/syntax/css/selectors-4.vim b/after/syntax/css/selectors-4.vim index 11834d7..35abf70 100644 --- a/after/syntax/css/selectors-4.vim +++ b/after/syntax/css/selectors-4.vim @@ -1,10 +1,12 @@ syn match cssSelectorOp "[|]" -syn keyword cssPseudoClassId contained scope current past future default valid required optional blank playing paused +syn keyword cssPseudoClassId contained scope current past future default valid required optional blank playing paused defined modal fullscreen seeking buffering stalled muted autofill syn match cssPseudoClassId contained "\<\(any\|local\)-link\>" syn match cssPseudoClassId contained "\" syn match cssPseudoClassId contained "\" syn match cssPseudoClassId contained "\<\(in\|out-of\)-range\>" -syn match cssPseudoClassId contained "\" +syn match cssPseudoClassId contained "\" syn match cssPseudoClassId contained "\" syn match cssPseudoClassId contained "\" +syn match cssPseudoClassId contained "\" +syn match cssPseudoClassId contained "\" syn region cssPseudoClassLang matchgroup=cssPseudoClassId start=":\(is\|dir\|local-link\|current\|nth\(-last\)\=-col\|has\|where\)(" end=")" oneline diff --git a/test/test.css b/test/test.css index 275aee6..010b757 100644 --- a/test/test.css +++ b/test/test.css @@ -869,7 +869,18 @@ mask { .selectors-4:playing, .selectors-4:paused, .selectors-4:has(> img), -.selectors-4:where(:not(:hover)) { +.selectors-4:where(:not(:hover)), +.selectors-4:defined, +.selectors-4:modal, +.selectors-4:fullscreen, +.selectors-4:picture-in-picture, +.selectors-4:seeking, +.selectors-4:buffering, +.selectors-4:stalled, +.selectors-4:muted, +.selectors-4:volume-locked, +.selectors-4:autofill, +.selectors-4:user-valid { display: auto; } From bbf675f5fd2562c08230e7c373252bd619ebe2f8 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Wed, 11 May 2022 10:41:56 +0900 Subject: [PATCH 320/400] Update will-change-1.vim https://www.w3.org/TR/2022/CRD-css-will-change-1-20220505/ From 5c104fcfeefeec71b9182b2c5ffb43bad1c16a37 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Wed, 11 May 2022 10:44:46 +0900 Subject: [PATCH 321/400] Update text-decor-4.vim https://www.w3.org/TR/2022/WD-css-text-decor-4-20220504/ From 158c39b3ee89d4b614bcc147196c12e6bdad83fb Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Wed, 11 May 2022 10:46:02 +0900 Subject: [PATCH 322/400] 1.10.1 From 60da01e45f0260c70a776f7bb30f4907688aefc7 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Tue, 21 Jun 2022 18:19:32 +0900 Subject: [PATCH 323/400] Update variables-1.vim https://www.w3.org/TR/2022/CR-css-variables-1-20220616/ From 3409476ae0e96887aa30e3caff9329cf7dc05317 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Thu, 30 Jun 2022 05:48:02 +0900 Subject: [PATCH 324/400] Update colot-4.vim https://www.w3.org/TR/2022/WD-css-color-4-20220628/ --- after/syntax/css/color-4.vim | 2 +- test/test.css | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/after/syntax/css/color-4.vim b/after/syntax/css/color-4.vim index 3f6bc51..9414efc 100644 --- a/after/syntax/css/color-4.vim +++ b/after/syntax/css/color-4.vim @@ -1,4 +1,4 @@ -syn keyword cssFontAttr contained perceptual +syn keyword cssFontAttr contained perceptual accentcolor accentcolortext syn match cssFontAttr contained "\<\(relative\|absolute\)-colorimetric\>" syn region cssFunction contained matchgroup=cssFunctionName start="\<\(hwb\|lab\|lch\|color\|device-cmyk\=\)\s*(" end=")" oneline keepend syn match cssFontDescriptor "@color-profile\>" nextgroup=cssFontDescriptorBlock skipwhite skipnl diff --git a/test/test.css b/test/test.css index 010b757..ae5f018 100644 --- a/test/test.css +++ b/test/test.css @@ -90,6 +90,8 @@ display: relative-colorimetric; display: absolute-colorimetric; display: perceptual; + display: accentcolor; + display: accentcolortext; } @color-profile swopc { From 2cbb2ddada6856a5f291b1631b1712d407b0c7c7 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Thu, 30 Jun 2022 05:49:28 +0900 Subject: [PATCH 325/400] Update color-5.vim https://www.w3.org/TR/2022/WD-css-color-5-20220628/ --- after/syntax/css/color-5.vim | 2 +- test/test.css | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/after/syntax/css/color-5.vim b/after/syntax/css/color-5.vim index 9146819..abbf399 100644 --- a/after/syntax/css/color-5.vim +++ b/after/syntax/css/color-5.vim @@ -1 +1 @@ -syn region cssFunction contained matchgroup=cssFunctionName start="\ Date: Sat, 20 Aug 2022 06:15:47 +0900 Subject: [PATCH 326/400] Update color-4.vim https://www.w3.org/TR/2022/CR-css-color-4-20220705/ From 124ed746cfa44acb7f13d688ec7dca7274d8f83a Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Sat, 20 Aug 2022 06:17:03 +0900 Subject: [PATCH 327/400] Update contain-3.vim https://www.w3.org/TR/2022/WD-css-contain-3-20220818/ From ef6498403da83013a89e7091b34adb49226fcd82 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Tue, 6 Sep 2022 06:31:07 +0900 Subject: [PATCH 328/400] Update position-3.vim https://www.w3.org/TR/2022/WD-css-position-3-20220901/ From 25d1b403472c53e4b0075509a9e553d2f38b3cb5 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Fri, 9 Sep 2022 06:40:15 +0900 Subject: [PATCH 329/400] Update web-animations-1.vim https://www.w3.org/TR/2022/WD-web-animations-1-20220908/ From b9a3a6df3eedb78fed7371f2d4714d4382a43050 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Mon, 19 Sep 2022 18:37:53 +0900 Subject: [PATCH 330/400] Update contain-2.vim https://www.w3.org/TR/2022/WD-css-contain-2-20220917/ From f6dde98e899927473aba1d30667391a181490ad6 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Mon, 10 Oct 2022 08:14:03 +0900 Subject: [PATCH 331/400] 1.10.2 From 4ad0cb7d7cc87e5ae8dd9240ee840fc97ed68102 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Sun, 17 Oct 2021 08:11:08 +0900 Subject: [PATCH 332/400] Follow runtime changes Vim 9.0 added a `-` to CSS keyword list. --- after/syntax/css/align-3.vim | 7 ++--- after/syntax/css/backgrounds-4.vim | 9 ++----- after/syntax/css/box-4.vim | 4 +-- after/syntax/css/break-4.vim | 2 +- after/syntax/css/cascade-5.vim | 2 +- after/syntax/css/color-4.vim | 3 +-- after/syntax/css/color-adjust-1.vim | 3 +-- after/syntax/css/compositing-1.vim | 3 +-- after/syntax/css/contain-2.vim | 2 +- after/syntax/css/content-3.vim | 3 +-- after/syntax/css/counter-styles-3.vim | 13 ++-------- after/syntax/css/cssom-view-1.vim | 2 +- after/syntax/css/device-adapt-1.vim | 2 +- after/syntax/css/display-3.vim | 3 +-- after/syntax/css/exclusions-3.vim | 3 +-- after/syntax/css/fill-stroke-3.vim | 7 ++--- after/syntax/css/filter-effects-1.vim | 5 +--- after/syntax/css/fonts-3.vim | 11 +------- after/syntax/css/fonts-4.vim | 18 ++----------- after/syntax/css/gcpm-3.vim | 5 ++-- after/syntax/css/grid-1.vim | 3 +-- after/syntax/css/html5.vim | 2 +- after/syntax/css/images-3.vim | 7 ++--- after/syntax/css/images-4.vim | 4 +-- after/syntax/css/inline-3.vim | 10 ++------ after/syntax/css/line-grid-1.vim | 7 ++--- after/syntax/css/lists-3.vim | 8 ++---- after/syntax/css/logical-1.vim | 5 +--- after/syntax/css/masking-1.vim | 10 +++----- after/syntax/css/motion-1.vim | 2 +- after/syntax/css/multicol-1.vim | 2 +- after/syntax/css/nav-1.vim | 2 +- after/syntax/css/overflow-3.vim | 7 +---- after/syntax/css/overscroll-1.vim | 2 +- after/syntax/css/page-floats-3.vim | 5 ++-- after/syntax/css/pointerevents.vim | 5 ++-- after/syntax/css/position-3.vim | 3 +-- after/syntax/css/properties-values-api-1.vim | 3 +-- after/syntax/css/pseudo-4.vim | 4 +-- after/syntax/css/regions-1.vim | 7 ++--- after/syntax/css/rhythm-1.vim | 3 +-- after/syntax/css/round-display-1.vim | 10 +++----- after/syntax/css/ruby-1.vim | 6 ++--- after/syntax/css/scoping-1.vim | 3 +-- after/syntax/css/scroll-anchoring-1.vim | 2 +- after/syntax/css/scroll-snap-1.vim | 3 +-- after/syntax/css/scrollbars-1.vim | 2 +- after/syntax/css/selectors-3.vim | 2 +- after/syntax/css/selectors-4.vim | 13 ++-------- after/syntax/css/shapes-1.vim | 5 ++-- after/syntax/css/sizing-3.vim | 2 -- after/syntax/css/sizing-4.vim | 5 ++-- after/syntax/css/speech-1.vim | 7 ++--- after/syntax/css/svg2.vim | 15 ++--------- after/syntax/css/text-3.vim | 10 ++------ after/syntax/css/text-4.vim | 20 ++------------- after/syntax/css/text-decor-3.vim | 2 +- after/syntax/css/text-decor-4.vim | 8 ++---- after/syntax/css/transforms-1.vim | 2 +- after/syntax/css/ui-3.vim | 2 +- after/syntax/css/ui-4.vim | 2 +- after/syntax/css/unofficials.vim | 5 +++- after/syntax/css/values-3.vim | 2 +- after/syntax/css/will-change-1.vim | 5 ++-- after/syntax/css/writing-modes-3.vim | 9 ++----- after/syntax/css/writing-modes-4.vim | 2 +- test/test.css | 27 +------------------- 67 files changed, 99 insertions(+), 280 deletions(-) diff --git a/after/syntax/css/align-3.vim b/after/syntax/css/align-3.vim index 632679e..cae51fa 100644 --- a/after/syntax/css/align-3.vim +++ b/after/syntax/css/align-3.vim @@ -1,5 +1,2 @@ -syn match cssFontProp contained "\" -syn match cssFontProp contained "\<\(row-\)\=gap\>" -syn keyword cssFontAttr contained safe unsafe legacy -syn match cssFontAttr contained "\" -syn match cssFontAttr contained "\" +syn keyword cssFontProp contained place-self place-content place-items row-gap +syn keyword cssFontAttr contained safe unsafe legacy self-start self-end diff --git a/after/syntax/css/backgrounds-4.vim b/after/syntax/css/backgrounds-4.vim index d58ee26..aabc29e 100644 --- a/after/syntax/css/backgrounds-4.vim +++ b/after/syntax/css/backgrounds-4.vim @@ -1,7 +1,2 @@ -syn keyword cssFontProp contained corners -syn match cssFontProp contained "\" -syn match cssFontProp contained "\" -syn match cssFontProp contained "\" -syn match cssFontProp contained "\" -syn keyword cssFontAttr contained bevel scoop notch -syn match cssFontAttr contained "\<\(x\|y\)-\(start\|end\)\>" +syn keyword cssFontProp contained background-position-x background-position-y background-position-inline background-position-block corners corner-shape border-limit border-clip border-clip-top border-clip-right border-clip-bottom border-clip-left +syn keyword cssFontAttr contained x-start x-end y-start y-end bevel scoop notch diff --git a/after/syntax/css/box-4.vim b/after/syntax/css/box-4.vim index f6771dd..f354c0a 100644 --- a/after/syntax/css/box-4.vim +++ b/after/syntax/css/box-4.vim @@ -1,2 +1,2 @@ -syn match cssBoxProp contained "\" -syn match cssBoxAttr contained "\" +syn keyword cssBoxProp contained margin-trim +syn keyword cssBoxAttr contained in-flow diff --git a/after/syntax/css/break-4.vim b/after/syntax/css/break-4.vim index 23bacaf..105ded4 100644 --- a/after/syntax/css/break-4.vim +++ b/after/syntax/css/break-4.vim @@ -1,2 +1,2 @@ -syn match cssBoxProp contained "\" +syn keyword cssBoxProp contained margin-break syn keyword cssFontAttr contained keep diff --git a/after/syntax/css/cascade-5.vim b/after/syntax/css/cascade-5.vim index 497fcb7..a675230 100644 --- a/after/syntax/css/cascade-5.vim +++ b/after/syntax/css/cascade-5.vim @@ -1 +1 @@ -syn match cssFontAttr contained "\" +syn keyword cssFontAttr contained revert-layer diff --git a/after/syntax/css/color-4.vim b/after/syntax/css/color-4.vim index 9414efc..88a38f2 100644 --- a/after/syntax/css/color-4.vim +++ b/after/syntax/css/color-4.vim @@ -1,4 +1,3 @@ -syn keyword cssFontAttr contained perceptual accentcolor accentcolortext -syn match cssFontAttr contained "\<\(relative\|absolute\)-colorimetric\>" +syn keyword cssFontAttr contained perceptual accentcolor accentcolortext relative-colorimetric absolute-colorimetric syn region cssFunction contained matchgroup=cssFunctionName start="\<\(hwb\|lab\|lch\|color\|device-cmyk\=\)\s*(" end=")" oneline keepend syn match cssFontDescriptor "@color-profile\>" nextgroup=cssFontDescriptorBlock skipwhite skipnl diff --git a/after/syntax/css/color-adjust-1.vim b/after/syntax/css/color-adjust-1.vim index 82339c3..41988a6 100644 --- a/after/syntax/css/color-adjust-1.vim +++ b/after/syntax/css/color-adjust-1.vim @@ -1,3 +1,2 @@ -syn match cssColorProp contained "\<\(forced-\|print-\)\=color-adjust\>" -syn match cssColorProp contained "\" +syn keyword cssColorProp contained forced-color-adjust print-color-adjust color-adjust color-scheme syn keyword cssFontAttr contained economy exact diff --git a/after/syntax/css/compositing-1.vim b/after/syntax/css/compositing-1.vim index 9a62e64..6bfa07a 100644 --- a/after/syntax/css/compositing-1.vim +++ b/after/syntax/css/compositing-1.vim @@ -1,3 +1,2 @@ -syn keyword cssFontProp contained isolation -syn match cssFontProp contained "\<\(mix\|background\)-blend-mode\>" +syn keyword cssFontProp contained isolation mix-blend-mode background-blend-mode syn keyword cssFontAttr contained multiply screen overlay darken lighten color-dodge color-burn hard-light soft-light difference exclusion hue saturation color luminosity diff --git a/after/syntax/css/contain-2.vim b/after/syntax/css/contain-2.vim index 62ad894..35099cc 100644 --- a/after/syntax/css/contain-2.vim +++ b/after/syntax/css/contain-2.vim @@ -1 +1 @@ -syn match cssFontProp contained "\" +syn keyword cssFontProp content-visibility diff --git a/after/syntax/css/content-3.vim b/after/syntax/css/content-3.vim index bb23459..5afec3a 100644 --- a/after/syntax/css/content-3.vim +++ b/after/syntax/css/content-3.vim @@ -1,4 +1,3 @@ -syn match cssGeneratedContentProp contained "\" -syn match cssGeneratedContentProp contained "\" +syn keyword cssGeneratedContentProp contained string-set bookmark-label bookmark-level bookmark-state syn keyword cssGeneratedContentAttr contained open closed syn region cssFunction contained matchgroup=cssFunctionName start="\<\(leader\|string\|target-\(counter\|counters\|text\)\)\s*(" end=")" oneline keepend diff --git a/after/syntax/css/counter-styles-3.vim b/after/syntax/css/counter-styles-3.vim index 83c3fa3..0edcbf4 100644 --- a/after/syntax/css/counter-styles-3.vim +++ b/after/syntax/css/counter-styles-3.vim @@ -1,13 +1,4 @@ -syn keyword cssGeneratedContentProp contained system negative prefix suffix range pad fallback -syn match cssGeneratedContentProp contained "\<\(additive-\)\=symbols\>" -syn match cssGeneratedContentProp contained "\" -syn keyword cssGeneratedContentAttr contained cyclic symbolic additive extends bullets numbers words bengali cambodian khmer devanagari gujarati gurmukhi kannada lao malayalam mongolian myanmar oriya persian tamil telugu thai tibetan -syn match cssGeneratedContentAttr contained "\<\(ethiopic-\)\=numeric\>" -syn match cssGeneratedContentAttr contained "\" -syn match cssGeneratedContentAttr contained "\<\(upper\|lower\)-armenian\>" -syn match cssGeneratedContentAttr contained "\" -syn match cssGeneratedContentAttr contained "\" -syn match cssGeneratedContentAttr contained "\<\(japanese\|korean-hanja\|\(simp\|trad\)-chinese\)-\(in\)\=formal\>" -syn match cssGeneratedContentAttr contained "\" +syn keyword cssGeneratedContentProp contained system negative prefix suffix range pad fallback additive-symbols symbols speak-as +syn keyword cssGeneratedContentAttr contained cyclic symbolic additive extends bullets numbers words bengali cambodian khmer devanagari gujarati gurmukhi kannada lao malayalam mongolian myanmar oriya persian tamil telugu thai tibetan ethiopic-numeric numeric arabic-indic upper-armenian lower-armenian cjk-decimal cjk-earthly-branch cjk-heavenly-stem disclosure-open disclosure-closed japanese-formal korean-hanja-formal simp-chinese-formal trad-chinese-formal japanese-informal korean-hanja-informal simp-chinese-informal trad-chinese-informal korean-hangul-formal syn region cssFunction contained matchgroup=cssFunctionName start="\" nextgroup=cssFontDescriptorBlock skipwhite skipnl diff --git a/after/syntax/css/cssom-view-1.vim b/after/syntax/css/cssom-view-1.vim index 83ed6ca..c7352a7 100644 --- a/after/syntax/css/cssom-view-1.vim +++ b/after/syntax/css/cssom-view-1.vim @@ -1,2 +1,2 @@ -syn match cssFontProp contained "\" +syn keyword cssFontProp contained scroll-behavior syn keyword cssFontAttr contained smooth diff --git a/after/syntax/css/device-adapt-1.vim b/after/syntax/css/device-adapt-1.vim index 476eb63..342fcb1 100644 --- a/after/syntax/css/device-adapt-1.vim +++ b/after/syntax/css/device-adapt-1.vim @@ -1,2 +1,2 @@ -syn match cssFontProp contained "\<\(min\|max\|user\)-zoom\>" +syn keyword cssFontProp contained min-zoom max-zoom user-zoom syn match cssFontDescriptor "@viewport\>" nextgroup=cssFontDescriptorBlock skipwhite skipnl diff --git a/after/syntax/css/display-3.vim b/after/syntax/css/display-3.vim index 7ea331b..9053234 100644 --- a/after/syntax/css/display-3.vim +++ b/after/syntax/css/display-3.vim @@ -1,3 +1,2 @@ syn keyword cssFontAttr contained contents discard -syn match cssBoxAttr contained "\" -syn match cssBoxAttr contained "\" +syn keyword cssBoxAttr contained run-in ruby ruby-base ruby-text diff --git a/after/syntax/css/exclusions-3.vim b/after/syntax/css/exclusions-3.vim index aa76079..364cdd4 100644 --- a/after/syntax/css/exclusions-3.vim +++ b/after/syntax/css/exclusions-3.vim @@ -1,3 +1,2 @@ -" TODO: create cssExclusionsProp group and cssExclusionsAttr group -syn match cssFontProp contained "\" +syn keyword cssFontProp contained wrap-flow wrap-through syn keyword cssFontAttr contained minimum maximum diff --git a/after/syntax/css/fill-stroke-3.vim b/after/syntax/css/fill-stroke-3.vim index f5d9faf..daac06b 100644 --- a/after/syntax/css/fill-stroke-3.vim +++ b/after/syntax/css/fill-stroke-3.vim @@ -1,5 +1,2 @@ -syn match cssFontProp contained "\<\(fill\|stroke\)\(-\(break\|color\|image\|origin\|position\|size\|repeat\|opacity\)\)\=\>" -syn match cssFontProp contained "\" -syn match cssFontProp contained "\" -syn keyword cssFontAttr contained butt arcs stupid compress dashes gaps -syn match cssFontAttr contained "\" +syn keyword cssFontProp contained fill stroke fill-break fill-color fill-image fill-origin fill-position fill-size fill-repeat fill-opacity stroke-break stroke-color stroke-image stroke-origin stroke-position stroke-size stroke-repeat stroke-opacity fill-rule stroke-width stroke-align stroke-linecap stroke-linejoin stroke-miterlimit stroke-dasharray stroke-dashoffset stroke-dash-corner stroke-dash-justify +syn keyword cssFontAttr contained butt arcs stupid compress dashes gaps bounding-box diff --git a/after/syntax/css/filter-effects-1.vim b/after/syntax/css/filter-effects-1.vim index 66a5296..44e521e 100644 --- a/after/syntax/css/filter-effects-1.vim +++ b/after/syntax/css/filter-effects-1.vim @@ -1,5 +1,2 @@ -syn match cssFontProp contained "\" -syn match cssFontProp contained "\" -syn match cssFontProp contained "\" +syn keyword cssFontProp contained flood-color flood-opacity color-interpolation-filters lighting-color syn keyword cssFontAttr sRGB linearRGB -syn region cssFunction contained matchgroup=cssFunctionName start="\<\(blur\|brightness\|contrast\|drop-shadow\|grayscale\|hue-rotate\|invert\|opacity\|saturate\|sepia\)\s*(" end=")" oneline keepend diff --git a/after/syntax/css/fonts-3.vim b/after/syntax/css/fonts-3.vim index 5bbfa49..c9ed02b 100644 --- a/after/syntax/css/fonts-3.vim +++ b/after/syntax/css/fonts-3.vim @@ -1,10 +1 @@ -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-\)\=contextual\>" -syn match cssFontAttr contained "\" -syn match cssFontAttr contained "\<\(all-\)\=petite-caps\>" -syn match cssFontAttr contained "\" -syn match cssFontAttr contained "\<\(lining\|oldstyle\|proportional\|tabular\)-nums\>" -syn match cssFontAttr contained "\<\(diagonal\|stacked\)-fractions\>" -syn match cssFontAttr contained "\" -syn match cssFontAttr contained "\" +syn keyword cssFontAttr contained unicase jis78 jis83 jis90 jis04 simplified traditional ordinal no-common-ligatures no-discretionary-ligatures no-historical-ligatures common-ligatures discretionary-ligatures historical-ligatures no-contextual contextual all-small-caps all-petite-caps petite-caps titling-caps lining-nums oldstyle-nums proportional-nums tabular-nums diagonal-fractions stacked-fractions proportional-width slashed-zero diff --git a/after/syntax/css/fonts-4.vim b/after/syntax/css/fonts-4.vim index 21f9e02..1f1b629 100644 --- a/after/syntax/css/fonts-4.vim +++ b/after/syntax/css/fonts-4.vim @@ -1,19 +1,5 @@ -syn match cssFontProp contained "\" -syn match cssFontProp contained "\" -syn match cssFontProp contained "\" -syn match cssFontProp contained "\<\(ascent\|descent\|line-gap\)-override\>" -syn match cssFontProp contained "\" -syn match cssFontProp contained "\" -syn match cssFontProp contained "\" -syn match cssFontProp contained "\" -syn match cssFontProp contained "\" -syn match cssFontProp contained "\" -syn match cssFontProp contained "\" -syn keyword cssFontAttr contained emoji math fangsong swap fallback light dark -syn match cssFontAttr contained "\" -syn match cssFontAttr contained "\" -syn match cssFontAttr contained "\" -syn match cssFontAttr contained "\" +syn keyword cssFontProp contained font-synthesis font-synthesis-weight font-synthesis-style font-synthesis-small-caps font-synthesis-settings font-named-instance font-display ascent-override descent-override line-gap-override font-optical-sizing font-variation-settings font-palette font-variant-emoji font-presentation base-palette override-color +syn keyword cssFontAttr contained emoji math fangsong swap fallback light dark contained system-ui contained ui-sans-serif ui-serif ui-monospace ui-rounded contained xxx-large contained historical-forms 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 diff --git a/after/syntax/css/gcpm-3.vim b/after/syntax/css/gcpm-3.vim index 1384742..a5d295f 100644 --- a/after/syntax/css/gcpm-3.vim +++ b/after/syntax/css/gcpm-3.vim @@ -1,5 +1,4 @@ -syn keyword cssGeneratedContentProp contained running -syn match cssGeneratedContentProp contained "\" +syn keyword cssGeneratedContentProp contained running footnote-display footnote-policy syn keyword cssGeneratedContentAttr contained footnote line syn region cssFunction contained matchgroup=cssFunctionName start="\<\(element\|running\)\s*(" end=")" oneline keepend -syn match cssPseudoClassId contained "\" +syn keyword cssPseudoClassId contained footnote-call footnote-marker diff --git a/after/syntax/css/grid-1.vim b/after/syntax/css/grid-1.vim index 1e75d5d..d66e89d 100644 --- a/after/syntax/css/grid-1.vim +++ b/after/syntax/css/grid-1.vim @@ -1,3 +1,2 @@ -syn keyword cssFontAttr contained dense span -syn match cssFontAttr contained "\" +syn keyword cssFontAttr contained dense span auto-flow syn region cssFunction contained matchgroup=cssFunctionName start="\<\(minmax\|repeat\)\s*(" end=")" oneline keepend diff --git a/after/syntax/css/html5.vim b/after/syntax/css/html5.vim index 6b3b3de..dfc0951 100644 --- a/after/syntax/css/html5.vim +++ b/after/syntax/css/html5.vim @@ -1 +1 @@ -syn keyword cssTagName picture rb rtc slot template +syn keyword cssTagName rb rtc slot template diff --git a/after/syntax/css/images-3.vim b/after/syntax/css/images-3.vim index 5db8d7a..94efdb2 100644 --- a/after/syntax/css/images-3.vim +++ b/after/syntax/css/images-3.vim @@ -1,6 +1,3 @@ -syn match cssFontProp contained "\" -syn match cssFontProp contained "\" -syn keyword cssFontAttr contained snap flip pixelated -syn match cssFontAttr contained "\" -syn match cssFontAttr contained "\" +syn keyword cssFontProp contained image-orientation +syn keyword cssFontAttr contained snap flip pixelated from-image syn region cssFunction contained matchgroup=cssFunctionName start="\<\(repeating-\(linear\|radial\)-gradient\)\s*(" end=")" oneline keepend diff --git a/after/syntax/css/images-4.vim b/after/syntax/css/images-4.vim index 8c3e7b5..76917db 100644 --- a/after/syntax/css/images-4.vim +++ b/after/syntax/css/images-4.vim @@ -1,2 +1,2 @@ -syn match cssFontProp contained "\" -syn region cssFunction contained matchgroup=cssFunctionName start="\<\(image\|element\|conic-gradient\)\s*(" end=")" oneline keepend +syn keyword cssFontProp contained image-resolution +syn region cssFunction contained matchgroup=cssFunctionName start="\<\(image\|element\)\s*(" end=")" oneline keepend diff --git a/after/syntax/css/inline-3.vim b/after/syntax/css/inline-3.vim index 8d6aeb0..b856a24 100644 --- a/after/syntax/css/inline-3.vim +++ b/after/syntax/css/inline-3.vim @@ -1,8 +1,2 @@ -syn match cssFontProp contained "\<\(dominant\|alignment\)-baseline\>" -syn match cssFontProp contained "\" -syn match cssFontProp contained "\" -syn match cssFontProp contained "\" -syn match cssFontProp contained "\" -syn match cssFontProp contained "\" -syn keyword cssFontAttr contained central mathematical leading cap ex drop raise -syn match cssFontAttr contained "\" +syn keyword cssFontProp contained dominant-baseline alignment-baseline baseline-shift baseline-source text-edge leading-trim inline-sizing initial-letter initial-letter-align initial-letter-wrap +syn keyword cssFontAttr contained central mathematical leading cap ex drop raise ideographic ideographic-ink diff --git a/after/syntax/css/line-grid-1.vim b/after/syntax/css/line-grid-1.vim index 78c3fe9..53f712e 100644 --- a/after/syntax/css/line-grid-1.vim +++ b/after/syntax/css/line-grid-1.vim @@ -1,5 +1,2 @@ -syn match cssFontProp contained "\" -syn keyword cssFontAttr contained create -syn match cssFontAttr contained "\" -syn match cssFontAttr contained "\<\(first\|last\)-baseline\>" +syn keyword cssFontProp contained line-grid line-snap box-snap +syn keyword cssFontAttr contained create block-start block-end first-baseline last-baseline diff --git a/after/syntax/css/lists-3.vim b/after/syntax/css/lists-3.vim index e62f46d..4380aa5 100644 --- a/after/syntax/css/lists-3.vim +++ b/after/syntax/css/lists-3.vim @@ -1,7 +1,3 @@ -" WD-css-lists-3-20190817 -syn match cssGeneratedContentProp contained "\" -syn match cssGeneratedContentProp contained "\" -syn keyword cssGeneratedContentAttr contained marker -syn match cssGeneratedContentAttr contained "\" -syn match cssGeneratedContentAttr contained "\" +syn keyword cssGeneratedContentProp contained marker-side counter-set +syn keyword cssGeneratedContentAttr contained marker contained match-self contained list-container syn region cssFunction contained matchgroup=cssFunctionName start="\" -syn match cssFontProp contained "\<\(margin\|padding\)\(-\(block\|inline\)\(-\(start\|end\)\)\=\)\=\>" -syn match cssFontProp contained "\" -syn match cssFontProp contained "\" +syn keyword cssFontProp contained block-size inline-size min-block-size min-inline-size max-block-size max-inline-size margin-block padding-block margin-block-start padding-block-start margin-block-end padding-block-end margin-inline padding-inline margin-inline-start padding-inline-start margin-inline-end padding-inline-end border-block border-inline border-block-start border-block-end border-inline-start border-inline-end border-block-width border-inline-width border-block-start-width border-block-end-width border-inline-start-width border-inline-end-width border-block-style border-inline-style border-block-start-style border-block-end-style border-inline-start-style border-inline-end-style border-block-color border-inline-color border-block-start-color border-block-end-color border-inline-start-color border-inline-end-color border-start-start-radius border-start-end-radius border-end-start-radius border-end-end-radius syn keyword cssFontAttr contained logical physical rotate diff --git a/after/syntax/css/masking-1.vim b/after/syntax/css/masking-1.vim index 224c9ba..bd6a22f 100644 --- a/after/syntax/css/masking-1.vim +++ b/after/syntax/css/masking-1.vim @@ -1,7 +1,3 @@ -syn match cssFontProp contained "\" -syn match cssFontProp contained "\" -syn match cssFontProp contained "\" -syn keyword cssFontAttr contained nonzero evenodd alpha luminance add subtract intersect exclude -syn match cssFontAttr contained "\<\(fill\|stroke\|view\)-box\>" -syn match cssFontAttr contained "\" -syn match cssTagName "\" +syn keyword cssFontProp contained clip-path clip-rule mask mask-image mask-mode mask-repeat mask-position mask-clip mask-origin mask-size mask-composite mask-type mask-border mask-border-source mask-border-mode mask-border-slice mask-border-width mask-border-outset mask-border-repeat +syn keyword cssFontAttr contained nonzero evenodd alpha luminance add subtract intersect exclude fill-box stroke-box view-box no-clip +syn keyword cssTagName mask diff --git a/after/syntax/css/motion-1.vim b/after/syntax/css/motion-1.vim index 454d463..548ecde 100644 --- a/after/syntax/css/motion-1.vim +++ b/after/syntax/css/motion-1.vim @@ -1,2 +1,2 @@ -syn match cssFontProp contained "\" +syn keyword cssFontProp contained offset offset-path offset-distance offset-position offset-anchor offset-rotate syn region cssFunction contained matchgroup=cssFunctionName start="\<\(ray\|path\)\s*(" end=")" oneline keepend diff --git a/after/syntax/css/multicol-1.vim b/after/syntax/css/multicol-1.vim index 1f08bb6..f05245f 100644 --- a/after/syntax/css/multicol-1.vim +++ b/after/syntax/css/multicol-1.vim @@ -1 +1 @@ -syn match cssFontAttr contained "\" +syn keyword cssFontAttr contained balance balance-all diff --git a/after/syntax/css/nav-1.vim b/after/syntax/css/nav-1.vim index 31c4c86..dc98c2e 100644 --- a/after/syntax/css/nav-1.vim +++ b/after/syntax/css/nav-1.vim @@ -1,2 +1,2 @@ -syn match cssFontProp contained "\" +syn keyword cssFontProp contained spatial-navigation-action spatial-navigation-contain spatial-navigation-function syn keyword cssFontAttr contained focus diff --git a/after/syntax/css/overflow-3.vim b/after/syntax/css/overflow-3.vim index d0ead52..104f67e 100644 --- a/after/syntax/css/overflow-3.vim +++ b/after/syntax/css/overflow-3.vim @@ -1,6 +1 @@ -syn keyword cssFontProp contained continue -syn match cssFontProp contained "\" -syn match cssFontProp contained "\" -syn match cssFontProp contained "\" -syn match cssFontProp contained "\" -syn match cssFontProp contained "\" +syn keyword cssFontProp contained continue overflow-clip-margin overflow-block overflow-inline scrollbar-gutter block-ellipsis line-clamp max-lines diff --git a/after/syntax/css/overscroll-1.vim b/after/syntax/css/overscroll-1.vim index c066b70..767119d 100644 --- a/after/syntax/css/overscroll-1.vim +++ b/after/syntax/css/overscroll-1.vim @@ -1 +1 @@ -syn match cssFontProp contained "\" +syn keyword cssFontProp contained overscroll-behavior overscroll-behavior-block overscroll-behavior-inline overscroll-behavior-x overscroll-behavior-y diff --git a/after/syntax/css/page-floats-3.vim b/after/syntax/css/page-floats-3.vim index 3473672..d5d360c 100644 --- a/after/syntax/css/page-floats-3.vim +++ b/after/syntax/css/page-floats-3.vim @@ -1,4 +1,3 @@ -syn match cssPositioningProp contained "\" -syn match cssPositioningAttr contained "\" -syn match cssPositioningAttr contained "\" +syn keyword cssPositioningProp contained float-reference float-defer float-offset +syn keyword cssPositioningAttr contained inline-start inline-end snap-block snap-inline syn region cssURL contained matchgroup=cssFunctionName start="\" -syn keyword cssFontAttr contained manipulation -syn match cssFontAttr contained "\" +syn keyword cssFontProp contained touch-action +syn keyword cssFontAttr contained manipulation pan-x pan-y diff --git a/after/syntax/css/position-3.vim b/after/syntax/css/position-3.vim index 58daa30..120324e 100644 --- a/after/syntax/css/position-3.vim +++ b/after/syntax/css/position-3.vim @@ -1,2 +1 @@ -syn match cssFontProp contained "\" -syn keyword cssFontAttr contained sticky +syn keyword cssFontProp contained inset inset-block inset-inline inset-block-start inset-block-end inset-inline-start inset-inline-end diff --git a/after/syntax/css/properties-values-api-1.vim b/after/syntax/css/properties-values-api-1.vim index 48f3104..bdae428 100644 --- a/after/syntax/css/properties-values-api-1.vim +++ b/after/syntax/css/properties-values-api-1.vim @@ -1,2 +1 @@ -syn keyword cssFontProp contained syntax inherits -syn match cssFontProp contained "\" +syn keyword cssFontProp contained syntax inherits initial-value diff --git a/after/syntax/css/pseudo-4.vim b/after/syntax/css/pseudo-4.vim index 06911f3..d023e9d 100644 --- a/after/syntax/css/pseudo-4.vim +++ b/after/syntax/css/pseudo-4.vim @@ -1,3 +1 @@ -syn match cssPseudoClassId contained "\" -syn match cssPseudoClassId contained "\<\(spelling\|grammer\)-error\>" -syn match cssPseudoClassId contained "\" +syn keyword cssPseudoClassId contained target-text spelling-error grammer-error file-selectors-button diff --git a/after/syntax/css/regions-1.vim b/after/syntax/css/regions-1.vim index 5d7791e..1e27e38 100644 --- a/after/syntax/css/regions-1.vim +++ b/after/syntax/css/regions-1.vim @@ -1,6 +1,3 @@ -" TODO: create cssRegionsProp group and cssRegionsAttr group -syn match cssFontProp contained "\" -syn match cssFontProp contained "\" -syn keyword cssFontAttr contained element content break -syn match cssFontAttr contained "\<\(avoid-\)\=region\>" +syn keyword cssFontProp contained flow-into flow-from region-fragment +syn keyword cssFontAttr contained element content break avoid-region region syn keyword cssPseudoClassId contained region diff --git a/after/syntax/css/rhythm-1.vim b/after/syntax/css/rhythm-1.vim index 4c884c8..4e8555e 100644 --- a/after/syntax/css/rhythm-1.vim +++ b/after/syntax/css/rhythm-1.vim @@ -1,3 +1,2 @@ -syn match cssFontProp contained "\" -syn match cssFontProp contained "\" +syn keyword cssFontProp contained line-height-step block-step block-step-size block-step-insert block-step-align block-step-round syn keyword cssFontAttr contained margin up down nearest diff --git a/after/syntax/css/round-display-1.vim b/after/syntax/css/round-display-1.vim index 73c93b0..f62b109 100644 --- a/after/syntax/css/round-display-1.vim +++ b/after/syntax/css/round-display-1.vim @@ -1,7 +1,3 @@ -syn match cssFontProp contained "\" -syn match cssFontProp contained "\" -syn match cssFontProp contained "\" -syn keyword cssFontAttr contained parent polar -syn match cssFontAttr contained "\" -syn match cssFontAttr contained "\" -syn match cssMediaProp contained /device-radius/ +syn keyword cssFontProp contained shape-inside border-boundary polar-angle polar-distance +syn keyword cssFontAttr contained parent polar contained outside-shape contained shape-box +syn keyword cssMediaProp contained device-radius diff --git a/after/syntax/css/ruby-1.vim b/after/syntax/css/ruby-1.vim index 7cc9285..920e69b 100644 --- a/after/syntax/css/ruby-1.vim +++ b/after/syntax/css/ruby-1.vim @@ -1,4 +1,2 @@ -syn match cssFontProp contained "\" -syn match cssFontAttr contained "\" +syn keyword cssFontProp contained merge ruby-position ruby-merge ruby-align ruby-overhang +syn keyword cssFontAttr contained ruby-base-container ruby-text-container inter-character diff --git a/after/syntax/css/scoping-1.vim b/after/syntax/css/scoping-1.vim index 534e7d7..07b8893 100644 --- a/after/syntax/css/scoping-1.vim +++ b/after/syntax/css/scoping-1.vim @@ -1,5 +1,4 @@ -syn keyword cssPseudoClassId contained host shadow content -syn match cssPseudoClassId contained "\<\(scope\|host\)-context\>" +syn keyword cssPseudoClassId contained host shadow content scope-context host-context syn region cssPseudoClassLang matchgroup=cssPseudoClassId start=":\(host\)(" end=")" oneline syn match cssSelectorOp2 "/deep/" syn match cssFontDescriptor "@scope\>" nextgroup=cssFontDescriptorBlock skipwhite skipnl diff --git a/after/syntax/css/scroll-anchoring-1.vim b/after/syntax/css/scroll-anchoring-1.vim index 7285d4c..d5bba0c 100644 --- a/after/syntax/css/scroll-anchoring-1.vim +++ b/after/syntax/css/scroll-anchoring-1.vim @@ -1 +1 @@ -syn match cssFontProp contained "\" +syn keyword cssFontProp contained overflow-anchor diff --git a/after/syntax/css/scroll-snap-1.vim b/after/syntax/css/scroll-snap-1.vim index 77f654c..44c0052 100644 --- a/after/syntax/css/scroll-snap-1.vim +++ b/after/syntax/css/scroll-snap-1.vim @@ -1,3 +1,2 @@ -syn match cssFontProp contained "\" -syn match cssFontProp contained "\" +syn keyword cssFontProp contained scroll-snap-type scroll-snap-align scroll-snap-stop scroll-padding scroll-margin scroll-padding-top scroll-padding-right scroll-padding-bottom scroll-padding-left scroll-padding-inline-start scroll-padding-block-start scroll-padding-inline-end scroll-padding-block-end scroll-padding-block scroll-padding-inline scroll-margin-top scroll-margin-right scroll-margin-bottom scroll-margin-left scroll-margin-inline-start scroll-margin-block-start scroll-margin-inline-end scroll-margin-block-end scroll-margin-block scroll-margin-inline syn keyword cssFontAttr contained x y mandatory proximity diff --git a/after/syntax/css/scrollbars-1.vim b/after/syntax/css/scrollbars-1.vim index 6d50b13..032c303 100644 --- a/after/syntax/css/scrollbars-1.vim +++ b/after/syntax/css/scrollbars-1.vim @@ -1 +1 @@ -syn match cssFontProp contained "\" +syn keyword cssFontProp contained scrollbar-color scrollbar-width diff --git a/after/syntax/css/selectors-3.vim b/after/syntax/css/selectors-3.vim index d6b3c6a..6676b62 100644 --- a/after/syntax/css/selectors-3.vim +++ b/after/syntax/css/selectors-3.vim @@ -1,2 +1,2 @@ -syn keyword cssPseudoClassId contained enabled indeterminate +syn keyword cssPseudoClassId contained indeterminate syn region cssPseudoClassLang matchgroup=cssPseudoClassId start=":\(nth\(-last\)\=-\(child\|of-type\)\|not\)(" end=")" oneline diff --git a/after/syntax/css/selectors-4.vim b/after/syntax/css/selectors-4.vim index 35abf70..e22b43f 100644 --- a/after/syntax/css/selectors-4.vim +++ b/after/syntax/css/selectors-4.vim @@ -1,12 +1,3 @@ syn match cssSelectorOp "[|]" -syn keyword cssPseudoClassId contained scope current past future default valid required optional blank playing paused defined modal fullscreen seeking buffering stalled muted autofill -syn match cssPseudoClassId contained "\<\(any\|local\)-link\>" -syn match cssPseudoClassId contained "\" -syn match cssPseudoClassId contained "\" -syn match cssPseudoClassId contained "\<\(in\|out-of\)-range\>" -syn match cssPseudoClassId contained "\" -syn match cssPseudoClassId contained "\" -syn match cssPseudoClassId contained "\" -syn match cssPseudoClassId contained "\" -syn match cssPseudoClassId contained "\" -syn region cssPseudoClassLang matchgroup=cssPseudoClassId start=":\(is\|dir\|local-link\|current\|nth\(-last\)\=-col\|has\|where\)(" end=")" oneline +syn keyword cssPseudoClassId contained scope current past future default valid required optional blank playing paused any-link local-link read-only read-write placeholder-shown in-range out-of-range user-invalid user-valid target-within defined modal fullscreen picture-in-picture seeking buffering stalled muted volume-locked autofill +syn region cssPseudoClassLang matchgroup=cssPseudoClassId start=":\(dir\|local-link\|current\|nth\(-last\)\=-col\|has\|where\)(" end=")" oneline diff --git a/after/syntax/css/shapes-1.vim b/after/syntax/css/shapes-1.vim index 1b7eef1..11e74e3 100644 --- a/after/syntax/css/shapes-1.vim +++ b/after/syntax/css/shapes-1.vim @@ -1,4 +1,3 @@ -" TODO: create cssShapesProp group and cssShapesAttr group -syn match cssFontProp contained "\" -syn match cssFontAttr contained "\" +syn keyword cssFontProp contained shape-outside shape-image-threshold shape-margin +syn keyword cssFontAttr contained margin-box syn region cssFunction contained matchgroup=cssFunctionName start="\<\(inset\|circle\|ellipse\|polygon\)\s*(" end=")" oneline keepend diff --git a/after/syntax/css/sizing-3.vim b/after/syntax/css/sizing-3.vim index 4dd6b68..e69de29 100644 --- a/after/syntax/css/sizing-3.vim +++ b/after/syntax/css/sizing-3.vim @@ -1,2 +0,0 @@ -syn match cssFontAttr contained "\<\(\(min\|max\)-content\)\>" -syn region cssFunction contained matchgroup=cssFunctionName start="\<\(fit-content\)\s*(" end=")" oneline keepend diff --git a/after/syntax/css/sizing-4.vim b/after/syntax/css/sizing-4.vim index d0812af..e8aeb90 100644 --- a/after/syntax/css/sizing-4.vim +++ b/after/syntax/css/sizing-4.vim @@ -1,3 +1,2 @@ -syn match cssFontProp contained "\" -syn match cssFontProp contained "\" -syn match cssFontAttr contained "\" +syn keyword cssFontProp contained contain-intrinsic-size min-intrinsic-sizing +syn keyword cssFontAttr contained zero-if-scroll zero-if-extrinsic diff --git a/after/syntax/css/speech-1.vim b/after/syntax/css/speech-1.vim index 0de3014..27473fe 100644 --- a/after/syntax/css/speech-1.vim +++ b/after/syntax/css/speech-1.vim @@ -1,6 +1,3 @@ -syn match cssAuralProp contained "\" -syn match cssAuralProp contained "\" -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 keyword cssAuralProp contained voice-volume voice-balance voice-rate voice-pitch voice-range voice-stress voice-duration rest rest-before rest-after +syn keyword cssAuralAttr contained young old neutral preserve moderate reduced literal-punctuation no-punctuation weak x-weak strong x-strong syn match cssValueNumber contained "[-+]\=\d\+\(dB\|st\)" diff --git a/after/syntax/css/svg2.vim b/after/syntax/css/svg2.vim index aca86c9..90eb756 100644 --- a/after/syntax/css/svg2.vim +++ b/after/syntax/css/svg2.vim @@ -1,15 +1,4 @@ syn keyword cssTagName animate animateMotion animateTransform circle clipPath cursor defs desc discard ellipse feBlend feColorMatrix feComponentTransfer feComposite feConvolveMatrix feDiffuseLighting feDisplacementMap feDistantLight feDropShadow feFlood feFuncA feFuncB feFuncG feFuncR feGaussianBlur feImage feMerge feMergeNode feMorphology feOffset fePointLight feSpecularLighting feSpotLight feTile feTurbulence filter foreignObject g hatch hatchpath image line linearGradient marker mesh meshgradient meshpatch meshrow metadata mpath path pattern polygon polyline radialGradient rect set solidcolor stop switch symbol text textPath tspan unknown use view -syn keyword cssFontProp contained cx cy d r rx ry x y -syn match cssFontProp contained "\" -syn match cssFontProp contained "\" -syn match cssFontProp contained "\" -syn match cssFontProp contained "\" -syn match cssFontProp contained "\" -syn match cssFontProp contained "\" -syn match cssFontProp contained "\" -syn keyword cssFontAttr contained crispEdges geometricPrecision optimizeQuality viewport -syn match cssFontAttr contained "\" -syn match cssFontAttr contained "\" -syn match cssFontAttr contained "\" -syn match cssFontAttr contained "\" +syn keyword cssFontProp contained cx cy d r rx ry x y color-interpolation color-rendering marker-end marker-mid marker-start shape-rendering solid-color solid-opacity stop-color stop-opacity text-anchor vector-effect +syn keyword cssFontAttr contained crispEdges geometricPrecision optimizeQuality viewport context-fill context-stroke fixed-position miter miter-clip non-scaling-stroke non-scaling-size non-rotation syn region cssFunction contained matchgroup=cssFunctionName start="\<\(child\|icc-color\)\s*(" end=")" oneline keepend diff --git a/after/syntax/css/text-3.vim b/after/syntax/css/text-3.vim index 2df6a23..f303d03 100644 --- a/after/syntax/css/text-3.vim +++ b/after/syntax/css/text-3.vim @@ -1,8 +1,2 @@ -syn match cssTextProp contained "\" -syn match cssTextProp contained "\" -syn keyword cssTextAttr contained loose strict hanging anywhere -syn match cssTextAttr contained "\" -syn match cssTextAttr contained "\" -syn match cssTextAttr contained "\" -syn match cssTextAttr contained "\" -syn match cssTextAttr contained "\" +syn keyword cssTextProp contained tab-size text-align-all +syn keyword cssTextAttr contained loose strict hanging anywhere match-parent each-line full-width justify-all break-spaces diff --git a/after/syntax/css/text-4.vim b/after/syntax/css/text-4.vim index 062b8eb..798b344 100644 --- a/after/syntax/css/text-4.vim +++ b/after/syntax/css/text-4.vim @@ -1,18 +1,2 @@ -syn match cssTextProp contained "\" -syn match cssTextProp contained "\" -syn match cssTextProp contained "\" -syn match cssTextProp contained "\" -syn match cssTextProp contained "\" -syn match cssTextProp contained "\" -syn keyword cssTextAttr contained spread punctuation -syn match cssTextAttr contained "\" -syn match cssTextAttr contained "\" -syn match cssTextAttr contained "\" -syn match cssTextAttr contained "\" -syn match cssTextAttr contained "\" -syn match cssTextAttr contained "\" -syn match cssTextAttr contained "\<\(trim\|space\)-\(start\|end\|adjacent\)\>" -syn match cssTextAttr contained "\" -syn match cssTextAttr contained "\" -syn match cssTextAttr contained "\" -syn match cssTextAttr contained "\" +syn keyword cssTextProp contained text-space-collapse text-space-trim text-wrap text-spacing text-group-align wrap-before wrap-after wrap-inside hyphenate-character hyphenate-limit-zone hyphenate-limit-chars hyphenate-limit-lines hyphenate-limit-last line-padding word-boundary-detection word-boundary-expansion +syn keyword cssTextAttr contained spread punctuation preserve-breaks preserve-spaces trim-inner discard-before discard-after avoid-line avoid-flex pre-wrap-auto no-limit trim-start trim-end trim-adjacent space-start space-end space-adjacent space-first no-compress ideograph-alpha ideograph-numeric ideographic-space diff --git a/after/syntax/css/text-decor-3.vim b/after/syntax/css/text-decor-3.vim index 79a186c..bd966a2 100644 --- a/after/syntax/css/text-decor-3.vim +++ b/after/syntax/css/text-decor-3.vim @@ -1,2 +1,2 @@ -syn match cssTextProp contained "\" +syn keyword cssTextProp contained text-decoration-color text-decoration-line text-decoration-style text-emphasis text-emphasis-color text-emphasis-position text-emphasis-style syn keyword cssTextAttr contained wavy alphabetic ink under filled dot triangle sesame over diff --git a/after/syntax/css/text-decor-4.vim b/after/syntax/css/text-decor-4.vim index 5e7da86..c506a82 100644 --- a/after/syntax/css/text-decor-4.vim +++ b/after/syntax/css/text-decor-4.vim @@ -1,6 +1,2 @@ -syn match cssTextProp contained "\" -syn keyword cssTextAttr contained objects edges symbols narrow -syn match cssTextAttr contained "\<\(spelling\|grammer\)-error\>" -syn match cssTextAttr contained "\" -syn match cssTextAttr contained "\<\(\(leading\|trailing\)-\)\=spaces\>" -syn match cssTextAttr contained "\" +syn keyword cssTextProp contained text-decoration-thickness text-underline-offset text-decoration-skip text-decoration-skip-ink text-emphasis-skip +syn keyword cssTextAttr contained objects edges symbols narrow spelling-error grammer-error from-font spaces leading-spaces trailing-spaces box-decoration diff --git a/after/syntax/css/transforms-1.vim b/after/syntax/css/transforms-1.vim index 1969b72..7f41d37 100644 --- a/after/syntax/css/transforms-1.vim +++ b/after/syntax/css/transforms-1.vim @@ -1 +1 @@ -syn match cssFontProp contained "\" +syn keyword cssFontProp contained transform-box diff --git a/after/syntax/css/ui-3.vim b/after/syntax/css/ui-3.vim index 7f966d2..3f12565 100644 --- a/after/syntax/css/ui-3.vim +++ b/after/syntax/css/ui-3.vim @@ -1,2 +1,2 @@ -syn match cssUIProp contained "\" +syn keyword cssUIProp contained caret-color syn keyword cssUIAttr contained grab grabbing diff --git a/after/syntax/css/ui-4.vim b/after/syntax/css/ui-4.vim index 4d92916..cebc219 100644 --- a/after/syntax/css/ui-4.vim +++ b/after/syntax/css/ui-4.vim @@ -1,3 +1,3 @@ -syn match cssUIProp contained "\" +syn keyword cssUIProp contained caret caret-shape syn keyword cssUIAttr contained fade underscore syn region cssFunction contained matchgroup=cssFunctionName start="\" +" https://drafts.fxtf.org/filter-effects-2/ +syn keyword cssFontProp contained backdrop-filter + +" https://drafts.csswg.org/css-env-1/ syn region cssFunction contained matchgroup=cssFunctionName start="\" -syn match cssFontAttr contained "\" +syn keyword cssFontProp contained will-change +syn keyword cssFontAttr contained scroll-position diff --git a/after/syntax/css/writing-modes-3.vim b/after/syntax/css/writing-modes-3.vim index d8ce9e3..b52086e 100644 --- a/after/syntax/css/writing-modes-3.vim +++ b/after/syntax/css/writing-modes-3.vim @@ -1,7 +1,2 @@ -syn match cssFontProp contained "\" -syn match cssFontProp contained "\" -syn match cssFontProp contained "\" -syn keyword cssFontAttr contained before after mixed upright plaintext sideways -syn match cssFontAttr contained "\" -syn match cssFontAttr contained "\" -syn match cssFontAttr contained "\" +syn keyword cssFontProp contained writing-mode text-orientation text-combine-upright glyph-orientation-vertical +syn keyword cssFontAttr contained before after mixed upright plaintext sideways isolate isolate-override horizontal-tb vertical-rl vertical-lr diff --git a/after/syntax/css/writing-modes-4.vim b/after/syntax/css/writing-modes-4.vim index 0dc6082..d149725 100644 --- a/after/syntax/css/writing-modes-4.vim +++ b/after/syntax/css/writing-modes-4.vim @@ -1 +1 @@ -syn match cssFontAttr contained "\" +syn keyword cssFontAttr contained sideways-rl sideways-lr diff --git a/test/test.css b/test/test.css index 79f7735..a94cefc 100644 --- a/test/test.css +++ b/test/test.css @@ -3,12 +3,10 @@ place-content: auto; place-items: auto; row-gap: auto; - gap: auto; display: safe; display: unsafe; display: self-start; display: self-end; - display: space-evenly; display: legacy; } @@ -324,16 +322,6 @@ lighting-color: auto; display: sRGB; display: linearRGB; - display: blur(5px); - display: brightness(0.4); - display: contrast(200%); - display: drop-shadow(16px 16px 20px blue); - display: grayscale(50%); - display: hue-rotate(90deg); - display: invert(75%); - display: opacity(25%); - display: saturate(30%); - display: sepia(60%); } .flexbox-1 { @@ -456,7 +444,6 @@ } .html5, -picture, rb, rtc, slot, @@ -465,12 +452,9 @@ template { } .images-3 { - object-fit: auto; - object-position: auto; image-orientation: auto; display: snap; display: flip; - display: scale-down; display: from-image; display: pixelated; display: repeating-linear-gradient(to bottom, yellow, blue); @@ -481,7 +465,6 @@ template { image-resolution: auto; display: image("sprite.svg#xywh=40,0,20,20"); display: element(#test); - display: conic-gradient(at 25% 30%, white, black 60%); } .inline-3 { @@ -705,7 +688,6 @@ mask { inset-block: auto; inset-inline: auto; inset: auto; - display: sticky; } .properties-values-api-1 { @@ -830,7 +812,6 @@ mask { scrollbar-width: auto; } -.selectors-3:enabled, .selectors-3:indeterminate, .selectors-3:nth-child(2n+1), .selectors-3:nth-last-child(-n+2), @@ -858,15 +839,12 @@ mask { .selectors-4:in-range, .selectors-4:out-of-range, .selectors-4:user-invalid, -.selectors-4:is(:hover, :focus), .selectors-4:dir(ltr), .selectors-4:local-link(0), .selectors-4:current(p, li, dt, dd), .selectors-4:nth-col(2n+1), .selectors-4:nth-last-col(-n+2), .selectors-4:target-within, -.selectors-4:focus-within, -.selectors-4:focus-visible, .selectors-4:playing, .selectors-4:paused, .selectors-4:has(> img), @@ -901,9 +879,7 @@ mask { } .sizing-3 { - display: max-content; - display: min-content; - display: fit-content(10%); + display: auto; } .sizing-4 { @@ -1194,7 +1170,6 @@ view { } .values-3 { - display: 1ch; display: 1q; display: 1turn; } From 0148041aaca1d729767453cdd5c5bbf0420dc1ca Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Tue, 4 Oct 2022 16:40:36 +0900 Subject: [PATCH 333/400] Update README --- README.md | 25 ++++--------------------- 1 file changed, 4 insertions(+), 21 deletions(-) diff --git a/README.md b/README.md index 63858ee..0b861df 100644 --- a/README.md +++ b/README.md @@ -8,8 +8,9 @@ CSS3 syntax (and syntax defined in some foreign specifications) support for INSTALLATION ------------ -I **strongly** recommend to install this plugin on *Vim 8.2 or higher with -default runtime files*. +This version is compatible with **Vim 9.0 or higher** with default runtime +files. If you still use Vim 8.x, you must use [older version][2] of this +plug-in. ### Vim package @@ -34,25 +35,6 @@ to your `~/.vim` directory. NOTES ----- -### Highlighting problems on: `vertical-align`, `box-shadow`, and others - -Some properties do not highlight correctly by default. This is a limitation of -Vim’s highlight priority mechanism. To fix this problems, put following lines -in your `~/.vim/after/css.vim`: - - setlocal iskeyword+=- - -Or in your `~/.vimrc`: - - augroup VimCSS3Syntax - autocmd! - - autocmd FileType css setlocal iskeyword+=- - augroup END - -This setting have side effects. So, use it at your own risk. - - ### Vendor Prefixes I do not plan to support CSS3 properties (or functions) with vendor prefixes, @@ -93,3 +75,4 @@ MIT [1]: http://www.vim.org/ +[2]: https://github.com/hail2u/vim-css3-syntax/releases/tag/v1.10.2 From f4925aa8e408a35d1df1967d4144bd66065d54da Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Thu, 27 Oct 2022 07:51:32 +0900 Subject: [PATCH 334/400] Add scroll-animations-1.vim https://www.w3.org/TR/2022/WD-scroll-animations-1-20221025/ --- after/syntax/css/scroll-animations-1.vim | 2 ++ test/test.css | 15 +++++++++++++++ 2 files changed, 17 insertions(+) create mode 100644 after/syntax/css/scroll-animations-1.vim diff --git a/after/syntax/css/scroll-animations-1.vim b/after/syntax/css/scroll-animations-1.vim new file mode 100644 index 0000000..27438ac --- /dev/null +++ b/after/syntax/css/scroll-animations-1.vim @@ -0,0 +1,2 @@ +syn keyword cssFontProp contained scroll-timeline-name scroll-timeline-axis scroll-timeline view-timeline-name view-timeline-axis view-timeline-inset view-timeline animation-range animation-delay-start animation-delay-end +syn keyword cssFontAttr contained entry exit diff --git a/test/test.css b/test/test.css index a94cefc..01e5b02 100644 --- a/test/test.css +++ b/test/test.css @@ -775,6 +775,21 @@ mask { overflow-anchor: auto; } +.scroll-animations-1 { + scroll-timeline-name: auto; + scroll-timeline-axis: auto; + scroll-timeline: auto; + view-timeline-name: auto; + view-timeline-axis: auto; + view-timeline-inset: auto; + view-timeline: auto; + animation-range: auto; + animation-delay-start: auto; + animation-delay-end: auto; + display: entry; + display: exit; +} + .scroll-snap-1 { scroll-snap-type: auto; scroll-padding: auto; From 803765eb474d45dad8c8d67b0d09ab1769e4544e Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Thu, 27 Oct 2022 07:55:57 +0900 Subject: [PATCH 335/400] Add view-transitions-1.vim https://www.w3.org/TR/2022/WD-css-view-transitions-1-20221025/ --- after/syntax/css/view-transitions-1.vim | 1 + test/test.css | 4 ++++ 2 files changed, 5 insertions(+) create mode 100644 after/syntax/css/view-transitions-1.vim diff --git a/after/syntax/css/view-transitions-1.vim b/after/syntax/css/view-transitions-1.vim new file mode 100644 index 0000000..96089f4 --- /dev/null +++ b/after/syntax/css/view-transitions-1.vim @@ -0,0 +1 @@ +syn keyword cssFontProp contained page-transition-tag diff --git a/test/test.css b/test/test.css index 01e5b02..de5a142 100644 --- a/test/test.css +++ b/test/test.css @@ -1246,6 +1246,10 @@ view { display: auto; } +.view-transitions-1 { + page-transition-tag: auto; +} + .web-animations-1 { display: auto; } From 5dc940911d5871707c2bbb0c589c2ccc992e12c5 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Thu, 3 Nov 2022 07:32:28 +0900 Subject: [PATCH 336/400] Update color-4.vim and color-5.vim https://www.w3.org/TR/2022/CRD-css-color-4-20221101/ --- after/syntax/css/color-4.vim | 5 ++--- after/syntax/css/color-5.vim | 5 ++++- test/test.css | 19 +++++++++++-------- 3 files changed, 17 insertions(+), 12 deletions(-) diff --git a/after/syntax/css/color-4.vim b/after/syntax/css/color-4.vim index 88a38f2..8f63b6b 100644 --- a/after/syntax/css/color-4.vim +++ b/after/syntax/css/color-4.vim @@ -1,3 +1,2 @@ -syn keyword cssFontAttr contained perceptual accentcolor accentcolortext relative-colorimetric absolute-colorimetric -syn region cssFunction contained matchgroup=cssFunctionName start="\<\(hwb\|lab\|lch\|color\|device-cmyk\=\)\s*(" end=")" oneline keepend -syn match cssFontDescriptor "@color-profile\>" nextgroup=cssFontDescriptorBlock skipwhite skipnl +syn keyword cssFontAttr contained accentcolor accentcolortext +syn region cssFunction contained matchgroup=cssFunctionName start="\<\(hwb\|lab\|lch\|oklab\|oklch\|color\=\)\s*(" end=")" oneline keepend diff --git a/after/syntax/css/color-5.vim b/after/syntax/css/color-5.vim index abbf399..ae741ba 100644 --- a/after/syntax/css/color-5.vim +++ b/after/syntax/css/color-5.vim @@ -1 +1,4 @@ -syn region cssFunction contained matchgroup=cssFunctionName start="\" nextgroup=cssFontDescriptorBlock skipwhite skipnl diff --git a/test/test.css b/test/test.css index de5a142..40fc0d2 100644 --- a/test/test.css +++ b/test/test.css @@ -83,23 +83,26 @@ display: hwb(120deg, 44%, 50%); display: lab(1 2 3); display: lch(4 5 6); + display: oklab(1 2 3); + display: oklch(4 5 6); display: color(swopc, 0 206 190 77); - display: device-cmyk(0, 81%, 81%, 30%); - display: relative-colorimetric; - display: absolute-colorimetric; - display: perceptual; display: accentcolor; display: accentcolortext; } -@color-profile swopc { - src: url("http://example.org/swop-coated.icc"); -} - .color-5 { + display: device-cmyk(0, 81%, 81%, 30%); display: color-mix(red yellow 65%); } +@color-profile swopc { + src: url("http://example.org/swop-coated.icc"); + components: auto; + display: relative-colorimetric; + display: absolute-colorimetric; + display: perceptual; +} + .color-adjust-1 { color-scheme: auto; forced-color-adjust: auto; From 1fbc03d791ce087b74e2352c29fb54bfad5f0c20 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Wed, 16 Nov 2022 07:45:30 +0900 Subject: [PATCH 337/400] Update selectors-4.vim https://www.w3.org/TR/2022/WD-selectors-4-20221111/ --- after/syntax/css/selectors-4.vim | 2 +- test/test.css | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/after/syntax/css/selectors-4.vim b/after/syntax/css/selectors-4.vim index e22b43f..54e286b 100644 --- a/after/syntax/css/selectors-4.vim +++ b/after/syntax/css/selectors-4.vim @@ -1,3 +1,3 @@ syn match cssSelectorOp "[|]" -syn keyword cssPseudoClassId contained scope current past future default valid required optional blank playing paused any-link local-link read-only read-write placeholder-shown in-range out-of-range user-invalid user-valid target-within defined modal fullscreen picture-in-picture seeking buffering stalled muted volume-locked autofill +syn keyword cssPseudoClassId contained scope current past future default valid required optional blank playing paused any-link local-link read-only read-write placeholder-shown in-range out-of-range user-invalid user-valid target-within defined modal fullscreen picture-in-picture seeking buffering stalled muted volume-locked autofill open closed syn region cssPseudoClassLang matchgroup=cssPseudoClassId start=":\(dir\|local-link\|current\|nth\(-last\)\=-col\|has\|where\)(" end=")" oneline diff --git a/test/test.css b/test/test.css index 40fc0d2..4cc44a4 100644 --- a/test/test.css +++ b/test/test.css @@ -877,7 +877,9 @@ mask { .selectors-4:muted, .selectors-4:volume-locked, .selectors-4:autofill, -.selectors-4:user-valid { +.selectors-4:user-valid, +.selectors-4:open, +.selectors-4:closed { display: auto; } From 56a598ef5d1dbe302b84be7abc4fa2f11e9f812e Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Sun, 20 Nov 2022 08:04:43 +0900 Subject: [PATCH 338/400] Update display-3.vim https://www.w3.org/TR/2022/CRD-css-display-3-20221118/ This commit also moves ruby specific values to ruby-1.vim. --- after/syntax/css/display-3.vim | 4 ++-- after/syntax/css/ruby-1.vim | 4 ++-- test/test.css | 8 ++++---- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/after/syntax/css/display-3.vim b/after/syntax/css/display-3.vim index 9053234..7a6c2af 100644 --- a/after/syntax/css/display-3.vim +++ b/after/syntax/css/display-3.vim @@ -1,2 +1,2 @@ -syn keyword cssFontAttr contained contents discard -syn keyword cssBoxAttr contained run-in ruby ruby-base ruby-text +syn keyword cssFontAttr contained contents +syn keyword cssBoxAttr contained run-in diff --git a/after/syntax/css/ruby-1.vim b/after/syntax/css/ruby-1.vim index 920e69b..90c1e3e 100644 --- a/after/syntax/css/ruby-1.vim +++ b/after/syntax/css/ruby-1.vim @@ -1,2 +1,2 @@ -syn keyword cssFontProp contained merge ruby-position ruby-merge ruby-align ruby-overhang -syn keyword cssFontAttr contained ruby-base-container ruby-text-container inter-character +syn keyword cssFontProp contained ruby-position ruby-merge ruby-align ruby-overhang +syn keyword cssFontAttr contained ruby ruby-base ruby-text ruby-base-container ruby-text-container inter-character merge diff --git a/test/test.css b/test/test.css index 4cc44a4..c32c8bf 100644 --- a/test/test.css +++ b/test/test.css @@ -264,9 +264,6 @@ .display-3 { display: contents; display: run-in; - display: ruby; - display: ruby-base; - display: ruby-text; } .easing-1 { @@ -752,10 +749,13 @@ mask { ruby-merge: auto; ruby-align: auto; ruby-overhang: auto; + display: ruby; + display: ruby-base; + display: ruby-text; display: ruby-base-container; display: ruby-text-container; - display: merge; display: inter-character; + display: merge; } .scoping-1:scope-context div, From da942b9a9fb4aa2782ae1b706e60365e2b88a641 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Thu, 24 Nov 2022 14:46:12 +0900 Subject: [PATCH 339/400] Use cssFont* --- after/syntax/css/box-4.vim | 4 ++-- after/syntax/css/break-4.vim | 2 +- after/syntax/css/cascade-4.vim | 2 +- after/syntax/css/color-adjust-1.vim | 2 +- after/syntax/css/content-3.vim | 4 ++-- after/syntax/css/counter-styles-3.vim | 4 ++-- after/syntax/css/display-3.vim | 3 +-- after/syntax/css/gcpm-3.vim | 4 ++-- after/syntax/css/lists-3.vim | 4 ++-- after/syntax/css/page-floats-3.vim | 4 ++-- after/syntax/css/round-display-1.vim | 3 +-- after/syntax/css/speech-1.vim | 4 ++-- after/syntax/css/text-3.vim | 4 ++-- after/syntax/css/text-4.vim | 4 ++-- after/syntax/css/text-decor-3.vim | 4 ++-- after/syntax/css/text-decor-4.vim | 4 ++-- after/syntax/css/ui-3.vim | 4 ++-- after/syntax/css/ui-4.vim | 4 ++-- 18 files changed, 31 insertions(+), 33 deletions(-) diff --git a/after/syntax/css/box-4.vim b/after/syntax/css/box-4.vim index f354c0a..3978302 100644 --- a/after/syntax/css/box-4.vim +++ b/after/syntax/css/box-4.vim @@ -1,2 +1,2 @@ -syn keyword cssBoxProp contained margin-trim -syn keyword cssBoxAttr contained in-flow +syn keyword cssFontProp contained margin-trim +syn keyword cssFontAttr contained in-flow diff --git a/after/syntax/css/break-4.vim b/after/syntax/css/break-4.vim index 105ded4..737f3d1 100644 --- a/after/syntax/css/break-4.vim +++ b/after/syntax/css/break-4.vim @@ -1,2 +1,2 @@ -syn keyword cssBoxProp contained margin-break +syn keyword cssFontProp contained margin-break syn keyword cssFontAttr contained keep diff --git a/after/syntax/css/cascade-4.vim b/after/syntax/css/cascade-4.vim index 094a570..d9e2d20 100644 --- a/after/syntax/css/cascade-4.vim +++ b/after/syntax/css/cascade-4.vim @@ -1,2 +1,2 @@ -syn keyword cssCommonAttr contained revert +syn keyword cssFontAttr contained revert syn region cssURL contained matchgroup=cssFunctionName start="\" nextgroup=cssFontDescriptorBlock skipwhite skipnl diff --git a/after/syntax/css/display-3.vim b/after/syntax/css/display-3.vim index 7a6c2af..4e37dd1 100644 --- a/after/syntax/css/display-3.vim +++ b/after/syntax/css/display-3.vim @@ -1,2 +1 @@ -syn keyword cssFontAttr contained contents -syn keyword cssBoxAttr contained run-in +syn keyword cssFontAttr contained contents run-in diff --git a/after/syntax/css/gcpm-3.vim b/after/syntax/css/gcpm-3.vim index a5d295f..4bad3c6 100644 --- a/after/syntax/css/gcpm-3.vim +++ b/after/syntax/css/gcpm-3.vim @@ -1,4 +1,4 @@ -syn keyword cssGeneratedContentProp contained running footnote-display footnote-policy -syn keyword cssGeneratedContentAttr contained footnote line +syn keyword cssFontProp contained running footnote-display footnote-policy +syn keyword cssFontAttr contained footnote line syn region cssFunction contained matchgroup=cssFunctionName start="\<\(element\|running\)\s*(" end=")" oneline keepend syn keyword cssPseudoClassId contained footnote-call footnote-marker diff --git a/after/syntax/css/lists-3.vim b/after/syntax/css/lists-3.vim index 4380aa5..3065968 100644 --- a/after/syntax/css/lists-3.vim +++ b/after/syntax/css/lists-3.vim @@ -1,3 +1,3 @@ -syn keyword cssGeneratedContentProp contained marker-side counter-set -syn keyword cssGeneratedContentAttr contained marker contained match-self contained list-container +syn keyword cssFontProp contained marker-side counter-set +syn keyword cssFontAttr contained marker contained match-self contained list-container syn region cssFunction contained matchgroup=cssFunctionName start="\ Date: Sat, 26 Nov 2022 07:46:46 +0900 Subject: [PATCH 340/400] Update view-transitions-1.vim https://www.w3.org/TR/2022/WD-css-view-transitions-1-20221124/ --- after/syntax/css/view-transitions-1.vim | 4 +++- test/test.css | 8 ++++++-- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/after/syntax/css/view-transitions-1.vim b/after/syntax/css/view-transitions-1.vim index 96089f4..2b798e3 100644 --- a/after/syntax/css/view-transitions-1.vim +++ b/after/syntax/css/view-transitions-1.vim @@ -1 +1,3 @@ -syn keyword cssFontProp contained page-transition-tag +syn keyword cssFontProp contained view-transition-name +syn keyword cssPseudoClassId contained view-transition +syn region cssPseudoClassFn contained matchgroup=cssFunctionName start="\ Date: Sat, 3 Dec 2022 07:38:46 +0900 Subject: [PATCH 341/400] Update test --- test/test.css | 1 - 1 file changed, 1 deletion(-) diff --git a/test/test.css b/test/test.css index 9ef57d6..0751704 100644 --- a/test/test.css +++ b/test/test.css @@ -1226,7 +1226,6 @@ view { display: min(0, 1); display: max(0, 1); display: clamp(0, 100, 2); - display: toggle(italic, normal); display: round(var(--width), 50px); display: mod(-18px, 5px); display: rem(-18px, 5px); From 9aaa434b28ebbd564834979ec4cc5d4ae5601b08 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Sun, 1 Jan 2023 08:08:51 +0900 Subject: [PATCH 342/400] Update text-4.vim https://www.w3.org/TR/2022/WD-css-text-4-20221231/ --- after/syntax/css/text-4.vim | 2 +- test/test.css | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/after/syntax/css/text-4.vim b/after/syntax/css/text-4.vim index 59449f4..fcfddba 100644 --- a/after/syntax/css/text-4.vim +++ b/after/syntax/css/text-4.vim @@ -1,2 +1,2 @@ syn keyword cssFontProp contained text-space-collapse text-space-trim text-wrap text-spacing text-group-align wrap-before wrap-after wrap-inside hyphenate-character hyphenate-limit-zone hyphenate-limit-chars hyphenate-limit-lines hyphenate-limit-last line-padding word-boundary-detection word-boundary-expansion -syn keyword cssFontAttr contained spread punctuation preserve-breaks preserve-spaces trim-inner discard-before discard-after avoid-line avoid-flex pre-wrap-auto no-limit trim-start trim-end trim-adjacent space-start space-end space-adjacent space-first no-compress ideograph-alpha ideograph-numeric ideographic-space +syn keyword cssFontAttr contained spread punctuation preserve-breaks preserve-spaces discard-inner discard-before discard-after avoid-line avoid-flex pre-wrap-auto no-limit trim-start trim-end trim-adjacent space-start space-end space-adjacent space-first no-compress ideograph-alpha ideograph-numeric ideographic-space diff --git a/test/test.css b/test/test.css index 0751704..9e02124 100644 --- a/test/test.css +++ b/test/test.css @@ -1086,7 +1086,7 @@ view { word-boundary-expansion: auto; display: preserve-breaks; display: preserve-spaces; - display: trim-inner; + display: discard-inner; display: discard-before; display: discard-after; display: avoid-line; From f53a72ed1a6b5227bc631da901c893dfaa53a92c Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Sun, 1 Jan 2023 08:14:51 +0900 Subject: [PATCH 343/400] Update pseudo-4.vim https://www.w3.org/TR/2022/WD-css-pseudo-4-20221230/ --- after/syntax/css/pseudo-4.vim | 2 +- test/test.css | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/after/syntax/css/pseudo-4.vim b/after/syntax/css/pseudo-4.vim index d023e9d..30c053d 100644 --- a/after/syntax/css/pseudo-4.vim +++ b/after/syntax/css/pseudo-4.vim @@ -1 +1 @@ -syn keyword cssPseudoClassId contained target-text spelling-error grammer-error file-selectors-button +syn keyword cssPseudoClassId contained prefix postfix target-text spelling-error grammer-error file-selectors-button diff --git a/test/test.css b/test/test.css index 9e02124..6467e21 100644 --- a/test/test.css +++ b/test/test.css @@ -696,10 +696,12 @@ mask { initial-value: auto; } +.pseudo-4::first-letter::prefix, +.pseudo-4::first-letter::postfix, .pseudo-4::target-text, .pseudo-4::spelling-error, .pseudo-4::grammer-error, -.pseudi-4::file-selectors-button { +.pseudo-4::file-selectors-button { display: auto; } From 44212d3833cb18adb67abf557716b880e823cef2 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Wed, 4 Jan 2023 08:39:03 +0900 Subject: [PATCH 344/400] Update installation guidance --- README.md | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 0b861df..71d406b 100644 --- a/README.md +++ b/README.md @@ -8,9 +8,12 @@ CSS3 syntax (and syntax defined in some foreign specifications) support for INSTALLATION ------------ -This version is compatible with **Vim 9.0 or higher** with default runtime -files. If you still use Vim 8.x, you must use [older version][2] of this -plug-in. +This syntax files are compatible with the default runtime files that come with +**Vim 9.0 or higher**. If you still use Vim 8.x or lower, you must: + +- Update runtime files (recommended) +- Use [older version][2] +- Switch to [`vim80` branch][3] ### Vim package @@ -76,3 +79,4 @@ MIT [1]: http://www.vim.org/ [2]: https://github.com/hail2u/vim-css3-syntax/releases/tag/v1.10.2 +[3]: https://github.com/hail2u/vim-css3-syntax/tree/vim80 From 36520507f8d3f9fe82e65350fc6b94ac1b6d403b Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Sat, 7 Jan 2023 08:17:24 +0900 Subject: [PATCH 345/400] Add compatibility section --- README.md | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 71d406b..b3d70a8 100644 --- a/README.md +++ b/README.md @@ -5,15 +5,20 @@ CSS3 syntax (and syntax defined in some foreign specifications) support for [Vim][1]’s built-in `syntax/css.vim` -INSTALLATION ------------- +COMPATIBILITY +------------- This syntax files are compatible with the default runtime files that come with **Vim 9.0 or higher**. If you still use Vim 8.x or lower, you must: -- Update runtime files (recommended) -- Use [older version][2] -- Switch to [`vim80` branch][3] + - Copy [latest CSS syntax file][2] to your `~/.vim/` directory (recommended) + - Update runtime files + - Use [older version][3] + - Switch to [`vim80` branch][4] + + +INSTALLATION +------------ ### Vim package @@ -78,5 +83,6 @@ MIT [1]: http://www.vim.org/ -[2]: https://github.com/hail2u/vim-css3-syntax/releases/tag/v1.10.2 -[3]: https://github.com/hail2u/vim-css3-syntax/tree/vim80 +[2]: https://github.com/vim/vim/blob/master/runtime/syntax/css.vim +[3]: https://github.com/hail2u/vim-css3-syntax/releases/tag/v1.10.2 +[4]: https://github.com/hail2u/vim-css3-syntax/tree/vim80 From c0495f80bbdf4835afd85592b56aca8a45dca52c Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Mon, 9 Jan 2023 12:15:40 +0900 Subject: [PATCH 346/400] 2.0.0 From be78408deaca623ba8f18147698d3882d115c146 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Wed, 15 Feb 2023 07:55:59 +0900 Subject: [PATCH 347/400] Update speech-1.vim https://www.w3.org/TR/2023/CRD-css-speech-1-20230214/ --- after/syntax/css/speech-1.vim | 2 +- test/test.css | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/after/syntax/css/speech-1.vim b/after/syntax/css/speech-1.vim index 7097c5b..2b4a78b 100644 --- a/after/syntax/css/speech-1.vim +++ b/after/syntax/css/speech-1.vim @@ -1,3 +1,3 @@ syn keyword cssFontProp contained voice-volume voice-balance voice-rate voice-pitch voice-range voice-stress voice-duration rest rest-before rest-after -syn keyword cssFontAttr contained young old neutral preserve moderate reduced literal-punctuation no-punctuation weak x-weak strong x-strong +syn keyword cssFontAttr contained young old neutral preserve moderate reduced literal-punctuation no-punctuation weak x-weak strong x-strong never syn match cssValueNumber contained "[-+]\=\d\+\(dB\|st\)" diff --git a/test/test.css b/test/test.css index 6467e21..a663542 100644 --- a/test/test.css +++ b/test/test.css @@ -937,6 +937,7 @@ mask { display: 10st; display: moderate; display: reduced; + display: never; } .style-attr { From 17a022b528b8ff328e798965a98f51324689e5f7 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Thu, 23 Feb 2023 07:56:14 +0900 Subject: [PATCH 348/400] Add animations-2.vim https://www.w3.org/TR/2023/WD-web-animations-2-20230221/ --- after/syntax/css/animations-2.vim | 0 test/test.css | 4 ++++ 2 files changed, 4 insertions(+) create mode 100644 after/syntax/css/animations-2.vim diff --git a/after/syntax/css/animations-2.vim b/after/syntax/css/animations-2.vim new file mode 100644 index 0000000..e69de29 diff --git a/test/test.css b/test/test.css index a663542..5fd5013 100644 --- a/test/test.css +++ b/test/test.css @@ -14,6 +14,10 @@ display: auto; } +.animations-2 { + display: auto; +} + .backgrounds-3 { display: auto; } From 3482b4608c65eef79d6817ad9c95950db3cb8d96 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Wed, 1 Mar 2023 18:43:27 +0900 Subject: [PATCH 349/400] Update text-4 https://www.w3.org/TR/2023/WD-css-text-4-20230301/ --- after/syntax/css/text-4.vim | 2 +- test/test.css | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/after/syntax/css/text-4.vim b/after/syntax/css/text-4.vim index fcfddba..78e2e2e 100644 --- a/after/syntax/css/text-4.vim +++ b/after/syntax/css/text-4.vim @@ -1,2 +1,2 @@ -syn keyword cssFontProp contained text-space-collapse text-space-trim text-wrap text-spacing text-group-align wrap-before wrap-after wrap-inside hyphenate-character hyphenate-limit-zone hyphenate-limit-chars hyphenate-limit-lines hyphenate-limit-last line-padding word-boundary-detection word-boundary-expansion +syn keyword cssFontProp contained white-space-collapse text-space-trim text-wrap text-autospace text-spacing-trim text-spacing text-group-align wrap-before wrap-after wrap-inside hyphenate-character hyphenate-limit-zone hyphenate-limit-chars hyphenate-limit-lines hyphenate-limit-last line-padding word-boundary-detection word-boundary-expansion syn keyword cssFontAttr contained spread punctuation preserve-breaks preserve-spaces discard-inner discard-before discard-after avoid-line avoid-flex pre-wrap-auto no-limit trim-start trim-end trim-adjacent space-start space-end space-adjacent space-first no-compress ideograph-alpha ideograph-numeric ideographic-space diff --git a/test/test.css b/test/test.css index 5fd5013..1075dea 100644 --- a/test/test.css +++ b/test/test.css @@ -1075,7 +1075,7 @@ view { } .text-4 { - text-space-collapse: auto; + white-space-collapse: auto; text-space-trim: auto; text-wrap: auto; wrap-before: auto; @@ -1088,6 +1088,8 @@ view { hyphenate-limit-last: auto; text-group-align: auto; line-padding: auto; + text-autospace: auto; + text-spacing-trim: auto; text-spacing: auto; word-boundary-detection: auto; word-boundary-expansion: auto; From b27f324d6df3e938354a6b2946f99d7d8d0ab909 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Sat, 4 Mar 2023 07:36:18 +0900 Subject: [PATCH 350/400] Update animations-2.vim https://www.w3.org/TR/2023/WD-css-animations-2-20230302/ --- after/syntax/css/animations-2.vim | 2 ++ test/test.css | 5 ++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/after/syntax/css/animations-2.vim b/after/syntax/css/animations-2.vim index e69de29..dc597b7 100644 --- a/after/syntax/css/animations-2.vim +++ b/after/syntax/css/animations-2.vim @@ -0,0 +1,2 @@ +syn keyword cssFontProp contained animation-composition animation-timeline +syn keyword cssFontAttr contained replace accumulate diff --git a/test/test.css b/test/test.css index 1075dea..04b80e8 100644 --- a/test/test.css +++ b/test/test.css @@ -15,7 +15,10 @@ } .animations-2 { - display: auto; + animation-composition: auto; + animation-timeline: auto; + display: replace; + display: accumulate; } .backgrounds-3 { From c8e71253f908293804be20c48ea66e9721d525c6 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Sat, 4 Mar 2023 07:38:44 +0900 Subject: [PATCH 351/400] Update animations-1.vim https://www.w3.org/TR/2023/WD-css-animations-1-20230302/ From 0d6855dbe4c4c6a889825440433199894c5d8233 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Fri, 17 Mar 2023 18:24:24 +0900 Subject: [PATCH 352/400] Update display-3.vim https://www.w3.org/TR/2023/CRD-css-display-3-20230316/ From 216913624722999bcaca9446f30327f3984b2d96 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Fri, 24 Mar 2023 11:51:48 +0900 Subject: [PATCH 353/400] Update cascade-6.vim https://www.w3.org/TR/2023/WD-css-cascade-6-20230321/ From 5a208f54d6af657374bf9747fe750305c472efa0 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Fri, 24 Mar 2023 11:52:57 +0900 Subject: [PATCH 354/400] Update overflow-3.vim https://www.w3.org/TR/2023/WD-css-overflow-3-20230321/ From 0a0b8ded194e8c609b3f1017a0e948acc1bc7d9c Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Fri, 24 Mar 2023 12:00:38 +0900 Subject: [PATCH 355/400] Update overflow-4.vim --- after/syntax/css/overflow-4.vim | 1 + test/test.css | 10 ++++++++++ 2 files changed, 11 insertions(+) diff --git a/after/syntax/css/overflow-4.vim b/after/syntax/css/overflow-4.vim index 1c78b5c..6961d07 100644 --- a/after/syntax/css/overflow-4.vim +++ b/after/syntax/css/overflow-4.vim @@ -1,2 +1,3 @@ +syn keyword cssFontProp contained overflow-clip-margin-block overflow-clip-margin-block-start overflow-clip-margin-block-end overflow-clip-margin-inline overflow-clip-margin-inline-start overflow-clip-margin-inline-end overflow-clip-margin-top overflow-clip-margin-right overflow-clip-margin-bottom overflow-clip-margin-left syn keyword cssFontAttr contained stable force overflow paginate fragments syn region cssPseudoClassLang matchgroup=cssPseudoClassId start=":\(nth-fragment\)(" end=")" oneline diff --git a/test/test.css b/test/test.css index 04b80e8..84b3197 100644 --- a/test/test.css +++ b/test/test.css @@ -644,6 +644,16 @@ mask { } .overflow-4::nth-fragment(1) { + overflow-clip-margin-block: auto; + overflow-clip-margin-block-start: auto; + overflow-clip-margin-block-end: auto; + overflow-clip-margin-inline: auto; + overflow-clip-margin-inline-start: auto; + overflow-clip-margin-inline-end: auto; + overflow-clip-margin-top: auto; + overflow-clip-margin-right: auto; + overflow-clip-margin-bottom: auto; + overflow-clip-margin-left: auto; display: stable; display: force; display: overflow; From ed79b7a86b19be109268e9caf9bb927843a038cc Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Thu, 30 Mar 2023 19:13:33 +0900 Subject: [PATCH 356/400] Update text-4.vim https://www.w3.org/TR/2023/WD-css-text-4-20230329/ --- after/syntax/css/text-4.vim | 4 ++-- test/test.css | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/after/syntax/css/text-4.vim b/after/syntax/css/text-4.vim index 78e2e2e..81992a6 100644 --- a/after/syntax/css/text-4.vim +++ b/after/syntax/css/text-4.vim @@ -1,2 +1,2 @@ -syn keyword cssFontProp contained white-space-collapse text-space-trim text-wrap text-autospace text-spacing-trim text-spacing text-group-align wrap-before wrap-after wrap-inside hyphenate-character hyphenate-limit-zone hyphenate-limit-chars hyphenate-limit-lines hyphenate-limit-last line-padding word-boundary-detection word-boundary-expansion -syn keyword cssFontAttr contained spread punctuation preserve-breaks preserve-spaces discard-inner discard-before discard-after avoid-line avoid-flex pre-wrap-auto no-limit trim-start trim-end trim-adjacent space-start space-end space-adjacent space-first no-compress ideograph-alpha ideograph-numeric ideographic-space +syn keyword cssFontProp contained white-space-collapse white-space-trim text-space-trim text-wrap text-autospace text-spacing-trim text-spacing text-group-align wrap-before wrap-after wrap-inside hyphenate-character hyphenate-limit-zone hyphenate-limit-chars hyphenate-limit-lines hyphenate-limit-last line-padding word-boundary-detection word-boundary-expansion +syn keyword cssFontAttr contained spread punctuation preserve-breaks preserve-spaces discard-inner discard-before discard-after pretty avoid-line avoid-flex pre-wrap-auto no-limit trim-start trim-end trim-adjacent space-start space-end space-adjacent space-first no-compress ideograph-alpha ideograph-numeric ideographic-space diff --git a/test/test.css b/test/test.css index 84b3197..0bc08f0 100644 --- a/test/test.css +++ b/test/test.css @@ -1089,7 +1089,7 @@ view { .text-4 { white-space-collapse: auto; - text-space-trim: auto; + white-space-trim: auto; text-wrap: auto; wrap-before: auto; wrap-after: auto; @@ -1111,6 +1111,7 @@ view { display: discard-inner; display: discard-before; display: discard-after; + display: pretty; display: avoid-line; display: avoid-flex; display: pre-wrap-auto; From 262749f063443ecb17fe50a59f6cc92b189ab999 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Thu, 30 Mar 2023 20:48:52 +0900 Subject: [PATCH 357/400] Update overflow-3.vim https://www.w3.org/TR/2023/WD-css-overflow-3-20230329/ From 539eaac21abf075c6c6da380092060d442745cfb Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Thu, 30 Mar 2023 20:50:46 +0900 Subject: [PATCH 358/400] Add web-animations-2.vim https://www.w3.org/TR/2023/WD-web-animations-2-20230221/ --- after/syntax/css/web-animations-2.vim | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 after/syntax/css/web-animations-2.vim diff --git a/after/syntax/css/web-animations-2.vim b/after/syntax/css/web-animations-2.vim new file mode 100644 index 0000000..e69de29 From acfbaf8302a62eb54dcb44f32ab8b29415cf29e1 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Fri, 31 Mar 2023 18:09:33 +0900 Subject: [PATCH 359/400] Update display-3.vim https://www.w3.org/TR/2023/CR-css-display-3-20230330/ From f0df5f02f3bff8944c193ca10aa10b10f0cfb752 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Sun, 2 Apr 2023 09:07:26 +0900 Subject: [PATCH 360/400] 2.1.0 From d858def9c13c93b59752ed0f85030d8e66fba0ac Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Tue, 4 Apr 2023 07:14:53 +0900 Subject: [PATCH 361/400] Update inline-3.vim https://www.w3.org/TR/2023/WD-css-inline-3-20230401/ --- after/syntax/css/inline-3.vim | 2 +- test/test.css | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/after/syntax/css/inline-3.vim b/after/syntax/css/inline-3.vim index b856a24..6b8585d 100644 --- a/after/syntax/css/inline-3.vim +++ b/after/syntax/css/inline-3.vim @@ -1,2 +1,2 @@ -syn keyword cssFontProp contained dominant-baseline alignment-baseline baseline-shift baseline-source text-edge leading-trim inline-sizing initial-letter initial-letter-align initial-letter-wrap +syn keyword cssFontProp contained dominant-baseline alignment-baseline baseline-shift baseline-source text-box-edge text-box-trim inline-sizing initial-letter initial-letter-align initial-letter-wrap syn keyword cssFontAttr contained central mathematical leading cap ex drop raise ideographic ideographic-ink diff --git a/test/test.css b/test/test.css index 0bc08f0..2fc08f8 100644 --- a/test/test.css +++ b/test/test.css @@ -479,8 +479,8 @@ template { alignment-baseline: auto; baseline-source: auto; baseline-shift: auto; - text-edge: auto; - leading-trim: auto; + text-box-edge: auto; + text-box-trim: auto; inline-sizing: auto; initial-letter: auto; initial-letter-align: auto; From 61bc815f2b33f38a132e2e3aa3846d9b092ad931 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Fri, 28 Apr 2023 18:33:00 +0900 Subject: [PATCH 362/400] Update scroll-animations-1.vim https://www.w3.org/TR/2023/WD-scroll-animations-1-20230428/ --- after/syntax/css/scroll-animations-1.vim | 4 ++-- test/test.css | 4 ++++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/after/syntax/css/scroll-animations-1.vim b/after/syntax/css/scroll-animations-1.vim index 27438ac..915cee6 100644 --- a/after/syntax/css/scroll-animations-1.vim +++ b/after/syntax/css/scroll-animations-1.vim @@ -1,2 +1,2 @@ -syn keyword cssFontProp contained scroll-timeline-name scroll-timeline-axis scroll-timeline view-timeline-name view-timeline-axis view-timeline-inset view-timeline animation-range animation-delay-start animation-delay-end -syn keyword cssFontAttr contained entry exit +syn keyword cssFontProp contained scroll-timeline-name scroll-timeline-axis scroll-timeline-attachment scroll-timeline view-timeline-name view-timeline-axis view-timeline-inset view-timeline-attachment view-timeline animation-range animation-delay-start animation-delay-end +syn keyword cssFontAttr contained entry exit defer ancestor diff --git a/test/test.css b/test/test.css index 2fc08f8..2467747 100644 --- a/test/test.css +++ b/test/test.css @@ -800,16 +800,20 @@ mask { .scroll-animations-1 { scroll-timeline-name: auto; scroll-timeline-axis: auto; + scroll-timeline-attachment: auto; scroll-timeline: auto; view-timeline-name: auto; view-timeline-axis: auto; view-timeline-inset: auto; + view-timeline-attachment: auto; view-timeline: auto; animation-range: auto; animation-delay-start: auto; animation-delay-end: auto; display: entry; display: exit; + display: defer; + display: ancestor; } .scroll-snap-1 { From 60ff15a81e698e05570aaccb9d0cf05fae9cd165 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Thu, 8 Jun 2023 14:39:55 +0900 Subject: [PATCH 363/400] Update scroll-animations-1.vim https://www.w3.org/TR/2023/WD-scroll-animations-1-20230606/ --- after/syntax/css/scroll-animations-1.vim | 2 +- test/test.css | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/after/syntax/css/scroll-animations-1.vim b/after/syntax/css/scroll-animations-1.vim index 915cee6..559fc61 100644 --- a/after/syntax/css/scroll-animations-1.vim +++ b/after/syntax/css/scroll-animations-1.vim @@ -1,2 +1,2 @@ -syn keyword cssFontProp contained scroll-timeline-name scroll-timeline-axis scroll-timeline-attachment scroll-timeline view-timeline-name view-timeline-axis view-timeline-inset view-timeline-attachment view-timeline animation-range animation-delay-start animation-delay-end +syn keyword cssFontProp contained scroll-timeline-name scroll-timeline-axis scroll-timeline view-timeline-name view-timeline-axis view-timeline-inset view-timeline animation-range animation-delay-start animation-delay-end timeline-scope syn keyword cssFontAttr contained entry exit defer ancestor diff --git a/test/test.css b/test/test.css index 2467747..4e89351 100644 --- a/test/test.css +++ b/test/test.css @@ -800,16 +800,15 @@ mask { .scroll-animations-1 { scroll-timeline-name: auto; scroll-timeline-axis: auto; - scroll-timeline-attachment: auto; scroll-timeline: auto; view-timeline-name: auto; view-timeline-axis: auto; view-timeline-inset: auto; - view-timeline-attachment: auto; view-timeline: auto; animation-range: auto; animation-delay-start: auto; animation-delay-end: auto; + timeline-scope: auto; display: entry; display: exit; display: defer; From f933340233bee932d152ea16d551ece96f39ea41 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Mon, 26 Jun 2023 20:11:30 +0900 Subject: [PATCH 364/400] Remove FUNDING.yml --- .github/FUNDING.yml | 1 - 1 file changed, 1 deletion(-) delete mode 100644 .github/FUNDING.yml diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml deleted file mode 100644 index 30e557a..0000000 --- a/.github/FUNDING.yml +++ /dev/null @@ -1 +0,0 @@ -github: [hail2u] From ab6d5e11e5ec7451f0bab2fcde31c99bc43ac2ae Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Sun, 2 Jul 2023 06:44:47 +0900 Subject: [PATCH 365/400] 2.1.1 From b7a3c5572120e4904a920a2c522dc6b78ce0d879 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Thu, 7 Sep 2023 07:16:44 +0900 Subject: [PATCH 366/400] Add transitions-2.vim https://www.w3.org/TR/2023/WD-css-transitions-2-20230905/ --- after/syntax/css/transitions-2.vim | 1 + test/test.css | 6 ++++++ 2 files changed, 7 insertions(+) create mode 100644 after/syntax/css/transitions-2.vim diff --git a/after/syntax/css/transitions-2.vim b/after/syntax/css/transitions-2.vim new file mode 100644 index 0000000..afd1cb0 --- /dev/null +++ b/after/syntax/css/transitions-2.vim @@ -0,0 +1 @@ +syn match cssFontDescriptor "@\(starting-style\)\>" nextgroup=cssFontDescriptorBlock skipwhite skipnl diff --git a/test/test.css b/test/test.css index 4e89351..30e0178 100644 --- a/test/test.css +++ b/test/test.css @@ -1192,6 +1192,12 @@ view { display: auto; } +@starting-style { + .transitions-2 { + display: auto; + } +} + .typed-om-1 { display: auto; } From e06bde335fdc1a26a162c0ee621a662a81209ad1 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Fri, 22 Sep 2023 16:54:27 +0900 Subject: [PATCH 367/400] Update page-3.vim https://www.w3.org/TR/2023/WD-css-page-3-20230914/ --- after/syntax/css/page-3.vim | 2 +- test/test.css | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/after/syntax/css/page-3.vim b/after/syntax/css/page-3.vim index e39ec4b..08431c1 100644 --- a/after/syntax/css/page-3.vim +++ b/after/syntax/css/page-3.vim @@ -1 +1 @@ -syn keyword cssFontProp contained marks bleed +syn keyword cssFontProp contained marks bleed page-orientation diff --git a/test/test.css b/test/test.css index 30e0178..1823051 100644 --- a/test/test.css +++ b/test/test.css @@ -672,6 +672,7 @@ mask { .page-3 { marks: auto; bleed: auto; + page-orientation: auto; } .page-floats-3 { From 30ef43aed3e700f21db58dfd67b78c9e82673d77 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Mon, 2 Oct 2023 07:34:43 +0900 Subject: [PATCH 368/400] 2.2.0 From 3bc2e593b71d35d10c661053ee8b5d46a6fedc25 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Mon, 23 Oct 2023 07:26:58 +0900 Subject: [PATCH 369/400] Update text-4.vim https://www.w3.org/TR/2023/WD-css-text-4-20231020/ --- after/syntax/css/text-4.vim | 4 ++-- test/test.css | 11 ++++------- 2 files changed, 6 insertions(+), 9 deletions(-) diff --git a/after/syntax/css/text-4.vim b/after/syntax/css/text-4.vim index 81992a6..5b06882 100644 --- a/after/syntax/css/text-4.vim +++ b/after/syntax/css/text-4.vim @@ -1,2 +1,2 @@ -syn keyword cssFontProp contained white-space-collapse white-space-trim text-space-trim text-wrap text-autospace text-spacing-trim text-spacing text-group-align wrap-before wrap-after wrap-inside hyphenate-character hyphenate-limit-zone hyphenate-limit-chars hyphenate-limit-lines hyphenate-limit-last line-padding word-boundary-detection word-boundary-expansion -syn keyword cssFontAttr contained spread punctuation preserve-breaks preserve-spaces discard-inner discard-before discard-after pretty avoid-line avoid-flex pre-wrap-auto no-limit trim-start trim-end trim-adjacent space-start space-end space-adjacent space-first no-compress ideograph-alpha ideograph-numeric ideographic-space +syn keyword cssFontProp contained white-space-collapse white-space-trim text-space-trim text-wrap text-autospace text-spacing-trim text-spacing text-group-align wrap-before wrap-after wrap-inside hyphenate-character hyphenate-limit-zone hyphenate-limit-chars hyphenate-limit-lines hyphenate-limit-last line-padding word-boundary-detection word-space-transform +syn keyword cssFontAttr contained spread punctuation preserve-breaks preserve-spaces discard-inner discard-before discard-after pretty avoid-line avoid-flex pre-wrap-auto no-limit space-all trim-auto space-first trim-all no-compress ideograph-alpha ideograph-numeric ideographic-space diff --git a/test/test.css b/test/test.css index 1823051..a6a0d53 100644 --- a/test/test.css +++ b/test/test.css @@ -1109,7 +1109,7 @@ view { text-spacing-trim: auto; text-spacing: auto; word-boundary-detection: auto; - word-boundary-expansion: auto; + word-space-transform: auto; display: preserve-breaks; display: preserve-spaces; display: discard-inner; @@ -1121,13 +1121,10 @@ view { display: pre-wrap-auto; display: no-limit; display: spread; - display: trim-start; - display: space-start; + display: space-all; + display: trim-auto; display: space-first; - display: trim-end; - display: space-end; - display: trim-adjacent; - display: space-adjacent; + display: trim-all; display: no-compress; display: ideograph-alpha; display: ideograph-numeric; From 3cd856659d117cd4ad097535cec8270a224643ed Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Sun, 29 Oct 2023 07:14:58 +0900 Subject: [PATCH 370/400] Update values-4.vim https://www.w3.org/TR/2023/WD-css-values-4-20231027/ --- after/syntax/css/values-4.vim | 2 +- test/test.css | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/after/syntax/css/values-4.vim b/after/syntax/css/values-4.vim index 63c9586..fbde8e7 100644 --- a/after/syntax/css/values-4.vim +++ b/after/syntax/css/values-4.vim @@ -1,3 +1,3 @@ syn match cssValueLength contained "[-+]\=\d\+\(\.\d*\)\=\(rex\|cap\|rcap\|rch\|ic\|ric\|lh\|rlh\)" syn match cssValueLength contained "[-+]\=\d\+\(\.\d*\)\=\(s\|l\|d\)\=v\(h\|w\|i\|b\|min\|max\)" -syn region cssFunction contained matchgroup=cssFunctionName start="\<\(mix\|min\|max\|clamp\|round\|mod\|rem\|a\=\(sin\|cos\|tan\)\|atan2\|pow\|sqrt\|hypot\|log\|exp\|abs\|sign\)\s*(" end=")" oneline keepend +syn region cssFunction contained matchgroup=cssFunctionName start="\<\(min\|max\|clamp\|round\|mod\|rem\|a\=\(sin\|cos\|tan\)\|atan2\|pow\|sqrt\|hypot\|log\|exp\|abs\|sign\)\s*(" end=")" oneline keepend diff --git a/test/test.css b/test/test.css index a6a0d53..464c7c1 100644 --- a/test/test.css +++ b/test/test.css @@ -1273,7 +1273,6 @@ view { display: exp(1); display: abs(-1); display: sign(-4); - display: mix(33%; 1px; 2px); } .variables-1 { From b73d5028a8e79ac7d2319f4817988a41dbfd47dd Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Mon, 8 Jan 2024 07:58:28 +0900 Subject: [PATCH 371/400] 2.2.1 From d8ad25fdb64e762fb79c693ab574acfc17116aa7 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Sat, 3 Feb 2024 08:11:57 +0900 Subject: [PATCH 372/400] Update fonts-4.vim https://www.w3.org/TR/2024/WD-css-fonts-4-20240201/ --- after/syntax/css/fonts-4.vim | 2 +- test/test.css | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/after/syntax/css/fonts-4.vim b/after/syntax/css/fonts-4.vim index 1f1b629..5eea722 100644 --- a/after/syntax/css/fonts-4.vim +++ b/after/syntax/css/fonts-4.vim @@ -1,4 +1,4 @@ -syn keyword cssFontProp contained font-synthesis font-synthesis-weight font-synthesis-style font-synthesis-small-caps font-synthesis-settings font-named-instance font-display ascent-override descent-override line-gap-override font-optical-sizing font-variation-settings font-palette font-variant-emoji font-presentation base-palette override-color +syn keyword cssFontProp contained font-synthesis font-synthesis-weight font-synthesis-style font-synthesis-small-caps font-synthesis-position font-named-instance font-display ascent-override descent-override line-gap-override font-optical-sizing font-variation-settings font-palette font-variant-emoji font-presentation base-palette override-color syn keyword cssFontAttr contained emoji math fangsong swap fallback light dark contained system-ui contained ui-sans-serif ui-serif ui-monospace ui-rounded contained xxx-large contained historical-forms 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 diff --git a/test/test.css b/test/test.css index 464c7c1..8b46456 100644 --- a/test/test.css +++ b/test/test.css @@ -371,10 +371,10 @@ } .fonts-4 { + font-synthesis-position: auto; font-synthesis-weight: auto; font-synthesis-style: auto; font-synthesis-small-caps: auto; - font-variation-settings: auto; font-named-instance: auto; font-display: auto; ascent-override: auto; From ba8002926ea7da48d8082e26db93cec7adaa9c3c Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Sat, 2 Mar 2024 07:38:23 +0900 Subject: [PATCH 373/400] Update color-5.vim https://www.w3.org/TR/2024/WD-css-color-5-20240229/ --- after/syntax/css/color-5.vim | 2 +- test/test.css | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/after/syntax/css/color-5.vim b/after/syntax/css/color-5.vim index ae741ba..93617d4 100644 --- a/after/syntax/css/color-5.vim +++ b/after/syntax/css/color-5.vim @@ -1,4 +1,4 @@ syn keyword cssFontProp contained components syn keyword cssFontAttr contained relative-colorimetric absolute-colorimetric perceptual -syn region cssFunction contained matchgroup=cssFunctionName start="\" nextgroup=cssFontDescriptorBlock skipwhite skipnl diff --git a/test/test.css b/test/test.css index 8b46456..3f00cc9 100644 --- a/test/test.css +++ b/test/test.css @@ -100,6 +100,8 @@ .color-5 { display: device-cmyk(0, 81%, 81%, 30%); display: color-mix(red yellow 65%); + display: light-dark(white, black); + display: contrast-color(red max); } @color-profile swopc { From f136721a0055262d58f9406e558f46245ecc5e00 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Fri, 15 Mar 2024 21:54:10 +0900 Subject: [PATCH 374/400] Add anchor-position-1.vim https://www.w3.org/TR/2024/WD-css-anchor-position-1-20240314/ --- after/syntax/css/anchor-position-1.vim | 3 ++ test/test.css | 51 ++++++++++++++++++++++++++ 2 files changed, 54 insertions(+) create mode 100644 after/syntax/css/anchor-position-1.vim diff --git a/after/syntax/css/anchor-position-1.vim b/after/syntax/css/anchor-position-1.vim new file mode 100644 index 0000000..be9644d --- /dev/null +++ b/after/syntax/css/anchor-position-1.vim @@ -0,0 +1,3 @@ +syn keyword cssFontProp contained anchor-name anchor-scope inset-area position-anchor position-try position-try-options position-try-order +syn keyword cssFontAttr contained span-left span-right span-x-start span-x-end x-self-start x-self-end span-x-self-start span-x-self-end span-all span-top span-bottom span-y-start span-y-end y-self-start y-self-end span-y-self-start span-y-self-end block-start block-end span-block-start span-block-end self-block-start self-block-end span-self-block-start span-self-block-end inline-start inline-end span-inline-start span-inline-end self-inline-start self-inline-end span-self-inline-start span-self-inline-end span-start span-end self-start self-end span-self-start span-self-end implicit most-width most-height most-block-size most-inline-size flip-block flip-inline flip-start +syn match cssFontDescriptor "@position-try\>" nextgroup=cssFontDescriptorBlock skipwhite skipnl diff --git a/test/test.css b/test/test.css index 3f00cc9..6c2ad54 100644 --- a/test/test.css +++ b/test/test.css @@ -10,6 +10,57 @@ display: legacy; } +@position-try --anchor-position-1 { + anchor-name: auto; + anchor-scope: auto; + inset-area: auto; + position-anchor: auto; + position-try: auto; + position-try-options: auto; + position-try-order: auto; + display: span-left; + display: span-right; + display: span-x-start; + display: span-x-end; + display: x-self-start; + display: x-self-end; + display: span-x-self-start; + display: span-x-self-end; + display: span-all; + display: span-top; + display: span-bottom; + display: span-y-start; + display: span-y-end; + display: y-self-start; + display: y-self-end; + display: span-y-self-start; + display: span-y-self-end; + display: span-block-start; + display: span-block-end; + display: self-block-start; + display: self-block-end; + display: span-self-block-start; + display: span-self-block-end; + display: span-inline-start; + display: span-inline-end; + display: self-inline-start; + display: self-inline-end; + display: span-self-inline-start; + display: span-self-inline-end; + display: span-start; + display: span-end; + display: span-self-start; + display: span-self-end; + display: implicit; + display: most-width; + display: most-height; + display: most-block-size; + display: most-inline-size; + display: flip-block; + display: flip-inline; + display: flip-start +} + .animations-1 { display: auto; } From af20714f724b48ffd522f28a0bd8199e9b862389 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Wed, 27 Mar 2024 07:37:35 +0900 Subject: [PATCH 375/400] Update anchor-position-1.vim https://www.w3.org/TR/2024/WD-css-anchor-position-1-20240326/ --- after/syntax/css/anchor-position-1.vim | 3 ++- test/test.css | 5 ++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/after/syntax/css/anchor-position-1.vim b/after/syntax/css/anchor-position-1.vim index be9644d..b51c086 100644 --- a/after/syntax/css/anchor-position-1.vim +++ b/after/syntax/css/anchor-position-1.vim @@ -1,3 +1,4 @@ syn keyword cssFontProp contained anchor-name anchor-scope inset-area position-anchor position-try position-try-options position-try-order -syn keyword cssFontAttr contained span-left span-right span-x-start span-x-end x-self-start x-self-end span-x-self-start span-x-self-end span-all span-top span-bottom span-y-start span-y-end y-self-start y-self-end span-y-self-start span-y-self-end block-start block-end span-block-start span-block-end self-block-start self-block-end span-self-block-start span-self-block-end inline-start inline-end span-inline-start span-inline-end self-inline-start self-inline-end span-self-inline-start span-self-inline-end span-start span-end self-start self-end span-self-start span-self-end implicit most-width most-height most-block-size most-inline-size flip-block flip-inline flip-start +syn keyword cssFontAttr contained span-left span-right span-x-start span-x-end x-self-start x-self-end span-x-self-start span-x-self-end span-all span-top span-bottom span-y-start span-y-end y-self-start y-self-end span-y-self-start span-y-self-end block-start block-end span-block-start span-block-end self-block-start self-block-end span-self-block-start span-self-block-end inline-start inline-end span-inline-start span-inline-end self-inline-start self-inline-end span-self-inline-start span-self-inline-end span-start span-end self-start self-end span-self-start span-self-end implicit anchor-center most-width most-height most-block-size most-inline-size flip-block flip-inline flip-start +syn region cssFunction contained matchgroup=cssFunctionName start="\" nextgroup=cssFontDescriptorBlock skipwhite skipnl diff --git a/test/test.css b/test/test.css index 6c2ad54..2283a44 100644 --- a/test/test.css +++ b/test/test.css @@ -52,13 +52,16 @@ display: span-self-start; display: span-self-end; display: implicit; + display: anchor-center; display: most-width; display: most-height; display: most-block-size; display: most-inline-size; display: flip-block; display: flip-inline; - display: flip-start + display: flip-start; + display: anchor(--x 50%); + display: anchor-size(--foo height); } .animations-1 { From 44dd2e6bada1a48f6697ec1596cfe5a1386418b3 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Mon, 8 Apr 2024 07:20:46 +0900 Subject: [PATCH 376/400] 2.3.0 From d79ca2faaef2405cf3041393920f2a5c1fa2dd3d Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Sat, 18 May 2024 07:19:58 +0900 Subject: [PATCH 377/400] Add view-transitions-2.vim https://www.w3.org/TR/2024/WD-css-view-transitions-2-20240516/ --- after/syntax/css/view-transitions-2.vim | 3 +++ test/test.css | 7 +++++++ 2 files changed, 10 insertions(+) create mode 100644 after/syntax/css/view-transitions-2.vim diff --git a/after/syntax/css/view-transitions-2.vim b/after/syntax/css/view-transitions-2.vim new file mode 100644 index 0000000..496eeae --- /dev/null +++ b/after/syntax/css/view-transitions-2.vim @@ -0,0 +1,3 @@ +syn keyword cssFontProp contained view-transition-class navigation types +syn keyword cssPseudoClassId contained active-view-transition +syn region cssPseudoClassFn contained matchgroup=cssFunctionName start="\ Date: Thu, 30 May 2024 23:35:09 +0900 Subject: [PATCH 378/400] Update text-4.vim https://www.w3.org/TR/2024/WD-css-text-4-20240529/ --- after/syntax/css/text-4.vim | 2 +- test/test.css | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/after/syntax/css/text-4.vim b/after/syntax/css/text-4.vim index 5b06882..a5444a2 100644 --- a/after/syntax/css/text-4.vim +++ b/after/syntax/css/text-4.vim @@ -1,2 +1,2 @@ syn keyword cssFontProp contained white-space-collapse white-space-trim text-space-trim text-wrap text-autospace text-spacing-trim text-spacing text-group-align wrap-before wrap-after wrap-inside hyphenate-character hyphenate-limit-zone hyphenate-limit-chars hyphenate-limit-lines hyphenate-limit-last line-padding word-boundary-detection word-space-transform -syn keyword cssFontAttr contained spread punctuation preserve-breaks preserve-spaces discard-inner discard-before discard-after pretty avoid-line avoid-flex pre-wrap-auto no-limit space-all trim-auto space-first trim-all no-compress ideograph-alpha ideograph-numeric ideographic-space +syn keyword cssFontAttr contained math-auto spread punctuation preserve-breaks preserve-spaces discard-inner discard-before discard-after pretty avoid-line avoid-flex pre-wrap-auto no-limit space-all trim-both space-first trim-all no-compress ideograph-alpha ideograph-numeric ideographic-space diff --git a/test/test.css b/test/test.css index 70c6428..5ddeacb 100644 --- a/test/test.css +++ b/test/test.css @@ -1166,6 +1166,7 @@ view { text-spacing: auto; word-boundary-detection: auto; word-space-transform: auto; + display: math-auto; display: preserve-breaks; display: preserve-spaces; display: discard-inner; @@ -1178,7 +1179,7 @@ view { display: no-limit; display: spread; display: space-all; - display: trim-auto; + display: trim-both; display: space-first; display: trim-all; display: no-compress; From a56bcb6df47747f5ad20ea2e6985e60f80de591b Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Mon, 8 Jul 2024 06:27:29 +0900 Subject: [PATCH 379/400] 2.4.0 From 5ea57b4b51fd9993c3cdc3fe6f8159c9d855b667 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Mon, 8 Jul 2024 06:31:45 +0900 Subject: [PATCH 380/400] Fix a test --- test/test.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test.css b/test/test.css index 5ddeacb..0e0fc0c 100644 --- a/test/test.css +++ b/test/test.css @@ -1345,7 +1345,7 @@ view { } .view-transitions-2:active-view-transition, -.view-transitions-1:active-view-transition-type(slide-in) { +.view-transitions-2:active-view-transition-type(slide-in) { view-transition-class: auto; navigation: auto; types: auto; From cb6f429561ef560062e10c3d33bc432813bfda12 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Thu, 25 Jul 2024 06:52:24 +0900 Subject: [PATCH 381/400] Add scroll-snap-2.vim https://www.w3.org/TR/2024/WD-css-scroll-snap-2-20240723/ --- after/syntax/css/scroll-snap-2.vim | 2 ++ test/test.css | 9 +++++++++ 2 files changed, 11 insertions(+) create mode 100644 after/syntax/css/scroll-snap-2.vim diff --git a/after/syntax/css/scroll-snap-2.vim b/after/syntax/css/scroll-snap-2.vim new file mode 100644 index 0000000..44cd151 --- /dev/null +++ b/after/syntax/css/scroll-snap-2.vim @@ -0,0 +1,2 @@ +syn keyword cssFontProp contained scroll-start-target +syn keyword cssPseudoClassId contained snapped snapped-x snapped-y snapped-block snapped-inline diff --git a/test/test.css b/test/test.css index 0e0fc0c..5ae1d7e 100644 --- a/test/test.css +++ b/test/test.css @@ -904,6 +904,15 @@ mask { display: proximity; } +.scroll-snap-2, +.scroll-snap-2:snapped-x, +.scroll-snap-2:snapped-y, +.scroll-snap-3:snapped-inline, +.scroll-snap-2:snapped-block, +.scroll-snap-2:snapped { + scroll-start-target: auto; +} + .scrollbars-1 { scrollbar-color: auto; scrollbar-width: auto; From d066e83f013676b6cbc9610b979a439a37d47a92 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Thu, 25 Jul 2024 07:01:25 +0900 Subject: [PATCH 382/400] Update conditional-5.vim https://www.w3.org/TR/2024/WD-css-conditional-5-20240723/ --- after/syntax/css/conditional-5.vim | 2 ++ test/test.css | 9 ++++++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/after/syntax/css/conditional-5.vim b/after/syntax/css/conditional-5.vim index 5f22acd..1a2e61c 100644 --- a/after/syntax/css/conditional-5.vim +++ b/after/syntax/css/conditional-5.vim @@ -1 +1,3 @@ +syn keyword cssFontProp contained container-type container-name container +syn keyword cssFontAttr contained inline-size syn match cssFontDescriptor "@\(when\|else\)\>" nextgroup=cssFontDescriptorBlock skipwhite skipnl diff --git a/test/test.css b/test/test.css index 5ae1d7e..2adda7c 100644 --- a/test/test.css +++ b/test/test.css @@ -198,8 +198,8 @@ } @supports (display: auto) or -(display: auto) not -(display: auto) { + (display: auto) not + (display: auto) { .conditional-3 { display: auto; } @@ -213,7 +213,10 @@ @when media(screen) { .conditional-5 { - display: auto; + container-type: auto; + container-name: auto; + container: auto; + display: inline-size; } } @else { .conditional-5 { From cd2dc6b9f7cc862f0b7bc428af7b00a8216813b1 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Thu, 8 Aug 2024 17:57:24 +0900 Subject: [PATCH 383/400] Update inline-3.vim --- after/syntax/css/inline-3.vim | 4 ++-- test/test.css | 5 +++++ 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/after/syntax/css/inline-3.vim b/after/syntax/css/inline-3.vim index 6b8585d..566a0fb 100644 --- a/after/syntax/css/inline-3.vim +++ b/after/syntax/css/inline-3.vim @@ -1,2 +1,2 @@ -syn keyword cssFontProp contained dominant-baseline alignment-baseline baseline-shift baseline-source text-box-edge text-box-trim inline-sizing initial-letter initial-letter-align initial-letter-wrap -syn keyword cssFontAttr contained central mathematical leading cap ex drop raise ideographic ideographic-ink +syn keyword cssFontProp contained dominant-baseline alignment-baseline baseline-shift baseline-source line-fit-edge text-box text-box-edge text-box-trim inline-sizing initial-letter initial-letter-align initial-letter-wrap +syn keyword cssFontAttr contained central mathematical leading cap ex drop raise ideographic ideographic-ink trim-start trim-end diff --git a/test/test.css b/test/test.css index 2adda7c..fcb4e45 100644 --- a/test/test.css +++ b/test/test.css @@ -538,6 +538,8 @@ template { alignment-baseline: auto; baseline-source: auto; baseline-shift: auto; + line-fit-edge: auto; + text-box: auto; text-box-edge: auto; text-box-trim: auto; inline-sizing: auto; @@ -553,6 +555,9 @@ template { display: ideographic-ink; display: drop; display: raise; + display: trim-start; + display: trim-end; + display: trim-both; } .layout-api-1 { From 17624f5993d2b1c07b647c71ecaa69528f6936f5 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Fri, 30 Aug 2024 07:32:21 +0900 Subject: [PATCH 384/400] Add easing-2.vim https://www.w3.org/TR/2024/WD-css-easing-2-20240829/ --- after/syntax/css/easing-2.vim | 1 + test/test.css | 4 ++++ 2 files changed, 5 insertions(+) create mode 100644 after/syntax/css/easing-2.vim diff --git a/after/syntax/css/easing-2.vim b/after/syntax/css/easing-2.vim new file mode 100644 index 0000000..f4b3dc8 --- /dev/null +++ b/after/syntax/css/easing-2.vim @@ -0,0 +1 @@ +syn region cssFunction contained matchgroup=cssFunctionName start="\ Date: Mon, 9 Sep 2024 07:24:45 +0900 Subject: [PATCH 385/400] Add values-5.vim https://www.w3.org/TR/2024/WD-css-values-5-20240903/ --- after/syntax/css/values-5.vim | 1 + test/test.css | 12 ++++++++++++ 2 files changed, 13 insertions(+) create mode 100644 after/syntax/css/values-5.vim diff --git a/after/syntax/css/values-5.vim b/after/syntax/css/values-5.vim new file mode 100644 index 0000000..f8729da --- /dev/null +++ b/after/syntax/css/values-5.vim @@ -0,0 +1 @@ +syn region cssFunction contained matchgroup=cssFunctionName start="\<\(\(\(media\|container\)-\)\=progress\|\(\(calc\|transform\)-\)\=mix\|cross-fade\|toggle\)\s*(" end=")" oneline keepend diff --git a/test/test.css b/test/test.css index 835eb07..8cab37b 100644 --- a/test/test.css +++ b/test/test.css @@ -1353,6 +1353,18 @@ view { display: sign(-4); } +.values-5 { + display: progress(1, 0, 100); + display: media-progress(width, 0, 100); + display: container-progress(width, 0, 100); + display: calc-mix(0.5, 0, 100); + display: color-mix(15%, black, white); + display: transform-mix(1, scale(0.5), rotate(10deg)); + display: mix(90%, red, blue); + display: cross-fade(15%, url(foo.png), white); + display: toggle(italic, normal); +} + .variables-1 { display: auto; } From e154d38c2d3791dc3cb70ef71d21a48a7635c2bc Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Tue, 17 Sep 2024 07:52:39 +0900 Subject: [PATCH 386/400] Update values-5.vim https://www.w3.org/TR/2024/WD-css-values-5-20240913/ --- after/syntax/css/values-5.vim | 4 +++- test/test.css | 9 +++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/after/syntax/css/values-5.vim b/after/syntax/css/values-5.vim index f8729da..6efee8d 100644 --- a/after/syntax/css/values-5.vim +++ b/after/syntax/css/values-5.vim @@ -1 +1,3 @@ -syn region cssFunction contained matchgroup=cssFunctionName start="\<\(\(\(media\|container\)-\)\=progress\|\(\(calc\|transform\)-\)\=mix\|cross-fade\|toggle\)\s*(" end=")" oneline keepend +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 diff --git a/test/test.css b/test/test.css index 8cab37b..1444a4e 100644 --- a/test/test.css +++ b/test/test.css @@ -1354,6 +1354,9 @@ view { } .values-5 { + interpolate-size: auto; + display: numeric-only; + display: allow-keyword; display: progress(1, 0, 100); display: media-progress(width, 0, 100); display: container-progress(width, 0, 100); @@ -1363,6 +1366,12 @@ view { display: mix(90%, red, blue); display: cross-fade(15%, url(foo.png), white); display: toggle(italic, normal); + display: first-valid(center, none, 1px); + display: random(1, 10, by 1); + display: random-item(--x, red, yellow, green); + display: sibling-count(); + display: sibling-index(); + display: calc-size(any, 0px); } .variables-1 { From f99c2ee07e6f9bf35ebe5019b846c435439fb974 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Sat, 21 Sep 2024 07:39:19 +0900 Subject: [PATCH 387/400] Add grid-3.vim https://www.w3.org/TR/2024/WD-css-grid-3-20240919/ --- after/syntax/css/grid-3.vim | 2 ++ test/test.css | 16 ++++++++++++++++ 2 files changed, 18 insertions(+) create mode 100644 after/syntax/css/grid-3.vim diff --git a/after/syntax/css/grid-3.vim b/after/syntax/css/grid-3.vim new file mode 100644 index 0000000..1eba909 --- /dev/null +++ b/after/syntax/css/grid-3.vim @@ -0,0 +1,2 @@ +syn keyword cssFontProp contained masonry-direction masonry-fill masonry-flow masonry masonry-template-tracks masonry-template-areas masonry-auto-tracks masonry-track-start masonry-track-end masonry-track masonry-slack +syn keyword cssFontAttr contained masonry inline-masonry diff --git a/test/test.css b/test/test.css index 1444a4e..7aa22f5 100644 --- a/test/test.css +++ b/test/test.css @@ -509,6 +509,22 @@ display: auto; } +.grid-3 { + masonry-direction: auto; + masonry-fill: auto; + masonry-flow: auto; + masonry: auto; + masonry-template-tracks: auto; + masonry-template-areas: auto; + masonry-auto-tracks: auto; + masonry-track-start: auto; + masonry-track-end: auto; + masonry-track: auto; + masonry-slack: auto; + display: masonry; + display: inline-masonry; +} + .highlight-api-1::highlight(test) { display: auto; } From 857f1af752bdbb5e245f2ac770aae1b115fd999b Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Sun, 6 Oct 2024 07:24:05 +0900 Subject: [PATCH 388/400] Update anchor-position-1.vim https://www.w3.org/TR/2024/WD-css-anchor-position-1-20241004/ --- after/syntax/css/anchor-position-1.vim | 4 ++-- test/test.css | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/after/syntax/css/anchor-position-1.vim b/after/syntax/css/anchor-position-1.vim index b51c086..1628ea2 100644 --- a/after/syntax/css/anchor-position-1.vim +++ b/after/syntax/css/anchor-position-1.vim @@ -1,4 +1,4 @@ -syn keyword cssFontProp contained anchor-name anchor-scope inset-area position-anchor position-try position-try-options position-try-order -syn keyword cssFontAttr contained span-left span-right span-x-start span-x-end x-self-start x-self-end span-x-self-start span-x-self-end span-all span-top span-bottom span-y-start span-y-end y-self-start y-self-end span-y-self-start span-y-self-end block-start block-end span-block-start span-block-end self-block-start self-block-end span-self-block-start span-self-block-end inline-start inline-end span-inline-start span-inline-end self-inline-start self-inline-end span-self-inline-start span-self-inline-end span-start span-end self-start self-end span-self-start span-self-end implicit anchor-center most-width most-height most-block-size most-inline-size flip-block flip-inline flip-start +syn keyword cssFontProp contained anchor-name anchor-scope position-area position-anchor position-try position-try-fallbacks position-try-order position-visibility +syn keyword cssFontAttr contained span-left span-right span-x-start span-x-end x-self-start x-self-end span-x-self-start span-x-self-end span-all span-top span-bottom span-y-start span-y-end y-self-start y-self-end span-y-self-start span-y-self-end block-start block-end span-block-start span-block-end self-block-start self-block-end span-self-block-start span-self-block-end inline-start inline-end span-inline-start span-inline-end self-inline-start self-inline-end span-self-inline-start span-self-inline-end span-start span-end self-start self-end span-self-start span-self-end anchor-center most-width most-height most-block-size most-inline-size flip-block flip-inline flip-start syn region cssFunction contained matchgroup=cssFunctionName start="\" nextgroup=cssFontDescriptorBlock skipwhite skipnl diff --git a/test/test.css b/test/test.css index 7aa22f5..ddee59a 100644 --- a/test/test.css +++ b/test/test.css @@ -13,11 +13,12 @@ @position-try --anchor-position-1 { anchor-name: auto; anchor-scope: auto; - inset-area: auto; + position-area: auto; position-anchor: auto; position-try: auto; - position-try-options: auto; + position-try-fallbacks: auto; position-try-order: auto; + position-visibility: auto; display: span-left; display: span-right; display: span-x-start; @@ -51,7 +52,6 @@ display: span-end; display: span-self-start; display: span-self-end; - display: implicit; display: anchor-center; display: most-width; display: most-height; From 02dd66a1d0477c039702433dca1f260c7dc75b8a Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Sun, 6 Oct 2024 14:46:48 +0900 Subject: [PATCH 389/400] Format --- after/syntax/css/easing-2.vim | 2 +- test/test.css | 1894 ++++++++++++++++----------------- 2 files changed, 948 insertions(+), 948 deletions(-) diff --git a/after/syntax/css/easing-2.vim b/after/syntax/css/easing-2.vim index f4b3dc8..52ed747 100644 --- a/after/syntax/css/easing-2.vim +++ b/after/syntax/css/easing-2.vim @@ -1 +1 @@ -syn region cssFunction contained matchgroup=cssFunctionName start="\ Date: Sun, 6 Oct 2024 14:47:16 +0900 Subject: [PATCH 390/400] 2.5.0 From b7778bc2094f2ab99046ce1176c503d9acb7a0bb Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Wed, 13 Nov 2024 07:22:02 +0900 Subject: [PATCH 391/400] Update values-5.vim https://www.w3.org/TR/2024/WD-css-values-5-20241111/ --- after/syntax/css/values-5.vim | 2 +- test/test.css | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/after/syntax/css/values-5.vim b/after/syntax/css/values-5.vim index 6efee8d..46052b8 100644 --- a/after/syntax/css/values-5.vim +++ b/after/syntax/css/values-5.vim @@ -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 diff --git a/test/test.css b/test/test.css index fa7b5e2..5298992 100644 --- a/test/test.css +++ b/test/test.css @@ -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(); From 000f04273ca7f0ebb6bf9284947e6fa066be0344 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Thu, 19 Dec 2024 07:56:46 +0900 Subject: [PATCH 392/400] Add color-hdr-1.vim https://www.w3.org/TR/2024/WD-css-color-hdr-1-20241217/ --- after/syntax/css/color-hdr-1.vim | 3 +++ test/test.css | 7 +++++++ 2 files changed, 10 insertions(+) create mode 100644 after/syntax/css/color-hdr-1.vim diff --git a/after/syntax/css/color-hdr-1.vim b/after/syntax/css/color-hdr-1.vim new file mode 100644 index 0000000..a5e67fe --- /dev/null +++ b/after/syntax/css/color-hdr-1.vim @@ -0,0 +1,3 @@ +syn keyword cssFontProp contained dynamic-range-limit +syn keyword cssFontAttr contained standard constrained-high +syn region cssFunction contained matchgroup=cssFunctionName start="\ Date: Thu, 19 Dec 2024 08:05:16 +0900 Subject: [PATCH 393/400] Add overflow-5.vim https://www.w3.org/TR/2024/WD-css-overflow-5-20241217/ --- after/syntax/css/overflow-5.vim | 2 ++ test/test.css | 6 ++++++ 2 files changed, 8 insertions(+) create mode 100644 after/syntax/css/overflow-5.vim diff --git a/after/syntax/css/overflow-5.vim b/after/syntax/css/overflow-5.vim new file mode 100644 index 0000000..de93dc4 --- /dev/null +++ b/after/syntax/css/overflow-5.vim @@ -0,0 +1,2 @@ +syn keyword cssFontProp contained scroll-marker-group +syn keyword cssPseudoClassId contained scroll-marker-group scroll-marker target-current diff --git a/test/test.css b/test/test.css index 27c3e86..de3b448 100644 --- a/test/test.css +++ b/test/test.css @@ -752,6 +752,12 @@ mask { display: fragments; } +.overflow-5::scroll-marker-group, +.overflow-5::scroll-marker, +.overflow-5:target-current { + sroll-marker-group: auto; +} + .overscroll-1 { overscroll-behavior: auto; overscroll-behavior-block: auto; From 8d496ec6648bdee271b4e54ad0079f8f10e7c7c6 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Sat, 21 Dec 2024 07:48:27 +0900 Subject: [PATCH 394/400] Add display-4.vim https://www.w3.org/TR/2024/WD-css-display-4-20241219/ --- after/syntax/css/display-4.vim | 2 ++ test/test.css | 8 ++++++++ 2 files changed, 10 insertions(+) create mode 100644 after/syntax/css/display-4.vim diff --git a/after/syntax/css/display-4.vim b/after/syntax/css/display-4.vim new file mode 100644 index 0000000..43e07f5 --- /dev/null +++ b/after/syntax/css/display-4.vim @@ -0,0 +1,2 @@ +syn keyword cssFontProp contained reading-flow +syn keyword cssFontAttr contained flex-visual flex-flow grid-rows grid-columns diff --git a/test/test.css b/test/test.css index de3b448..597704e 100644 --- a/test/test.css +++ b/test/test.css @@ -339,6 +339,14 @@ display: run-in; } +.display-4 { + reading-flow: auto; + display: flex-visual; + display: flex-flow; + display: grid-rows; + display: grid-columns; +} + .easing-1 { display: auto; } From 4f8d08e82b7125d4c9a63eec7b60bc1695d09d23 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Sat, 21 Dec 2024 07:53:44 +0900 Subject: [PATCH 395/400] Add multicol-2.vim https://www.w3.org/TR/2024/WD-css-multicol-2-20241219/ --- after/syntax/css/multicol-2.vim | 1 + test/test.css | 4 ++++ 2 files changed, 5 insertions(+) create mode 100644 after/syntax/css/multicol-2.vim diff --git a/after/syntax/css/multicol-2.vim b/after/syntax/css/multicol-2.vim new file mode 100644 index 0000000..3ae7c15 --- /dev/null +++ b/after/syntax/css/multicol-2.vim @@ -0,0 +1 @@ +syn keyword cssPseudoClassId contained column diff --git a/test/test.css b/test/test.css index 597704e..c495237 100644 --- a/test/test.css +++ b/test/test.css @@ -720,6 +720,10 @@ mask { display: balance-all; } +.multicol-2::column { + display: auto: +} + .namespace-3 { display: auto; } From cc35f339d86aed4765eacfc8df321d9c12d7dd22 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Sun, 5 Jan 2025 08:03:07 +0900 Subject: [PATCH 396/400] 2.6.0 From a6133ac2ffbfa42c6998b3154681073eb2ae16fa Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Tue, 11 Feb 2025 07:34:59 +0900 Subject: [PATCH 397/400] Update grid-3.vim https://www.w3.org/TR/2025/WD-css-grid-3-20250207/ --- after/syntax/css/grid-3.vim | 2 +- test/test.css | 21 ++++++++++++++------- 2 files changed, 15 insertions(+), 8 deletions(-) diff --git a/after/syntax/css/grid-3.vim b/after/syntax/css/grid-3.vim index 1eba909..c89a30b 100644 --- a/after/syntax/css/grid-3.vim +++ b/after/syntax/css/grid-3.vim @@ -1,2 +1,2 @@ -syn keyword cssFontProp contained masonry-direction masonry-fill masonry-flow masonry masonry-template-tracks masonry-template-areas masonry-auto-tracks masonry-track-start masonry-track-end masonry-track masonry-slack +syn keyword cssFontProp contained masonry-direction masonry-fill masonry-flow masonry masonry-template-tracks masonry-template-areas masonry-auto-tracks masonry-track-start masonry-track-end masonry-track masonry-slack item-track item-direction item-wrap item-cross item-pack item-slack item-flow syn keyword cssFontAttr contained masonry inline-masonry diff --git a/test/test.css b/test/test.css index c495237..1d53244 100644 --- a/test/test.css +++ b/test/test.css @@ -340,11 +340,11 @@ } .display-4 { - reading-flow: auto; - display: flex-visual; - display: flex-flow; - display: grid-rows; - display: grid-columns; + reading-flow: auto; + display: flex-visual; + display: flex-flow; + display: grid-rows; + display: grid-columns; } .easing-1 { @@ -536,6 +536,13 @@ masonry-track-end: auto; masonry-track: auto; masonry-slack: auto; + item-track: auto; + item-direction: auto; + item-wrap: auto; + item-cross: auto; + item-pack: auto; + item-slack: auto; + item-flow: auto; display: masonry; display: inline-masonry; } @@ -721,7 +728,7 @@ mask { } .multicol-2::column { - display: auto: + display: auto: } .namespace-3 { @@ -767,7 +774,7 @@ mask { .overflow-5::scroll-marker-group, .overflow-5::scroll-marker, .overflow-5:target-current { - sroll-marker-group: auto; + sroll-marker-group: auto; } .overscroll-1 { From b0bc65e6f836e39fee5e064b698d0da4256676f7 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Thu, 27 Mar 2025 08:11:25 +0900 Subject: [PATCH 398/400] Add forms-1.vim https://www.w3.org/TR/2025/WD-css-forms-1-20250325/ --- after/syntax/css/forms-1.vim | 5 +++++ test/test.css | 29 +++++++++++++++++++++++++++++ 2 files changed, 34 insertions(+) create mode 100644 after/syntax/css/forms-1.vim diff --git a/after/syntax/css/forms-1.vim b/after/syntax/css/forms-1.vim new file mode 100644 index 0000000..31ce433 --- /dev/null +++ b/after/syntax/css/forms-1.vim @@ -0,0 +1,5 @@ +syn keyword cssFontProp contained slider-orientation +syn keyword cssFontAttr contained base left-to-right right-to-left top-to-bottom bottom-to-top +syn keyword cssPseudoClassId contained picker-icon file-selector-button checkmark thumb track fill field-text clear-icon placeholder step-control step-up step-down field-component field-separator color-swatch low-value high-value optimal-value +syn region cssPseudoClassFn contained matchgroup=cssFunctionName start="\); + display: left-to-right; + display: right-to-left; + display: top-to-bottom; + display: bottom-to-top; +} + .gcpm-3::footnote-call, .gcpm-3::footnote-marker { running: auto; From 2a04f2d27ce2567649c8bcf3d0035c91e69d0515 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Thu, 10 Apr 2025 06:32:15 +0900 Subject: [PATCH 399/400] 2.7.0 From adbc12f2ee0d7c5f9b049b40cb6b6858366584a5 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Sat, 19 Apr 2025 09:07:43 +0900 Subject: [PATCH 400/400] Add gaps-1.vim https://www.w3.org/TR/2025/WD-css-gaps-1-20250417/ --- after/syntax/css/gaps-1.vim | 2 ++ test/test.css | 22 ++++++++++++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 after/syntax/css/gaps-1.vim diff --git a/after/syntax/css/gaps-1.vim b/after/syntax/css/gaps-1.vim new file mode 100644 index 0000000..f566ada --- /dev/null +++ b/after/syntax/css/gaps-1.vim @@ -0,0 +1,2 @@ +syn keyword cssFontProp contained column-rule-break row-rule-break rule-break column-rule-outset row-rule-outset rule-outset rule-paint-order row-rule-color row-rule-style row-rule-width row-rule rule-color rule-style rule-width rule +syn keyword cssFontAttr contained spanning-item intersection row-over-column column-over-row diff --git a/test/test.css b/test/test.css index 5ddddb9..d196b4b 100644 --- a/test/test.css +++ b/test/test.css @@ -526,6 +526,28 @@ display: bottom-to-top; } +.gaps-1 { + column-rule-break: auto; + row-rule-break: auto; + rule-break: auto; + column-rule-outset: auto; + row-rule-outset: auto; + rule-outset: auto; + rule-paint-order: auto; + row-rule-color: auto; + row-rule-style: auto; + row-rule-width: auto; + row-rule: auto; + rule-color: auto; + rule-style: auto; + rule-width: auto; + rule: auto; + display: spanning-item; + display: intersection; + display: row-over-column; + display: column-over-row; +} + .gcpm-3::footnote-call, .gcpm-3::footnote-marker { running: auto;