From: Theodor Thornhill Date: Fri, 3 Sep 2021 10:19:36 +0000 (+0200) Subject: Update to CSS Containment Module Level 2 X-Git-Tag: emacs-28.0.90~1196 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=0a7424360ceb939364efe41c4d46869ed9793bed;p=emacs.git Update to CSS Containment Module Level 2 * css-mode.el (css-property-alist): Update contain, and add content-visibility. --- diff --git a/lisp/textmodes/css-mode.el b/lisp/textmodes/css-mode.el index 8689c94bc58..a39a62aa688 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)