Move page break values to css3-page.vim

This commit is contained in:
Kyo Nagashima
2014-02-19 12:16:31 +09:00
parent 8662ca1ca9
commit 753f686c84
4 changed files with 29 additions and 14 deletions

View File

@@ -1,5 +1,5 @@
" TODO: create cssMulticolProp group and cssMulticolAttr group
syn keyword cssFontProp contained columns
syn match cssFontProp contained "\<column-\(count\|fill\|gap\|rule\(-\(color\|style\|width\)\)\=\|span\|width\)\>"
syn keyword cssFontAttr contained page column balance
syn match cssFontAttr contained "\<avoid-\(page\|column\)\>"
syn keyword cssFontAttr contained balance
syn match cssFontAttr contained "\<\(avoid-\)\=column\>"

View File

@@ -1,2 +1,3 @@
" TODO: Add support CSS Paged Media Module Level 3
" URL: http://www.w3.org/TR/css3-page/
" TODO: Create cssPageAttr group
syn keyword cssFontAttr contained recto verso
syn match cssFontAttr contained "\<\(avoid-\)\=page\>"

View File

@@ -282,11 +282,11 @@
}
.multicol {
columns: page;
column-count: column;
column-fill: balance;
column-gap: avoid-column;
column-rule: avoid-page;
columns: column;
column-count: balance;
column-fill: avoid-column;
column-gap: auto;
column-rule: auto;
column-rule-color: auto;
column-rule-style: auto;
column-rule-width: auto;
@@ -302,6 +302,13 @@
display: fragments;
}
.page {
display: avoid-page;
display: page;
display: recto;
display: verso;
}
.preslev {
presentation-level: increment;
}

View File

@@ -292,11 +292,11 @@
}
.multicol {
columns: page;
column-count: column;
column-fill: balance;
column-gap: avoid-column;
column-rule: avoid-page;
columns: column;
column-count: balance;
column-fill: avoid-column;
column-gap: auto;
column-rule: auto;
column-rule-color: auto;
column-rule-style: auto;
column-rule-width: auto;
@@ -312,6 +312,13 @@
display: fragments;
}
.page {
display: avoid-page;
display: page;
display: recto;
display: verso;
}
.preslev {
presentation-level: increment;
}