From 1b7b41ccf843709601bc4e5aaebf62695ed6e1d5 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Mon, 27 May 2013 02:09:00 +0900 Subject: [PATCH] follow WD-css3-align-20130514 --- after/syntax/css/css3-align.vim | 6 +++--- test/test.css | 14 ++++++++------ 2 files changed, 11 insertions(+), 9 deletions(-) diff --git a/after/syntax/css/css3-align.vim b/after/syntax/css/css3-align.vim index cdc2bde..4cfbf5f 100644 --- a/after/syntax/css/css3-align.vim +++ b/after/syntax/css/css3-align.vim @@ -1,5 +1,5 @@ " TODO: create cssAlignProp group and cssAlignAttr group syn match cssFontProp contained "\<\(justify\|align\)-\(self\|content\|items\)\>" -syn keyword cssFontAttr contained head foot true -syn match cssFontAttr contained "\" -syn match cssFontAttr contained "\" +syn keyword cssFontAttr contained safe true +syn match cssFontAttr contained "\<\(self\|flex\)-\(start\|end\)\>" +syn match cssFontAttr contained "\" diff --git a/test/test.css b/test/test.css index 4552efd..e054575 100644 --- a/test/test.css +++ b/test/test.css @@ -1,11 +1,13 @@ .align { - justify-self: head; - justify-content: foot; - justify-items: true; - align-self: flex-start; - align-content: flex-end; - align-items: space-between; + justify-self: safe; + justify-content: true; + justify-items: self-start; + align-self: self-end; + align-content: flex-start; + align-items: flex-end; display: space-around; + display: space-between; + display: space-evenly; } .animations {