Compare commits

...

50 Commits

Author SHA1 Message Date
Kyo Nagashima
e4f8096b95 1.4.0 2019-10-26 20:32:08 +09:00
Kyo Nagashima
ba724e7725 Update properties-values-api-1.vim
https://www.w3.org/TR/2019/WD-css-properties-values-api-1-20191025/
2019-10-26 20:30:41 +09:00
Kyo Nagashima
037c11a418 Update writing-modes-3.vim
https://www.w3.org/TR/2019/PR-css-writing-modes-3-20191024/
2019-10-24 17:52:43 +09:00
Kyo Nagashima
6c4e888d30 Update multicol-1.vim
https://www.w3.org/TR/2019/WD-css-multicol-1-20191015/
2019-10-17 14:54:21 +09:00
Kyo Nagashima
ac5da79ba0 Update contain-1.vim
https://www.w3.org/TR/2019/PR-css-contain-1-20191015/
2019-10-15 21:12:57 +09:00
Kyo Nagashima
9f8026cdc7 Add contain-2.vim
https://www.w3.org/TR/2019/WD-css-contain-2-20191015/
2019-10-15 21:12:26 +09:00
Kyo Nagashima
0c7d58818c Update images-3.vim
https://www.w3.org/TR/2019/CR-css-images-3-20191010/
2019-10-12 07:55:59 +09:00
Kyo Nagashima
7eaca88c16 Update writing-modes-3.vim
https://www.w3.org/TR/2019/CR-css-writing-modes-3-20190903/
2019-09-04 19:22:42 +09:00
Kyo Nagashima
cfaa56b81b Update lists-3.vim
https://www.w3.org/TR/2019/WD-css-lists-3-20190817/
2019-08-19 22:38:47 +09:00
Kyo Nagashima
d467649124 Update text-decor-3.vim
https://www.w3.org/TR/2019/CR-css-text-decor-3-20190813/
2019-08-14 19:34:08 +09:00
Kyo Nagashima
c67661a5df Update content-3.vim
https://www.w3.org/TR/2019/WD-css-content-3-20190802/
2019-08-04 08:03:33 +09:00
Kyo Nagashima
566c51cc9e Update writing-modes-4.vim
https://www.w3.org/TR/2019/CR-css-writing-modes-4-20190730/
2019-07-31 18:26:53 +09:00
Kyo Nagashima
d733704733 Update writing-modes-3.vim
https://www.w3.org/TR/2019/CR-css-writing-modes-3-20190730/
2019-07-31 18:24:03 +09:00
Kyo Nagashima
c9c7ec3896 Update tables-3.vim
https://www.w3.org/TR/2019/WD-css-tables-3-20190727/
2019-07-29 21:00:10 +09:00
Kyo Nagashima
bdfc1fde87 Revert author URL 2019-07-24 07:52:35 +09:00
Kyo Nagashima
29ade81400 Update syntax-3.vim
https://www.w3.org/TR/2019/CR-css-syntax-3-20190716/
2019-07-17 08:36:55 +09:00
Kyo Nagashima
c5ea01f581 Update display-3.vim
https://www.w3.org/TR/2019/CR-css-display-3-20190711/
2019-07-12 21:09:23 +09:00
Kyo Nagashima
a383e34b23 Update content-3.vim
https://www.w3.org/TR/2019/WD-css-content-3-20190710/
2019-07-12 07:56:57 +09:00
Kyo Nagashima
a0d55ac3aa Update meta information 2019-06-29 18:58:14 +09:00
Kyo Nagashima
dc7b427e5b Add animation-worklet-1.vim
https://www.w3.org/TR/2019/WD-css-animation-worklet-1-20190625/
2019-06-27 14:34:21 +09:00
Kyo Nagashima
22c5e8078d Add overscroll-1.vim
https://www.w3.org/TR/2019/WD-css-overscroll-1-20190606/
2019-06-08 09:11:26 +09:00
Kyo Nagashima
84c88ac746 Update values-3.vim
No changes.

https://www.w3.org/TR/2019/CR-css-values-3-20190606/
2019-06-08 09:06:45 +09:00
Kyo Nagashima
af915e056e Update color-adjust-1.vim
https://www.w3.org/TR/2019/WD-css-color-adjust-1-20190523/
2019-05-25 14:33:03 +09:00
Kyo Nagashima
547e1de69f Update sizing-3.vim
https://www.w3.org/TR/2019/WD-css-sizing-3-20190522/
2019-05-24 08:47:17 +09:00
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
Kyo Nagashima
ddf0eb895b 1.2.1 2019-03-07 08:27:09 +09:00
Kyo Nagashima
c988c907b1 WD-css-color-4-20190305
See also: https://www.w3.org/TR/2019/WD-css-color-4-20190305/
2019-03-07 08:23:49 +09:00
Kyo Nagashima
bb5e83b87e WD-css-pseudo-4-20190225
No changes, see also: https://www.w3.org/TR/2019/WD-css-pseudo-4-20190225/
2019-02-27 09:33:13 +09:00
Kyo Nagashima
1c12bd23d3 CR-css-transforms-1-20190214
No changes, see also: https://www.w3.org/TR/2019/CR-css-transforms-1-20190214/
2019-02-16 09:04:36 +09:00
Kyo Nagashima
affd38a44b WD-css-values-4-20190131
No changes, see also: https://www.w3.org/TR/2019/WD-css-values-4-20190131/
2019-02-05 08:54:35 +09:00
Kyo Nagashima
f1717bf967 CR-css-values-3-20190131
No changes, see also: https://www.w3.org/TR/2019/CR-css-values-3-20190131/
2019-02-05 08:53:39 +09:00
Kyo Nagashima
3c2368b4ca CR-css-scroll-snap-1-20190131
No changes, see also: https://www.w3.org/TR/2019/CR-css-scroll-snap-1-20190131/
2019-02-05 08:52:18 +09:00
Kyo Nagashima
d7f0f43dfc Follow changes in WD-motion-1-20181218
See also: https://www.w3.org/TR/2018/WD-motion-1-20181218/
2018-12-27 15:31:34 +09:00
Kyo Nagashima
148d27c9d4 Follow changes in WD-filter-effects-1-20181218
No changes, see also: https://www.w3.org/TR/2018/WD-filter-effects-1-20181218/
2018-12-27 15:28:36 +09:00
Kyo Nagashima
1f314d95de Follow changes in WD-css-break-4-20181218
See also: https://www.w3.org/TR/2018/WD-css-break-4-20181218/
2018-12-27 15:28:18 +09:00
Kyo Nagashima
ef5b1c791a Follow changes in WD-css-box-3-20181218
See also: https://www.w3.org/TR/2018/WD-css-box-3-20181218/
2018-12-27 15:21:53 +09:00
Kyo Nagashima
119c13f32a Follow changes in WD-css-text-3-20181212
No changes, see also: https://www.w3.org/TR/2018/WD-css-text-3-20181212/
2018-12-14 08:18:59 +09:00
Kyo Nagashima
91840fcbcf Follow changes in WD-css-align-3-20181206
No changes, see also: https://www.w3.org/TR/2018/WD-css-align-3-20181206/
2018-12-07 09:09:05 +09:00
Kyo Nagashima
c6aba8159f Follow changes in WD-css-text-3-20181206
See also: https://www.w3.org/TR/2018/WD-css-text-3-20181206/
2018-12-07 09:02:26 +09:00
Kyo Nagashima
85a16304be Follow changes in CR-css-break-3-20181204
No changes, see also: https://www.w3.org/TR/2018/CR-css-break-3-20181204/
2018-12-06 08:51:38 +09:00
Kyo Nagashima
61cc3366f8 Follow changes in CR-geometry-1-20181204
No changes, see also: https://www.w3.org/TR/2018/CR-geometry-1-20181204/
2018-12-06 08:47:16 +09:00
Kyo Nagashima
4337a246ac 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).
2018-12-03 16:19:56 +09:00
Kyo Nagashima
0b516ea879 Follow changes in WD-filter-effects-1-20181124
No changes, see also: https://www.w3.org/TR/2018/WD-filter-effects-1-20181124/
2018-11-25 23:13:39 +09:00
17 changed files with 65 additions and 13 deletions

View File

@@ -89,7 +89,7 @@ Kyo Nagashima <hail2u@gmail.com> (https://kyonagashima.com/)
LICENSE
-------
MIT: http://hail2u.mit-license.org/2011
MIT License
[1]: http://www.vim.org/

View File

View File

@@ -1,3 +1,5 @@
syn match cssBoxProp contained "\<margin-trim\>"
syn match cssBoxAttr contained "\<in-flow\>"
" These will be moved to block-3
syn match cssBoxProp contained "\<clear-after\>"
syn match cssBoxProp contained "\<float-displace\>"

View File

@@ -0,0 +1,2 @@
syn match cssBoxProp contained "\<margin-break\>"
syn keyword cssFontAttr contained keep

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

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

View File

@@ -1,6 +1,6 @@
syn match cssFontProp contained "\<object-\(fit\|position\)\>"
syn match cssFontProp contained "\<image-orientation\>"
syn keyword cssFontAttr contained snap
syn keyword cssFontAttr contained snap flip
syn match cssFontAttr contained "\<scale-down\>"
syn match cssFontAttr contained "\<from-image\>"
syn region cssFunction contained matchgroup=cssFunctionName start="\<\(repeating-\(linear\|radial\)-gradient\)\s*(" end=")" oneline keepend

View File

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

View File

@@ -1,2 +1,2 @@
syn match cssFontProp contained "\<offset\(-\(path\|distance\|anchor\|rotate\)\)\=\>"
syn match cssFontProp contained "\<offset\(-\(path\|distance\|position\|anchor\|rotate\)\)\=\>"
syn region cssFunction contained matchgroup=cssFunctionName start="\<\(ray\|path\)\s*(" end=")" oneline keepend

View File

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

View File

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

View File

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

View File

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

View File

@@ -7,3 +7,5 @@ syn keyword cssTextAttr contained manual loose strict hanging anywhere
syn match cssTextAttr contained "\<match-parent\>"
syn match cssTextAttr contained "\<each-line\>"
syn match cssTextAttr contained "\<full-width\>"
syn match cssTextAttr contained "\<justify-all\>"
syn match cssTextAttr contained "\<break-spaces\>"

View File

@@ -1 +1 @@
syn keyword cssFontAttr contained flat
syn match cssFontProp contained "\<transform-box\>"

View File

@@ -43,6 +43,9 @@
}
.box-3 {
margin-trim: auto;
display: in-flow;
/* .block-3 */
clear-after: auto;
float-displace: auto;
indent-edge-reset: auto;
@@ -63,6 +66,11 @@
display: verso;
}
.break-4 {
margin-break: auto;
display: keep;
}
.cascade-3 {
all: auto;
display: initial;
@@ -80,20 +88,27 @@
}
.color-4 {
color-adjust: auto;
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: color-mod(#112233 tint(50%));
}
@color-profile swopc {
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;
@@ -130,6 +145,10 @@
display: size;
}
.contain-2 {
display: auto;
}
.content-3 {
string-set: auto;
bookmark-level: auto;
@@ -412,6 +431,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);
@@ -455,7 +475,7 @@ template {
.lists-3::marker {
marker-side: auto;
counter-set: auto;
display: marker;
display: match-self;
display: list-container;
display: counters(lack-of-example);
}
@@ -557,6 +577,7 @@ mask {
.motion-1 {
offset-path: auto;
offset-distance: auto;
offset-position: auto;
offset-anchor: auto;
offset-rotate: auto;
offset: auto;
@@ -572,6 +593,12 @@ mask {
display: auto;
}
.nav-1 {
spatial-navigation-contain: auto;
spatial-navigation-action: auto;
display: focus;
}
.overflow-3 {
max-lines: auto;
block-overflow: auto;
@@ -590,6 +617,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;
@@ -627,7 +662,9 @@ mask {
}
.properties-values-api-1 {
display: auto;
syntax: auto;
inherits: auto;
initial-value: auto;
}
.pseudo-4::inactive-selection,
@@ -929,6 +966,8 @@ view {
display: each-line;
display: full-width;
display: anywhere;
display: justify-all;
display: break-spaces;
}
.text-4 {
@@ -1010,7 +1049,7 @@ view {
}
.transforms-1 {
display: flat;
transform-box: auto;
}
.transitions-1 {