mirror of
https://github.com/hail2u/vim-css3-syntax.git
synced 2025-12-08 19:44:45 +08:00
Move page break values to css3-page.vim
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
" TODO: create cssMulticolProp group and cssMulticolAttr group
|
" TODO: create cssMulticolProp group and cssMulticolAttr group
|
||||||
syn keyword cssFontProp contained columns
|
syn keyword cssFontProp contained columns
|
||||||
syn match cssFontProp contained "\<column-\(count\|fill\|gap\|rule\(-\(color\|style\|width\)\)\=\|span\|width\)\>"
|
syn match cssFontProp contained "\<column-\(count\|fill\|gap\|rule\(-\(color\|style\|width\)\)\=\|span\|width\)\>"
|
||||||
syn keyword cssFontAttr contained page column balance
|
syn keyword cssFontAttr contained balance
|
||||||
syn match cssFontAttr contained "\<avoid-\(page\|column\)\>"
|
syn match cssFontAttr contained "\<\(avoid-\)\=column\>"
|
||||||
|
|||||||
@@ -1,2 +1,3 @@
|
|||||||
" TODO: Add support CSS Paged Media Module Level 3
|
" TODO: Create cssPageAttr group
|
||||||
" URL: http://www.w3.org/TR/css3-page/
|
syn keyword cssFontAttr contained recto verso
|
||||||
|
syn match cssFontAttr contained "\<\(avoid-\)\=page\>"
|
||||||
|
|||||||
@@ -282,11 +282,11 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.multicol {
|
.multicol {
|
||||||
columns: page;
|
columns: column;
|
||||||
column-count: column;
|
column-count: balance;
|
||||||
column-fill: balance;
|
column-fill: avoid-column;
|
||||||
column-gap: avoid-column;
|
column-gap: auto;
|
||||||
column-rule: avoid-page;
|
column-rule: auto;
|
||||||
column-rule-color: auto;
|
column-rule-color: auto;
|
||||||
column-rule-style: auto;
|
column-rule-style: auto;
|
||||||
column-rule-width: auto;
|
column-rule-width: auto;
|
||||||
@@ -302,6 +302,13 @@
|
|||||||
display: fragments;
|
display: fragments;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.page {
|
||||||
|
display: avoid-page;
|
||||||
|
display: page;
|
||||||
|
display: recto;
|
||||||
|
display: verso;
|
||||||
|
}
|
||||||
|
|
||||||
.preslev {
|
.preslev {
|
||||||
presentation-level: increment;
|
presentation-level: increment;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -292,11 +292,11 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.multicol {
|
.multicol {
|
||||||
columns: page;
|
columns: column;
|
||||||
column-count: column;
|
column-count: balance;
|
||||||
column-fill: balance;
|
column-fill: avoid-column;
|
||||||
column-gap: avoid-column;
|
column-gap: auto;
|
||||||
column-rule: avoid-page;
|
column-rule: auto;
|
||||||
column-rule-color: auto;
|
column-rule-color: auto;
|
||||||
column-rule-style: auto;
|
column-rule-style: auto;
|
||||||
column-rule-width: auto;
|
column-rule-width: auto;
|
||||||
@@ -312,6 +312,13 @@
|
|||||||
display: fragments;
|
display: fragments;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.page {
|
||||||
|
display: avoid-page;
|
||||||
|
display: page;
|
||||||
|
display: recto;
|
||||||
|
display: verso;
|
||||||
|
}
|
||||||
|
|
||||||
.preslev {
|
.preslev {
|
||||||
presentation-level: increment;
|
presentation-level: increment;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user