[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 0a74243 3/4: Update to CSS Containment Module Level 2
From: |
Lars Ingebrigtsen |
Subject: |
master 0a74243 3/4: Update to CSS Containment Module Level 2 |
Date: |
Fri, 3 Sep 2021 08:06:44 -0400 (EDT) |
branch: master
commit 0a7424360ceb939364efe41c4d46869ed9793bed
Author: Theodor Thornhill <theo@thornhill.no>
Commit: Lars Ingebrigtsen <larsi@gnus.org>
Update to CSS Containment Module Level 2
* css-mode.el (css-property-alist): Update contain, and add
content-visibility.
---
lisp/textmodes/css-mode.el | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/lisp/textmodes/css-mode.el b/lisp/textmodes/css-mode.el
index 8689c94..a39a62a 100644
--- a/lisp/textmodes/css-mode.el
+++ b/lisp/textmodes/css-mode.el
@@ -274,9 +274,10 @@
("color" color)
("opacity" alphavalue)
- ;; CSS Containment Module Level 1
- ;; (https://www.w3.org/TR/css-contain-1/#property-index)
- ("contain" "none" "strict" "content" "size" "layout" "paint")
+ ;; CSS Containment Module Level 2
+ ;; (https://www.w3.org/TR/css-contain-2/#property-index)
+ ("contain" "none" "strict" "content" "size" "layout" "style" "paint")
+ ("content-visibility" "visible" "auto" "hidden")
;; CSS Grid Layout Module Level 2
;; (https://www.w3.org/TR/css-grid-2/#property-index)