[Pkg-javascript-commits] [less.js] 284/285: add further unit fallback tests

Jonas Smedegaard dr at jones.dk
Mon Oct 26 23:24:02 UTC 2015


This is an automated email from the git hooks/post-receive script.

js pushed a commit to annotated tag v2.0.0
in repository less.js.

commit 06a97bccb3185a0806645d6732be8225893dc537
Author: Luke Page <luke.a.page at gmail.com>
Date:   Sun Nov 9 14:21:40 2014 +0000

    add further unit fallback tests
---
 test/css/variables.css   | 2 ++
 test/less/variables.less | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/test/css/variables.css b/test/css/variables.css
index faca880..1f27920 100644
--- a/test/css/variables.css
+++ b/test/css/variables.css
@@ -54,4 +54,6 @@
   mul-cm-1: 196cm;
   add-px-1: 15.4px;
   add-px-2: 393.35275591px;
+  mul-px-2: 140px;
+  mul-px-3: 140px;
 }
diff --git a/test/less/variables.less b/test/less/variables.less
index 96f3555..d45293f 100644
--- a/test/less/variables.less
+++ b/test/less/variables.less
@@ -94,5 +94,7 @@
     mul-cm-1: (@cm * (@em * @px));
     add-px-1: (@px + @em);
     add-px-2: ((@px + @em) + @cm);
+    mul-px-2: ((1 * @px) * @cm);
+    mul-px-3: ((@px * 1) * @cm);
   }
 }

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/less.js.git



More information about the Pkg-javascript-commits mailing list