[Pkg-javascript-commits] [node-stylus] 08/09: Imported Upstream version 0.48.1+dfsg

Andrew Kelley andrewrk-guest at moszumanska.debian.org
Sun Sep 14 19:49:54 UTC 2014


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

andrewrk-guest pushed a commit to branch master
in repository node-stylus.

commit 2cedaaefc1c99427d4ae309bf3fad1205f2d2ee6
Author: Andrew Kelley <superjoe30 at gmail.com>
Date:   Sun Sep 14 19:48:37 2014 +0000

    Imported Upstream version 0.48.1+dfsg
---
 test/cases/bifs.image-size.css  | 21 ---------------------
 test/cases/bifs.image-size.styl | 34 ----------------------------------
 test/cases/functions.url.css    | 16 ----------------
 test/cases/functions.url.styl   | 19 -------------------
 4 files changed, 90 deletions(-)

diff --git a/test/cases/bifs.image-size.css b/test/cases/bifs.image-size.css
deleted file mode 100644
index 9dbe318..0000000
--- a/test/cases/bifs.image-size.css
+++ /dev/null
@@ -1,21 +0,0 @@
-body {
-  foo: 315px 450px;
-  foo: true;
-  foo: true;
-}
-body {
-  foo: 400px 479px;
-  foo: 400px 479px;
-  bar: 335px 315px;
-  bar: 341px 486px;
-  baz: 900px 900px;
-}
-body {
-  foo: 0 0;
-}
-body.tux {
-  background: url("tux.png");
-}
-body.foo {
-  background: #0f0;
-}
diff --git a/test/cases/bifs.image-size.styl b/test/cases/bifs.image-size.styl
deleted file mode 100644
index 94b7ccf..0000000
--- a/test/cases/bifs.image-size.styl
+++ /dev/null
@@ -1,34 +0,0 @@
-
-width(img)
-  return image-size(img)[0]
-
-height(img)
-  return image-size(img)[1]
-
-body
-  foo image-size('gif')
-  foo image-size('gif')[0] == width('gif')
-  foo image-size('gif')[1] == height('gif')
-
-body
-  foo image-size('tux.png')
-  foo image-size('tux.png')
-  bar image-size('squirrel.jpeg')
-  bar image-size('flowers.jpg')
-  baz image-size('tiger.svg')
-
-body
-  foo image-size('foo.png', true)
-
-// Checking for the file, so we could do a fallback
-body.tux
-  if image-size('tux.png', true)
-    background: url('tux.png')
-  else
-    background: lime
-
-body.foo
-  if image-size('foo.png', true)
-    background: url('foo.png')
-  else
-    background: lime
diff --git a/test/cases/functions.url.css b/test/cases/functions.url.css
deleted file mode 100644
index 3f61d4e..0000000
--- a/test/cases/functions.url.css
+++ /dev/null
@@ -1,16 +0,0 @@
-.embed-no-hash {
-  color: #c00;
-  background: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPHN2ZyB3aWR0aD0iMTIwIiBoZWlnaHQ9IjEyMCIgdmlld1BvcnQ9IjAgMCAxMjAgMTIwIiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CiAgICA8Y2lyY2xlIGN4PSI2MCIgY3k9IjYwIiByPSI1MCIvPgo8L3N2Zz4K");
-}
-.embed-with-hash {
-  color: #c00;
-  background: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPHN2ZyB3aWR0aD0iMTIwIiBoZWlnaHQ9IjEyMCIgdmlld1BvcnQ9IjAgMCAxMjAgMTIwIiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CiAgICA8Y2lyY2xlIGN4PSI2MCIgY3k9IjYwIiByPSI1MCIvPgo8L3N2Zz4K#some-id");
-}
-.too-big-no-hash {
-  color: #c00;
-  background: url("tiger.svg");
-}
-.too-big-with-hash {
-  color: #c00;
-  background: url("tiger.svg#some-id");
-}
diff --git a/test/cases/functions.url.styl b/test/cases/functions.url.styl
deleted file mode 100644
index 07452fa..0000000
--- a/test/cases/functions.url.styl
+++ /dev/null
@@ -1,19 +0,0 @@
-.embed-no-hash {
-  color: #c00;
-  background: url("circle.svg");
-}
-
-.embed-with-hash {
-  color: #c00;
-  background: url("circle.svg#some-id");
-}
-
-.too-big-no-hash {
-  color: #c00;
-  background: url("tiger.svg");
-}
-
-.too-big-with-hash {
-  color: #c00;
-  background: url("tiger.svg#some-id");
-}

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



More information about the Pkg-javascript-commits mailing list