mirror of
https://github.com/hail2u/vim-css3-syntax.git
synced 2025-12-12 05:21:50 +08:00
Add css3-positioning.vim
See also: http://www.w3.org/TR/2015/WD-css3-positioning-20150203/
This commit is contained in:
3
after/syntax/css/css3-positioning.vim
Normal file
3
after/syntax/css/css3-positioning.vim
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
" TODO: create cssPositioningProp and cssPositioningAttr
|
||||||
|
syn match cssFontProp contained "\<offset-\(before\|end\|after\|start\)\>"
|
||||||
|
syn keyword cssFontAttr contained sticky
|
||||||
@@ -15,6 +15,7 @@ syn include @htmlCss syntax/css/css3-layout.vim
|
|||||||
syn include @htmlCss syntax/css/css3-linebox.vim
|
syn include @htmlCss syntax/css/css3-linebox.vim
|
||||||
syn include @htmlCss syntax/css/css3-multicol.vim
|
syn include @htmlCss syntax/css/css3-multicol.vim
|
||||||
syn include @htmlCss syntax/css/css3-page.vim
|
syn include @htmlCss syntax/css/css3-page.vim
|
||||||
|
syn include @htmlCss syntax/css/css3-positioning.vim
|
||||||
syn include @htmlCss syntax/css/css3-preslev.vim
|
syn include @htmlCss syntax/css/css3-preslev.vim
|
||||||
syn include @htmlCss syntax/css/css3-regions.vim
|
syn include @htmlCss syntax/css/css3-regions.vim
|
||||||
syn include @htmlCss syntax/css/css3-selectors.vim
|
syn include @htmlCss syntax/css/css3-selectors.vim
|
||||||
|
|||||||
@@ -327,6 +327,13 @@
|
|||||||
display: verso;
|
display: verso;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.positioning {
|
||||||
|
offset-before: sticky;
|
||||||
|
offset-end: auto;
|
||||||
|
offset-after: auto;
|
||||||
|
offset-start: auto;
|
||||||
|
}
|
||||||
|
|
||||||
.preslev {
|
.preslev {
|
||||||
presentation-level: increment;
|
presentation-level: increment;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -336,6 +336,13 @@
|
|||||||
display: verso;
|
display: verso;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.positioning {
|
||||||
|
offset-before: sticky;
|
||||||
|
offset-end: auto;
|
||||||
|
offset-after: auto;
|
||||||
|
offset-start: auto;
|
||||||
|
}
|
||||||
|
|
||||||
.preslev {
|
.preslev {
|
||||||
presentation-level: increment;
|
presentation-level: increment;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user