]> git.eshelyaron.com Git - emacs.git/commitdiff
Add `touch-action' to list of CSS properties
authorSimen Heggestøyl <simenheg@gmail.com>
Sun, 12 Mar 2017 12:55:48 +0000 (13:55 +0100)
committerSimen Heggestøyl <simenheg@gmail.com>
Sun, 12 Mar 2017 15:54:15 +0000 (16:54 +0100)
* lisp/textmodes/css-mode.el (css-property-alist): Add `touch-action'
property.

lisp/textmodes/css-mode.el

index 7a9454f7f3ca100516263ea6ca6683ab2b69c973..91ebbf6f9409f508f1d3c81d97c0b3cf97cd2e67 100644 (file)
     ("filter" "none" filter-function-list)
     ("flood-color" color)
     ("flood-opacity" number percentage)
-    ("lighting-color" color))
+    ("lighting-color" color)
+
+    ;; Pointer Events
+    ;; (https://www.w3.org/TR/pointerevents/#the-touch-action-css-property)
+    ("touch-action" "auto" "none" "pan-x" "pan-y" "manipulation"))
   "Identifiers for properties and their possible values.
 The CAR of each entry is the name of a property, while the CDR is
 a list of possible values for that property.  String values in