mirror of
https://github.com/hail2u/vim-css3-syntax.git
synced 2025-12-10 20:41:52 +08:00
Follow WD-css3-regions-20140218
See also: http://www.w3.org/TR/2014/WD-css3-regions-20140218/
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
" TODO: create cssRegionsProp group and cssRegionsAttr group
|
if !hlexists('cssRegionsProp')
|
||||||
syn match cssFontProp contained "\<flow-\(from\|into\)\>"
|
syn match cssFontProp contained "\<flow-\(into\|from\)\>"
|
||||||
syn match cssFontProp contained "\<region-fragment\>"
|
syn match cssFontProp contained "\<region-fragment\>"
|
||||||
syn keyword cssFontAttr contained element content break
|
syn keyword cssFontAttr contained element content break
|
||||||
syn match cssFontAttr contained "\<\(avoid-\)\=region\>"
|
syn match cssFontAttr contained "\<\(avoid-\)\=region\>"
|
||||||
syn region cssPseudoClassLang matchgroup=cssPseudoClassId start="::\=region(" end=")" oneline
|
syn keyword cssPseudoClassId contained region
|
||||||
|
endif
|
||||||
|
|||||||
@@ -306,13 +306,12 @@
|
|||||||
presentation-level: increment;
|
presentation-level: increment;
|
||||||
}
|
}
|
||||||
|
|
||||||
.regions:region(p),
|
.regions:region {
|
||||||
.regions::region(p) {
|
flow-into: element;
|
||||||
flow-from: break;
|
flow-from: content;
|
||||||
flow-into: region;
|
region-fragment: break;
|
||||||
region-fragment: avoid-region;
|
display: region;
|
||||||
display: element;
|
display: avoid-region;
|
||||||
display: content;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.ruby {
|
.ruby {
|
||||||
|
|||||||
@@ -316,13 +316,12 @@
|
|||||||
presentation-level: increment;
|
presentation-level: increment;
|
||||||
}
|
}
|
||||||
|
|
||||||
.regions:region(p),
|
.regions:region {
|
||||||
.regions::region(p) {
|
flow-into: element;
|
||||||
flow-from: break;
|
flow-from: content;
|
||||||
flow-into: region;
|
region-fragment: break;
|
||||||
region-fragment: avoid-region;
|
display: region;
|
||||||
display: element;
|
display: avoid-region;
|
||||||
display: content;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.ruby {
|
.ruby {
|
||||||
|
|||||||
Reference in New Issue
Block a user