aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorEtienne Prud’homme2016-05-20 14:10:46 -0400
committerSimen Heggestøyl2016-05-22 12:54:02 +0200
commit162bc021a1cb4d7f578d1635a55bb7c38084f044 (patch)
tree68c4c227dd33afa606e62a4450f3b167bdf60698 /test
parentf2d03334814cff85013135366a46a85f3124f7f0 (diff)
downloademacs-162bc021a1cb4d7f578d1635a55bb7c38084f044.tar.gz
emacs-162bc021a1cb4d7f578d1635a55bb7c38084f044.zip
Add completion of colors in CSS mode
* lisp/textmodes/css-mode.el (css-value-class-alist): Add CSS colors from "CSS Color Module Level 3". * test/lisp/textmodes/css-mode-tests.el (css-test-property-values): Update test.
Diffstat (limited to 'test')
-rw-r--r--test/lisp/textmodes/css-mode-tests.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lisp/textmodes/css-mode-tests.el b/test/lisp/textmodes/css-mode-tests.el
index 80d678a161f..fd86fd2d878 100644
--- a/test/lisp/textmodes/css-mode-tests.el
+++ b/test/lisp/textmodes/css-mode-tests.el
@@ -58,7 +58,7 @@
58 58
59 ;; Check that the `color' property doesn't cause infinite recursion 59 ;; Check that the `color' property doesn't cause infinite recursion
60 ;; because it refers to the value class of the same name. 60 ;; because it refers to the value class of the same name.
61 (should (= (length (css--property-values "color")) 18))) 61 (should (= (length (css--property-values "color")) 147)))
62 62
63(ert-deftest css-test-property-value-cache () 63(ert-deftest css-test-property-value-cache ()
64 "Test that `css--property-value-cache' is in use." 64 "Test that `css--property-value-cache' is in use."