From af01de4490184485910b64e9e2f4228456308afb Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Thu, 20 Sep 2018 16:33:22 +0900 Subject: [PATCH] Follow changes in WD-css-text-4-20180920 See also: https://www.w3.org/TR/2018/WD-css-text-4-20180920/ --- after/syntax/css/text-4.vim | 6 ++++-- test/test.css | 5 +++-- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/after/syntax/css/text-4.vim b/after/syntax/css/text-4.vim index e5ea3f5..df3d9bf 100644 --- a/after/syntax/css/text-4.vim +++ b/after/syntax/css/text-4.vim @@ -1,14 +1,16 @@ syn match cssTextProp contained "\" -syn match cssTextProp contained "\" +syn match cssTextProp contained "\" syn match cssTextProp contained "\" syn match cssTextProp contained "\" +syn match cssTextProp contained "\" syn keyword cssTextAttr contained spread punctuation -syn match cssTextAttr contained "\" +syn match cssTextAttr contained "\" syn match cssTextAttr contained "\" syn match cssTextAttr contained "\" syn match cssTextAttr contained "\" syn match cssTextAttr contained "\" syn match cssTextAttr contained "\" syn match cssTextAttr contained "\<\(trim\|space\)-\(start\|end\|adjacent\)\>" +syn match cssTextAttr contained "\" syn match cssTextAttr contained "\" syn match cssTextAttr contained "\" diff --git a/test/test.css b/test/test.css index 4ed5a24..ae08b23 100644 --- a/test/test.css +++ b/test/test.css @@ -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;