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