[Pkg-javascript-commits] [less.js] 49/58: also test for using string functions with data-uri as that used to fail
Jonas Smedegaard
dr at jones.dk
Mon Oct 26 23:28:33 UTC 2015
This is an automated email from the git hooks/post-receive script.
js pushed a commit to annotated tag v2.3.0
in repository less.js.
commit 8ba6080171534314dadbdd6e509cf9a30eedc668
Author: Luke Page <luke.a.page at gmail.com>
Date: Mon Jan 26 20:20:13 2015 +0000
also test for using string functions with data-uri as that used to fail
---
test/css/urls.css | 2 +-
test/less/urls.less | 3 ++-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/test/css/urls.css b/test/css/urls.css
index 6503b4d..c43118c 100644
--- a/test/css/urls.css
+++ b/test/css/urls.css
@@ -57,7 +57,7 @@
}
#data-uri {
uri: url("data:image/jpeg;base64,bm90IGFjdHVhbGx5IGEganBlZyBmaWxlCg==");
- background-image: url("data:image/jpeg;base64,bm90IGFjdHVhbGx5IGEganBlZyBmaWxlCg==");
+ background-image: url("data:image/jpeg;base64,bm90IGFjdHVhbGx5IGEganBlZyBmaWxlCg=="), url("data:image/jpeg;base64,bm90IGFjdHVhbGx5IGEganBlZyBmaWxlCg==");
uri-fragment: url("data:image/jpeg;base64,bm90IGFjdHVhbGx5IGEganBlZyBmaWxlCg==#fragment");
}
#data-uri-guess {
diff --git a/test/less/urls.less b/test/less/urls.less
index 0479d36..c3f65b4 100644
--- a/test/less/urls.less
+++ b/test/less/urls.less
@@ -46,7 +46,8 @@
#data-uri {
uri: data-uri('image/jpeg;base64', '../data/image.jpg');
@var: replace('../data/replace.jpg', "replace", "image");
- background-image: data-uri(@var);
+ background-image: data-uri(@var), data-uri(replace('../data/image.filext', "filext", "jpg"));
+
uri-fragment: data-uri('image/jpeg;base64', '../data/image.jpg#fragment');
}
--
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