From 912edb5aefd7d3d434965d23c16ce17441ac349c Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Fri, 11 Oct 2013 05:13:14 +0900 Subject: [PATCH] follow WD-css-text-3-20131010 --- after/syntax/css/css3-text.vim | 14 +++----------- test/test.css | 23 ++++++----------------- 2 files changed, 9 insertions(+), 28 deletions(-) diff --git a/after/syntax/css/css3-text.vim b/after/syntax/css/css3-text.vim index a88ce5b..d775e1e 100644 --- a/after/syntax/css/css3-text.vim +++ b/after/syntax/css/css3-text.vim @@ -1,16 +1,8 @@ -syn match cssTextProp contained "\" +syn keyword cssTextProp contained hyphens syn match cssTextProp contained "\" -syn match cssTextProp contained "\<\(word\|overflow\)-wrap\>" +syn match cssTextProp contained "\" syn match cssTextProp contained "\" -syn match cssTextProp contained "\" -syn match cssTextProp contained "\" -syn keyword cssTextAttr contained loose strict hanging distribute kashida preserve alphabetic -syn match cssTextAttr contained "\<\(allow\|force\)-end\>" -syn match cssTextAttr contained "\" +syn keyword cssTextAttr contained manual loose strict hanging 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 "\" diff --git a/test/test.css b/test/test.css index 1740585..36e16eb 100644 --- a/test/test.css +++ b/test/test.css @@ -369,24 +369,13 @@ } .text { - hanging-punctuation: loose; - line-break: strict; - word-wrap: auto; - overflow-wrap: hanging; - tab-size: distribute; - text-align-last: kashida; - text-autospace: preserve; - text-justify: each-line; - text-shadow: allow-end; - text-underline-position: keep-all; - word-break: double-circle; - display: inter-word; - display: inter-ideograph; - display: inter-cluster; - display: preserve-breaks; + hyphens: manual; + line-break: loose; + overflow-wrap: strict; + tab-size: match-parent; + display: hanging; + display: each-line; display: full-width; - display: break-all; - display: break-word; } .text-decor-3 {