emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master f7040f5: Add `touch-action' to list of CSS properti


From: Simen Heggestøyl
Subject: [Emacs-diffs] master f7040f5: Add `touch-action' to list of CSS properties
Date: Sun, 12 Mar 2017 11:55:34 -0400 (EDT)

branch: master
commit f7040f5b1615162845c84f41125f008a5eb604f3
Author: Simen Heggestøyl <address@hidden>
Commit: Simen Heggestøyl <address@hidden>

    Add `touch-action' to list of CSS properties
    
    * lisp/textmodes/css-mode.el (css-property-alist): Add `touch-action'
    property.
---
 lisp/textmodes/css-mode.el | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/lisp/textmodes/css-mode.el b/lisp/textmodes/css-mode.el
index 7a9454f..91ebbf6 100644
--- a/lisp/textmodes/css-mode.el
+++ b/lisp/textmodes/css-mode.el
@@ -440,7 +440,11 @@
     ("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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]