]> git.eshelyaron.com Git - emacs.git/commitdiff
Add will change module to CSS property list
authorSimen Heggestøyl <simenheg@gmail.com>
Tue, 15 Nov 2016 19:54:55 +0000 (20:54 +0100)
committerSimen Heggestøyl <simenheg@gmail.com>
Sat, 26 Nov 2016 10:11:28 +0000 (11:11 +0100)
* lisp/textmodes/css-mode.el (css-property-alist)
(css-value-class-alist): Add new property and value class from CSS
Will Change Module.

lisp/textmodes/css-mode.el

index 53b3fa55c6b671f7aec22fdcffb6558d79cdf03c..9e36a881a3e7142ef971c6b062a8f333eb926269 100644 (file)
     ("transition-property" "none" single-transition-property "all")
     ("transition-timing-function" single-transition-timing-function)
 
+    ;; CSS Will Change Module Level 1
+    ;; (https://www.w3.org/TR/css-will-change-1/#property-index)
+    ("will-change" "auto" animateable-feature)
+
     ;; Filter Effects Module Level 1
     ;; (http://www.w3.org/TR/filter-effects/#property-index)
     ("color-interpolation-filters" "auto" "sRGB" "linearRGB")
@@ -456,6 +460,7 @@ further value candidates, since that list would be infinite.")
      "xx-large")
     (alphavalue number)
     (angle "calc()")
+    (animateable-feature "scroll-position" "contents" custom-ident)
     (attachment "scroll" "fixed" "local")
     (bg-image image "none")
     (bg-layer bg-image position repeat-style attachment box)
@@ -581,8 +586,9 @@ a class of values, and that symbols in the CDRs always refer to
 other entries in this list, not to properties.
 
 The following classes have been left out above because they
-cannot be completed sensibly: `element-reference', `id',
-`identifier', `percentage', and `string'.")
+cannot be completed sensibly: `custom-ident',
+`element-reference', `id', `identifier', `percentage', and
+`string'.")
 
 (defcustom css-electric-keys '(?\} ?\;) ;; '()
   "Self inserting keys which should trigger re-indentation."