]> git.eshelyaron.com Git - emacs.git/commitdiff
Update to CSS Grid Layout Module Level 2
authorTheodor Thornhill <theo@thornhill.no>
Fri, 3 Sep 2021 10:14:32 +0000 (12:14 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Fri, 3 Sep 2021 12:05:37 +0000 (14:05 +0200)
* css-mode.el (css-property-alist): Update to the newer spec, and add
the subgrid keywords

lisp/textmodes/css-mode.el

index c2086d2fd3c52359fedb0fb2baab956daaa0ec8d..8689c94bc58fe39eaffc53273cd68da3c4d94c4e 100644 (file)
     ;; (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)
     ("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)