Follow changes in WD-css-align-3-20170906

This changes generalize gap specific properties for flexbox, grid, and
multicol. So, move these.

See also: http://www.w3.org/TR/2017/WD-css-align-3-20170906/
This commit is contained in:
Kyo Nagashima
2017-09-07 18:56:47 +09:00
parent ed97cb7111
commit c08702b2de
5 changed files with 14 additions and 13 deletions

View File

@@ -1,4 +1,5 @@
syn match cssFontProp contained "\<\(justify\|align\|place\)-\(self\|content\|items\)\>"
syn match cssFontProp contained "\<\(grid-\)\=\(\(row\|column\)-\)\=gap\>"
syn keyword cssFontAttr contained safe unsafe legacy
syn match cssFontAttr contained "\<\(self\|flex\)-\(start\|end\)\>"
syn match cssFontAttr contained "\<space-\(between\|around\|evenly\)\>"

View File

@@ -2,7 +2,6 @@ syn match cssFontProp contained "\<grid-template\(-\(columns\|rows\|areas\)\)\=\
syn match cssFontProp contained "\<grid-auto-\(columns\|rows\|flow\)\>"
syn match cssFontProp contained "\<grid-\(row\|column\)\(-\(start\|end\)\)\=\>"
syn match cssFontProp contained "\<grid-area\>"
syn match cssFontProp contained "\<grid\(-\(column\|row\)\)\=-gap\>"
syn keyword cssFontAttr contained grid dense span
syn match cssFontAttr contained "\<inline-grid\>"
syn match cssFontAttr contained "\<auto-flow\>"

View File

@@ -1,5 +1,4 @@
" TODO: create cssMulticolProp group and cssMulticolAttr group
syn keyword cssFontProp contained columns
syn match cssFontProp contained "\<column-\(count\|fill\|gap\|rule\(-\(color\|style\|width\)\)\=\|span\|width\)\>"
syn match cssFontProp contained "\<column-\(count\|fill\|rule\(-\(color\|style\|width\)\)\=\|span\|width\)\>"
syn keyword cssFontAttr contained balance
syn match cssFontAttr contained "\<\(avoid-\)\=column\>"