mirror of
https://github.com/hail2u/vim-css3-syntax.git
synced 2025-12-07 19:24:25 +08:00
Add css-overflow-4.vim
See also: http://www.w3.org/TR/2017/WD-css-overflow-4-20170613/
This commit is contained in:
4
after/syntax/css/css-overflow-4.vim
Normal file
4
after/syntax/css/css-overflow-4.vim
Normal 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
|
||||||
@@ -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-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
|
||||||
|
|||||||
@@ -504,6 +504,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;
|
||||||
|
|||||||
@@ -553,6 +553,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;
|
||||||
|
|||||||
Reference in New Issue
Block a user