Compare commits

..

8 Commits

Author SHA1 Message Date
Kyo Nagashima
39e6999142 1.3.0 2019-05-23 09:14:14 +09:00
Kyo Nagashima
d4fb6dfd46 Add color-adjust-1.vim
See also: https://www.w3.org/TR/2019/WD-css-color-adjust-1-20190521/
2019-05-23 09:12:31 +09:00
Kyo Nagashima
bb0b14c8ad WD-css-lists-3-20190425
See also: https://www.w3.org/TR/2019/WD-css-lists-3-20190425/
2019-05-07 09:19:15 +09:00
Kyo Nagashima
d578651937 CR-css-contain-1-20190430
No changes, see also: https://www.w3.org/TR/2019/CR-css-contain-1-20190430/
2019-05-07 09:11:03 +09:00
Kyo Nagashima
d9f7b79780 CR-css-easing-1-20190430
No changes, see also: https://www.w3.org/TR/2019/CR-css-easing-1-20190430/
2019-05-07 09:09:49 +09:00
Kyo Nagashima
26f59493b9 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/
2019-04-24 09:03:56 +09:00
Kyo Nagashima
1d8006de19 Delete selectors-nonelement-1.vim
Non-element Selectors Module Level 1 was sent to note.
2019-04-04 08:49:33 +09:00
Kyo Nagashima
0caf93fcd5 CR-css-scroll-snap-1-20190319
No changes.
2019-03-20 08:47:26 +09:00
6 changed files with 22 additions and 5 deletions

View File

@@ -1,3 +1,2 @@
syn match cssColorProp contained "\<color-adjust\>"
syn region cssFunction contained matchgroup=cssFunctionName start="\<\(hwb\|lab\|lch\|gray\|color\|device-cmyk\=\)\s*(" end=")" oneline keepend syn region cssFunction contained matchgroup=cssFunctionName start="\<\(hwb\|lab\|lch\|gray\|color\|device-cmyk\=\)\s*(" end=")" oneline keepend
syn match cssFontDescriptor "@color-profile\>" nextgroup=cssFontDescriptorBlock skipwhite skipnl syn match cssFontDescriptor "@color-profile\>" nextgroup=cssFontDescriptorBlock skipwhite skipnl

View File

@@ -0,0 +1,3 @@
syn match cssColorProp contained "\<\(forced-\)\=color-adjust\>"
syn match cssColorProp contained "\<color-scheme\>"
syn keyword cssFontAttr contained only economy exact

View File

@@ -1,6 +1,6 @@
syn match cssGeneratedContentProp contained "\<marker-side\>" syn match cssGeneratedContentProp contained "\<marker-side\>"
syn match cssGeneratedContentProp contained "\<counter-set\>" syn match cssGeneratedContentProp contained "\<counter-set\>"
syn keyword cssGeneratedContentAttr contained marker syn keyword cssGeneratedContentAttr contained marker
syn match cssGeneratedContentAttr contained "\<match-self\>"
syn match cssGeneratedContentAttr contained "\<list-container\>" syn match cssGeneratedContentAttr contained "\<list-container\>"
syn keyword cssPseudoClassId contained marker
syn region cssFunction contained matchgroup=cssFunctionName start="\<counters\s*(" end=")" oneline keepend syn region cssFunction contained matchgroup=cssFunctionName start="\<counters\s*(" end=")" oneline keepend

View File

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

View File

@@ -1 +0,0 @@
syn region cssPseudoClassLang matchgroup=cssPseudoClassId start="::attr(" end=")" oneline

View File

@@ -88,7 +88,6 @@
} }
.color-4 { .color-4 {
color-adjust: auto;
display: hwb(120deg, 44%, 50%); display: hwb(120deg, 44%, 50%);
display: lab(1 2 3); display: lab(1 2 3);
display: lch(4 5 6); display: lch(4 5 6);
@@ -101,6 +100,15 @@
src: url("http://example.org/swop-coated.icc"); src: url("http://example.org/swop-coated.icc");
} }
.color-adjust-1 {
color-scheme: auto;
forced-color-adjust: auto;
color-adjust: auto;
display: only;
display: economy;
display: exact;
}
.compositing-1 { .compositing-1 {
mix-blend-mode: auto; mix-blend-mode: auto;
isolation: auto; isolation: auto;
@@ -462,7 +470,7 @@ template {
.lists-3::marker { .lists-3::marker {
marker-side: auto; marker-side: auto;
counter-set: auto; counter-set: auto;
display: marker; display: match-self;
display: list-container; display: list-container;
display: counters(lack-of-example); display: counters(lack-of-example);
} }
@@ -580,6 +588,12 @@ mask {
display: auto; display: auto;
} }
.nav-1 {
spatial-navigation-contain: auto;
spatial-navigation-action: auto;
display: focus;
}
.overflow-3 { .overflow-3 {
max-lines: auto; max-lines: auto;
block-overflow: auto; block-overflow: auto;