Skip to content

Commit 0b469af

Browse files
committed
Follow WD-css-grid-1-20150917
See also: http://www.w3.org/TR/2015/WD-css-grid-1-20150917/
1 parent b97c4fc commit 0b469af

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

after/syntax/css/css-grid-1.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ syn match cssFontProp contained "\<grid-template\(-\(columns\|rows\|areas\)\)\=\
22
syn match cssFontProp contained "\<grid-auto-\(columns\|rows\|flow\|position\)\>"
33
syn match cssFontProp contained "\<grid-\(row\|column\)\(-\(start\|end\)\)\=\>"
44
syn match cssFontProp contained "\<grid-area\>"
5-
syn match cssFontProp contained "\<\(row\|grid\)-gap\>"
5+
syn match cssFontProp contained "\<grid\(-\(column\|row\)\)\=-gap\>"
66
syn keyword cssFontAttr contained grid subgrid dense span
77
syn match cssFontAttr contained "\<inline-grid\>"
88
syn match cssValueNumber contained "[01]\(.\d\+\)\=fr"

test/test.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,8 @@
255255
grid-column: auto;
256256
grid-row: auto;
257257
grid-area: auto;
258-
row-gap: auto;
258+
grid-column-gap: auto;
259+
grid-row-gap: auto;
259260
grid-gap: auto;
260261
}
261262

test/test.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,8 @@
283283
grid-column: auto;
284284
grid-row: auto;
285285
grid-area: auto;
286-
row-gap: auto;
286+
grid-column-gap: auto;
287+
grid-row-gap: auto;
287288
grid-gap: auto;
288289
}
289290
</style>

0 commit comments

Comments
 (0)