From eff2b2a4b891af1f24318331364b76d15e221cb4 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Wed, 18 Mar 2015 05:24:32 +0900 Subject: [PATCH] Follow WD-css-grid-1-20150317 See also: http://www.w3.org/TR/2015/WD-css-grid-1-20150317/ --- after/syntax/css/css-grid-1.vim | 2 +- test/test.css | 10 +++++----- test/test.html | 10 +++++----- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/after/syntax/css/css-grid-1.vim b/after/syntax/css/css-grid-1.vim index df036b3..bdcefd5 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 keyword cssFontAttr contained grid subgrid rows columns dense span +syn keyword cssFontAttr contained grid subgrid dense span syn match cssFontAttr contained "\" syn match cssValueNumber contained "[01]\(.\d\+\)\=fr" syn region cssFunction contained matchgroup=cssFunctionName start="\<\(minmax\|repeat\)\s*(" end=")" oneline keepend diff --git a/test/test.css b/test/test.css index d574460..855073a 100644 --- a/test/test.css +++ b/test/test.css @@ -232,17 +232,17 @@ display: closed; } -.grid-layout { +.grid { grid-template-columns: grid; grid-template-rows: inline-grid; grid-template-areas: minmax(0, 1); grid-template: repeat(4); grid-auto-columns: 0.2fr; grid-auto-rows: subgrid; - grid-auto-flow: rows; - grid-auto-position: columns; - grid: dense; - grid-row-start: span; + grid-auto-flow: dense; + grid-auto-position: span; + grid: auto; + grid-row-start: auto; grid-column-start: auto; grid-row-end: auto; grid-column-end: auto; diff --git a/test/test.html b/test/test.html index 325192e..c63468e 100644 --- a/test/test.html +++ b/test/test.html @@ -260,17 +260,17 @@ }