mirror of
https://github.com/hail2u/vim-css3-syntax.git
synced 2025-12-08 03:24:44 +08:00
Add css-writing-modes-4.vim
This syntax is for new spec WD-css-writing-modes-4-20171207. See also: http://www.w3.org/TR/2017/WD-css-writing-modes-4-20171207/ This commit also removes deferred properties and values from `css-writing-modes-3.vim`.
This commit is contained in:
@@ -1,8 +1,7 @@
|
|||||||
syn match cssFontProp contained "\<writing-mode\>"
|
syn match cssFontProp contained "\<writing-mode\>"
|
||||||
syn match cssFontProp contained "\<text-\(orientation\|combine-upright\)\>"
|
syn match cssFontProp contained "\<text-\(orientation\|combine-upright\)\>"
|
||||||
syn match cssFontProp contained "\<glyph-orientation-vertical\>"
|
syn match cssFontProp contained "\<glyph-orientation-vertical\>"
|
||||||
syn keyword cssFontAttr contained before after mixed upright plaintext
|
syn keyword cssFontAttr contained before after mixed upright plaintext sideways
|
||||||
syn match cssFontAttr contained "\<sideways\(-rl\|-lr\)\=\>"
|
|
||||||
syn match cssFontAttr contained "\<isolate\(-override\)\=\>"
|
syn match cssFontAttr contained "\<isolate\(-override\)\=\>"
|
||||||
syn match cssFontAttr contained "\<horizontal-tb\>"
|
syn match cssFontAttr contained "\<horizontal-tb\>"
|
||||||
syn match cssFontAttr contained "\<vertical-\(rl\|lr\)\>"
|
syn match cssFontAttr contained "\<vertical-\(rl\|lr\)\>"
|
||||||
|
|||||||
1
after/syntax/css/css-writing-modes-4.vim
Normal file
1
after/syntax/css/css-writing-modes-4.vim
Normal file
@@ -0,0 +1 @@
|
|||||||
|
syn match cssFontAttr contained "\<sideways-\(rl\|lr\)\>"
|
||||||
@@ -889,8 +889,6 @@
|
|||||||
glyph-orientation-vertical: upright;
|
glyph-orientation-vertical: upright;
|
||||||
display: plaintext;
|
display: plaintext;
|
||||||
display: sideways;
|
display: sideways;
|
||||||
display: sideways-rl;
|
|
||||||
display: sideways-lr;
|
|
||||||
display: isolate;
|
display: isolate;
|
||||||
display: isolate-override;
|
display: isolate-override;
|
||||||
display: horizontal-tb;
|
display: horizontal-tb;
|
||||||
@@ -898,6 +896,11 @@
|
|||||||
display: vertical-lr;
|
display: vertical-lr;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.writing-modes-4 {
|
||||||
|
display: sideways-rl;
|
||||||
|
display: sideways-lr;
|
||||||
|
}
|
||||||
|
|
||||||
.html5,
|
.html5,
|
||||||
picture,
|
picture,
|
||||||
rb,
|
rb,
|
||||||
|
|||||||
Reference in New Issue
Block a user