]> git.eshelyaron.com Git - emacs.git/commitdiff
Update CSS Box Alignment Module properties
authorSimen Heggestøyl <simenheg@runbox.com>
Sat, 14 May 2022 11:09:53 +0000 (13:09 +0200)
committerSimen Heggestøyl <simenheg@runbox.com>
Sun, 15 May 2022 10:57:46 +0000 (12:57 +0200)
* lisp/textmodes/css-mode.el (css-property-alist): Update properties.

lisp/textmodes/css-mode.el

index 959df5cfe6514d29be7e024b81dd56b2c0dcd219..6ce7172063c43e0168e6004086217b2f3fb6bff9 100644 (file)
 
     ;; CSS Box Alignment Module Level 3
     ;; (https://www.w3.org/TR/css-align-3/#property-index)
-    ("align-content"
-     baseline-position content-distribution overflow-position content-position)
-    ("align-items"
-     "normal" "stretch" baseline-position overflow-position self-position)
-    ("align-self"
-     "auto" "normal" "stretch"
-     baseline-position overflow-position self-position)
-    ("justify-content" "normal"
-     content-distribution overflow-position content-position "left" "right")
-    ("justify-items"
-     "normal" "stretch" baseline-position overflow-position self-position
-     "left" "right" "legacy")
-    ("justify-self"
-     "auto" "normal" "stretch" baseline-position overflow-position self-position
-     "left" "right")
+    ("align-content" baseline-position content-distribution
+     overflow-position content-position)
+    ("align-items" "normal" "stretch" baseline-position
+     overflow-position self-position)
+    ("align-self" "auto" "normal" "stretch" baseline-position
+     overflow-position self-position)
+    ("column-gap" "normal" length-percentage)
+    ("gap" row-gap column-gap)
+    ("justify-content" "normal" content-distribution overflow-position
+     content-position "left" "right")
+    ("justify-items" "normal" "stretch" baseline-position
+     overflow-position self-position "left" "right" "legacy" "center")
+    ("justify-self" "auto" "normal" "stretch" baseline-position
+     overflow-position self-position "left" "right")
     ("place-content" align-content justify-content)
     ("place-items" align-items justify-items)
     ("place-self" justify-self align-self)
+    ("row-gap" "normal" length-percentage)
 
     ;; CSS Flexible Box Layout Module Level 2
     ;; (https://www.w3.org/TR/css-flexbox-2/#property-index)