Follow changes in WD-css-text-4-20180920

See also: https://www.w3.org/TR/2018/WD-css-text-4-20180920/
This commit is contained in:
Kyo Nagashima
2018-09-20 16:33:22 +09:00
parent f18eabedc0
commit af01de4490
2 changed files with 7 additions and 4 deletions

View File

@@ -1,14 +1,16 @@
syn match cssTextProp contained "\<text-space-\(collapse\|trim\)\>"
syn match cssTextProp contained "\<text-\(wrap\|spacing\)\>"
syn match cssTextProp contained "\<text-\(wrap\|spacing\|group-align\)\>"
syn match cssTextProp contained "\<wrap-\(before\|after\|inside\)\>"
syn match cssTextProp contained "\<hyphenate-\(character\|limit-\(zone\|chars\|lines\|last\)\)\>"
syn match cssTextProp contained "\<line-padding\>"
syn keyword cssTextAttr contained spread punctuation
syn match cssTextAttr contained "\<preserve-\(auto\|trim\|breaks\|spaces\)\>"
syn match cssTextAttr contained "\<preserve-\(breaks\|spaces\)\>"
syn match cssTextAttr contained "\<trim-inner\>"
syn match cssTextAttr contained "\<discard-\(before\|after\)\>"
syn match cssTextAttr contained "\<avoid-\(line\|flex\)\>"
syn match cssTextAttr contained "\<pre-wrap-auto\>"
syn match cssTextAttr contained "\<no-limit\>"
syn match cssTextAttr contained "\<\(trim\|space\)-\(start\|end\|adjacent\)\>"
syn match cssTextAttr contained "\<space-first\>"
syn match cssTextAttr contained "\<no-compress\>"
syn match cssTextAttr contained "\<ideograph-\(alpha\|numeric\)\>"

View File

@@ -933,9 +933,9 @@ view {
hyphenate-limit-chars: auto;
hyphenate-limit-lines: auto;
hyphenate-limit-last: auto;
text-group-align: auto;
line-padding: auto;
text-spacing: auto;
display: preserve-auto;
display: preserve-trim;
display: preserve-breaks;
display: preserve-spaces;
display: trim-inner;
@@ -948,6 +948,7 @@ view {
display: spread;
display: trim-start;
display: space-start;
display: space-first;
display: trim-end;
display: space-end;
display: trim-adjacent;