Compare commits

..

15 Commits

Author SHA1 Message Date
Kyo Nagashima
dcb96c01ca Version 0.24.3 2017-08-24 12:28:53 +09:00
Kyo Nagashima
fa194bb638 Follow changes in WD-css-text-3-20131010
See also:
http://www.w3.org/TR/2013/WD-css-text-3-20131010/
2017-08-24 04:18:13 +09:00
Kyo Nagashima
ff32d693f5 Follow changes in CR-css-contain-1-20170808
No changes, see also: http://www.w3.org/TR/2017/CR-css-contain-1-20170808/
2017-08-09 07:11:49 +09:00
Kyo Nagashima
63de9cc2f7 Follow changes in css-typed-om-1-20170801
No changes, see also: http://www.w3.org/TR/2017/WD-css-typed-om-1-20170801/
2017-08-02 18:16:34 +09:00
Kyo Nagashima
912bb8944f Version 0.24.2 2017-07-21 22:41:42 +09:00
Kyo Nagashima
1efb945868 Follow changes in WD-css-align-3-20170720
No changes, see also: http://www.w3.org/TR/2017/WD-css-align-3-20170720/
2017-07-21 22:41:10 +09:00
Kyo Nagashima
da08f55d67 Follow changes in WD-css-display-3-20170720
See also: http://www.w3.org/TR/2017/WD-css-display-3-20170720/
2017-07-21 22:38:19 +09:00
Kyo Nagashima
d51d95c7fe Follow changes in WD-motion-1-20170711
See also: http://www.w3.org/TR/2017/WD-motion-1-20170711/
2017-07-21 22:35:34 +09:00
Kyo Nagashima
e58e59dd42 Version 0.24.1 2017-07-11 19:13:16 +09:00
Kyo Nagashima
05a535f954 Follow changes in WD-css-fonts-4-20170711
See also: http://www.w3.org/TR/2017/WD-css-fonts-4-20170711/
2017-07-11 19:12:43 +09:00
Kyo Nagashima
789b3fa6e8 Version 0.24.0 2017-06-13 16:56:19 +09:00
Kyo Nagashima
c3c6083d44 Add css-overflow-4.vim
See also: http://www.w3.org/TR/2017/WD-css-overflow-4-20170613/
2017-06-13 16:55:05 +09:00
Kyo Nagashima
d8fcec92e3 Version 0.23.0 2017-05-19 02:26:23 +09:00
Kyo Nagashima
092f7c3c67 Add css-logical-1.vim
See also: http://www.w3.org/TR/2017/WD-css-logical-1-20170518/
2017-05-19 02:25:52 +09:00
Kyo Nagashima
ff05f0f5eb Follow changes in WD-css-align-3-20170515
No changes, see also: http://www.w3.org/TR/2017/WD-css-align-3-20170515/
2017-05-19 02:03:54 +09:00
9 changed files with 193 additions and 26 deletions

View File

@@ -1,4 +1,2 @@
" TODO: create cssDisplayProp group and cssDisplayAttr group
syn keyword cssFontAttr contained contents discard syn keyword cssFontAttr contained contents discard
syn match cssFontAttr contained "\<flow\(-root\)\=\>" syn match cssFontAttr contained "\<flow\(-root\)\=\>"
syn match cssFontAttr contained "\<inline-list-item\>"

View File

@@ -1,4 +1,10 @@
syn match cssFontProp contained "\<font-\(min\|max\)-size\>"
syn match cssFontProp contained "\<font-display\>"
syn match cssFontProp contained "\<font-optical-sizing\>" syn match cssFontProp contained "\<font-optical-sizing\>"
syn match cssFontProp contained "\<font-variation-settings\>" syn match cssFontProp contained "\<font-variation-settings\>"
syn keyword cssFontAttr contained emoji math fangsong syn match cssFontProp contained "\<font-palette\>"
syn match cssFontProp contained "\<font-presentation\>"
syn match cssFontProp contained "\<base-palette\>"
syn keyword cssFontAttr contained emoji math fangsong infinity swap fallback optional light dark
syn match cssFontAttr contained "\<system-ui\>" syn match cssFontAttr contained "\<system-ui\>"
syn region cssInclude start=/@font-palette-values\>/ end=/\ze{/ skipwhite skipnl contains=css.*Prop,css.*Attr,cssValueInteger,cssValueLength,cssMediaKeyword,cssVendor,cssIncludeKeyword,cssComment nextgroup=cssMediaBlock

View File

@@ -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 "\<border-\(block\|inline\)\(\(-\(start\|end\)\)\=\(-\(width\|style\|color\)\)\=\)\=\>"
syn match cssFontProp contained "\<\(background\|border\)-image-transform\>"
syn keyword cssFontAttr contained logical physical rotate

View File

@@ -0,0 +1,4 @@
syn keyword cssFontProp contained continue
syn match cssFontProp contained "\<scrollbar-gutter\>"
syn keyword cssFontAttr contained stable force overflow paginate fragments
syn region cssPseudoClassLang matchgroup=cssPseudoClassId start=":\(nth-fragment\)(" end=")" oneline

View File

@@ -2,7 +2,8 @@ syn keyword cssTextProp contained hyphens
syn match cssTextProp contained "\<line-break\>" syn match cssTextProp contained "\<line-break\>"
syn match cssTextProp contained "\<overflow-wrap\>" syn match cssTextProp contained "\<overflow-wrap\>"
syn match cssTextProp contained "\<tab-size\>" syn match cssTextProp contained "\<tab-size\>"
syn keyword cssTextAttr contained manual loose strict hanging syn match cssTextProp contained "\<text-align-all\>"
syn keyword cssTextAttr contained manual loose strict hanging anywhere
syn match cssTextAttr contained "\<match-parent\>" syn match cssTextAttr contained "\<match-parent\>"
syn match cssTextAttr contained "\<each-line\>" syn match cssTextAttr contained "\<each-line\>"
syn match cssTextAttr contained "\<full-width\>" syn match cssTextAttr contained "\<full-width\>"

View File

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

View File

@@ -20,8 +20,10 @@ syn include @htmlCss syntax/css/css-images-4.vim
syn include @htmlCss syntax/css/css-inline-3.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-line-grid-1.vim
syn include @htmlCss syntax/css/css-lists-3.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-masking-1.vim
syn include @htmlCss syntax/css/css-overflow-3.vim syn include @htmlCss syntax/css/css-overflow-3.vim
syn include @htmlCss syntax/css/css-overflow-4.vim
syn include @htmlCss syntax/css/css-page-floats-3.vim syn include @htmlCss syntax/css/css-page-floats-3.vim
syn include @htmlCss syntax/css/css-paint-api-1.vim syn include @htmlCss syntax/css/css-paint-api-1.vim
syn include @htmlCss syntax/css/css-position-3.vim syn include @htmlCss syntax/css/css-position-3.vim

View File

@@ -214,7 +214,6 @@
display: flow; display: flow;
display: flow-root; display: flow-root;
display: contents; display: contents;
display: inline-list-item;
display: discard; display: discard;
} }
@@ -285,6 +284,9 @@
display: auto; display: auto;
} }
.fonts-4 {
}
.fonts-3 { .fonts-3 {
font-feature-settings: common-ligatures; font-feature-settings: common-ligatures;
font-kerning: no-common-ligatures; font-kerning: no-common-ligatures;
@@ -324,10 +326,20 @@
} }
.fonts-4 { .fonts-4 {
font-optical-sizing: emoji; font-min-size: emoji;
font-variation-settings: math; font-max-size: math;
display: fangsong; font-display: fangsong;
display: system-ui; font-optical-sizing: system-ui;
font-variation-settings: infinity;
font-palette: swap;
font-presentation: fallback;
display: optional;
display: light;
display: dark;
}
@font-palette-values Test {
base-palette: 1;
} }
.gcpm-3::footnote-call, .gcpm-3::footnote-call,
@@ -402,6 +414,60 @@
display: auto; 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 { .masking-1 {
clip-path: fill-box; clip-path: fill-box;
clip-rule: stroke-box; clip-rule: stroke-box;
@@ -425,10 +491,11 @@
} }
.motion-1 { .motion-1 {
motion-path: path(M 100 100 L 300 100 L 200 300 z); offset-path: ray(45deg closest-side);
motion-offset: auto; offset-distance: path(M 100 100 L 300 100 L 200 300 z);
motion-rotation: auto; offset-anchor: auto;
motion: auto; offset-rotate: auto;
offset: auto;
} }
.multicol { .multicol {
@@ -450,6 +517,14 @@
max-lines: auto; max-lines: auto;
} }
.overflow-4::nth-fragment(1) {
scrollbar-gutter: stable;
continue: force;
display: overflow;
display: paginate;
display: fragments;
}
.page { .page {
display: avoid-page; display: avoid-page;
display: page; display: page;
@@ -671,9 +746,10 @@
line-break: loose; line-break: loose;
overflow-wrap: strict; overflow-wrap: strict;
tab-size: match-parent; tab-size: match-parent;
display: hanging; text-align-all: hanging;
display: each-line; display: each-line;
display: full-width; display: full-width;
display: anywhere;
} }
.text-4 { .text-4 {

View File

@@ -241,7 +241,6 @@
display: flow; display: flow;
display: flow-root; display: flow-root;
display: contents; display: contents;
display: inline-list-item;
display: discard; display: discard;
} }
</style> </style>
@@ -358,10 +357,20 @@
</style> </style>
<style> <style>
.fonts-4 { .fonts-4 {
font-optical-sizing: emoji; font-min-size: emoji;
font-variation-settings: math; font-max-size: math;
display: fangsong; font-display: fangsong;
display: system-ui; font-optical-sizing: system-ui;
font-variation-settings: infinity;
font-palette: swap;
font-presentation: fallback;
display: optional;
display: light;
display: dark;
}
@font-palette-values Test {
base-palette: 1;
} }
</style> </style>
<style> <style>
@@ -468,11 +477,67 @@
} }
</style> </style>
<style> <style>
.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;
}
</style>
<style>
.motion-1 { .motion-1 {
motion-path: path(M 100 100 L 300 100 L 200 300 z); offset-path: ray(45deg closest-side);
motion-offset: auto; offset-distance: path(M 100 100 L 300 100 L 200 300 z);
motion-rotation: auto; offset-anchor: auto;
motion: auto; offset-rotate: auto;
offset: auto;
} }
</style> </style>
<style> <style>
@@ -498,6 +563,15 @@
} }
</style> </style>
<style> <style>
.overflow-4::nth-fragment(1) {
scrollbar-gutter: stable;
continue: force;
display: overflow;
display: paginate;
display: fragments;
}
</style>
<style>
.page { .page {
display: avoid-page; display: avoid-page;
display: page; display: page;
@@ -740,9 +814,10 @@
line-break: loose; line-break: loose;
overflow-wrap: strict; overflow-wrap: strict;
tab-size: match-parent; tab-size: match-parent;
display: hanging; text-align-all: hanging;
display: each-line; display: each-line;
display: full-width; display: full-width;
display: anywhere;
} }
</style> </style>
<style> <style>