From 0b469af19bb95fd1f48e25931bcbee3250ae6e18 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Fri, 18 Sep 2015 10:20:48 +0900 Subject: [PATCH] Follow WD-css-grid-1-20150917 See also: http://www.w3.org/TR/2015/WD-css-grid-1-20150917/ --- after/syntax/css/css-grid-1.vim | 2 +- test/test.css | 3 ++- test/test.html | 3 ++- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/after/syntax/css/css-grid-1.vim b/after/syntax/css/css-grid-1.vim index 6be5d5e..f8b0026 100644 --- a/after/syntax/css/css-grid-1.vim +++ b/after/syntax/css/css-grid-1.vim @@ -2,7 +2,7 @@ syn match cssFontProp contained "\" syn match cssFontProp contained "\" syn match cssFontProp contained "\" -syn match cssFontProp contained "\<\(row\|grid\)-gap\>" +syn match cssFontProp contained "\" syn keyword cssFontAttr contained grid subgrid dense span syn match cssFontAttr contained "\" syn match cssValueNumber contained "[01]\(.\d\+\)\=fr" diff --git a/test/test.css b/test/test.css index e4c7d80..7f6c835 100644 --- a/test/test.css +++ b/test/test.css @@ -255,7 +255,8 @@ grid-column: auto; grid-row: auto; grid-area: auto; - row-gap: auto; + grid-column-gap: auto; + grid-row-gap: auto; grid-gap: auto; } diff --git a/test/test.html b/test/test.html index cd6028c..926436b 100644 --- a/test/test.html +++ b/test/test.html @@ -283,7 +283,8 @@ grid-column: auto; grid-row: auto; grid-area: auto; - row-gap: auto; + grid-column-gap: auto; + grid-row-gap: auto; grid-gap: auto; }