[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 538a401 2/4: Update to CSS Grid Layout Module Level 2
From: |
Lars Ingebrigtsen |
Subject: |
master 538a401 2/4: Update to CSS Grid Layout Module Level 2 |
Date: |
Fri, 3 Sep 2021 08:06:43 -0400 (EDT) |
branch: master
commit 538a401b0c0ac245ad99b07605f0a69325eb511c
Author: Theodor Thornhill <theo@thornhill.no>
Commit: Lars Ingebrigtsen <larsi@gnus.org>
Update to CSS Grid Layout Module Level 2
* css-mode.el (css-property-alist): Update to the newer spec, and add
the subgrid keywords
---
lisp/textmodes/css-mode.el | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/lisp/textmodes/css-mode.el b/lisp/textmodes/css-mode.el
index c2086d2..8689c94 100644
--- a/lisp/textmodes/css-mode.el
+++ b/lisp/textmodes/css-mode.el
@@ -278,8 +278,8 @@
;; (https://www.w3.org/TR/css-contain-1/#property-index)
("contain" "none" "strict" "content" "size" "layout" "paint")
- ;; CSS Grid Layout Module Level 1
- ;; (https://www.w3.org/TR/css-grid-1/#property-index)
+ ;; CSS Grid Layout Module Level 2
+ ;; (https://www.w3.org/TR/css-grid-2/#property-index)
("grid" grid-template grid-template-rows "auto-flow" "dense"
grid-auto-columns grid-auto-rows grid-template-columns)
("grid-area" grid-line)
@@ -298,8 +298,8 @@
("grid-template" "none" grid-template-rows grid-template-columns
line-names string track-size line-names explicit-track-list)
("grid-template-areas" "none" string)
- ("grid-template-columns" "none" track-list auto-track-list)
- ("grid-template-rows" "none" track-list auto-track-list)
+ ("grid-template-columns" "none" track-list auto-track-list "subgrid")
+ ("grid-template-rows" "none" track-list auto-track-list "subgrid")
;; CSS Box Alignment Module Level 3
;; (https://www.w3.org/TR/css-align-3/#property-index)