follow WD-css3-writing-modes-20120501

This commit is contained in:
Kyo Nagashima
2013-05-27 00:53:54 +09:00
parent df4e87a9d4
commit 1652666c7e
3 changed files with 12 additions and 24 deletions

View File

@@ -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\>"

View File

@@ -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\)\)\>"

View File

@@ -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;