Add css-overflow-4.vim

See also: http://www.w3.org/TR/2017/WD-css-overflow-4-20170613/
This commit is contained in:
Kyo Nagashima
2017-06-13 16:55:05 +09:00
parent d8fcec92e3
commit c3c6083d44
4 changed files with 22 additions and 0 deletions

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

@@ -23,6 +23,7 @@ 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-overflow-4.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-position-3.vim

View File

@@ -504,6 +504,14 @@
max-lines: auto;
}
.overflow-4::nth-fragment(1) {
scrollbar-gutter: stable;
continue: force;
display: overflow;
display: paginate;
display: fragments;
}
.page {
display: avoid-page;
display: page;

View File

@@ -553,6 +553,15 @@
}
</style>
<style>
.overflow-4::nth-fragment(1) {
scrollbar-gutter: stable;
continue: force;
display: overflow;
display: paginate;
display: fragments;
}
</style>
<style>
.page {
display: avoid-page;
display: page;