mirror of
https://github.com/hail2u/vim-css3-syntax.git
synced 2026-02-03 22:52:41 +08:00
follow WD-css3-writing-modes-20120501
This commit is contained in:
@@ -1,3 +1,3 @@
|
|||||||
" TODO: create cssSizingAttr group
|
" TODO: create cssSizingAttr group
|
||||||
syn match cssFontAttr contained "\<repudiate-floats\>"
|
syn match cssFontAttr contained "\<\(\(min\|max\|fit\)-content\|fill-available\|repudiate-floats\)\>"
|
||||||
syn match cssFontAttr contained "\<contain-floats\>"
|
syn match cssFontAttr contained "\<contain-floats\>"
|
||||||
|
|||||||
@@ -1,8 +1,7 @@
|
|||||||
" TODO: create cssWritingModeProp group and cssWritingModeAttr group
|
" TODO: create cssWritingModeProp group and cssWritingModeAttr group
|
||||||
syn match cssFontProp contained "\<text-\(orientation\|combine-\(horizontal\|mode\)\)\>"
|
syn match cssFontProp contained "\<text-\(orientation\|combine-horizontal\)\>"
|
||||||
syn match cssFontProp contained "\<writing-mode\>"
|
syn match cssFontProp contained "\<writing-mode\>"
|
||||||
syn keyword cssFontAttr contained before after numeric alpha latin alphanumeric isolate plaintext
|
syn keyword cssFontAttr contained before after mixed isolate plaintext
|
||||||
syn match cssFontAttr contained "\<\(\(min\|max\|fit\)-content\|fill-available\)\>"
|
syn match cssFontAttr contained "\<\(upright\|sideways\(-right\|-left\)\=\|use-glyph-orientation\)\>"
|
||||||
syn match cssFontAttr contained "\<\(\(no-\)\=compress\|use-glyphs\)\>"
|
syn match cssFontAttr contained "\<isolate-override\>"
|
||||||
syn match cssFontAttr contained "\<\(mixed-right\|upright\|sideways\(-right\|-left\)\=\|use-glyph-orientation\)\>"
|
|
||||||
syn match cssFontAttr contained "\<\(horizontal-tb\|vertical-\(rl\|lr\)\)\>"
|
syn match cssFontAttr contained "\<\(horizontal-tb\|vertical-\(rl\|lr\)\)\>"
|
||||||
|
|||||||
@@ -358,12 +358,11 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.sizing {
|
.sizing {
|
||||||
width: fill-available;
|
display: max-content;
|
||||||
width: max-content;
|
display: fit-content;
|
||||||
width: min-content;
|
display: fill-available;
|
||||||
width: fit-content;
|
display: repudiate-floats;
|
||||||
width: repudiate-floats;
|
display: contain-floats;
|
||||||
min-width: contain-floats;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@supports (display: auto) or
|
@supports (display: auto) or
|
||||||
@@ -477,20 +476,10 @@
|
|||||||
.writing-modes {
|
.writing-modes {
|
||||||
text-orientation: before;
|
text-orientation: before;
|
||||||
text-combine-horizontal: after;
|
text-combine-horizontal: after;
|
||||||
text-combine-mode: numeric;
|
writing-mode: isolate;
|
||||||
writing-mode: alpha;
|
|
||||||
display: latin;
|
|
||||||
display: alphanumeric;
|
|
||||||
display: isolate;
|
display: isolate;
|
||||||
display: plaintext;
|
display: plaintext;
|
||||||
display: min-content
|
display: mixed;
|
||||||
display: max-content;
|
|
||||||
display: fit-content;
|
|
||||||
display: fill-available;
|
|
||||||
display: compress;
|
|
||||||
display: no-compress;
|
|
||||||
display: use-glyphs;
|
|
||||||
display: mixed-right;
|
|
||||||
display: upright;
|
display: upright;
|
||||||
display: sideways;
|
display: sideways;
|
||||||
display: sideways-right;
|
display: sideways-right;
|
||||||
|
|||||||
Reference in New Issue
Block a user