Skip to content

Commit

Permalink
Acivate specs for issue 550
Browse files Browse the repository at this point in the history
Needed to fix another spec test (ruby sass still passes).
The specific issue has been extracted to its own spec test.
sass/libsass#623
  • Loading branch information
mgreter committed Nov 6, 2014
1 parent b0ce2ff commit 2aa9c43
Show file tree
Hide file tree
Showing 16 changed files with 265 additions and 37 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
#foo {
i: 10.0001px;
j: 10.01px;
k: -10.0001px;
l: -10.01px; }

#foo {
i: 0.0001px;
j: 0.01px;
k: -0.0001px;
l: -0.01px; }

#foo {
i: .0001px;
j: .01px;
k: -.0001px;
l: -.01px; }
17 changes: 17 additions & 0 deletions spec/libsass-closed-issues/issue_550/literal/dimension/input.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
#foo {
i: 10.0001px;
j: 10.01px;
k: -10.0001px;
l: -10.01px; }

#foo {
i: 0.0001px;
j: 0.01px;
k: -0.0001px;
l: -0.01px; }

#foo {
i: .0001px;
j: .01px;
k: -.0001px;
l: -.01px; }
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
#foo {
a: 10.0001;
b: 10.01;
c: -10.0001;
d: -10.01; }

#foo {
a: 0.0001;
b: 0.01;
c: -0.0001;
d: -0.01; }

#foo {
a: .0001;
b: .01;
c: -.0001;
d: -.01; }
17 changes: 17 additions & 0 deletions spec/libsass-closed-issues/issue_550/literal/number/input.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
#foo {
a: 10.0001;
b: 10.01;
c: -10.0001;
d: -10.01; }

#foo {
a: 0.0001;
b: 0.01;
c: -0.0001;
d: -0.01; }

#foo {
a: .0001;
b: .01;
c: -.0001;
d: -.01; }
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
#foo {
e: 10.0001%;
f: 10.01%;
g: -10.0001%;
h: -10.01%; }

#foo {
e: 0.0001%;
f: 0.01%;
g: -0.0001%;
h: -0.01%; }

#foo {
e: .0001%;
f: .01%;
g: -.0001%;
h: -.01%; }
17 changes: 17 additions & 0 deletions spec/libsass-closed-issues/issue_550/literal/percent/input.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
#foo {
e: 10.0001%;
f: 10.01%;
g: -10.0001%;
h: -10.01%; }

#foo {
e: 0.0001%;
f: 0.01%;
g: -0.0001%;
h: -0.01%; }

#foo {
e: .0001%;
f: .01%;
g: -.0001%;
h: -.01%; }
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#foo {
color: saturate(0.03);
color: saturate(0.7);
-webkit-filter: grayscale(0.03);
-webkit-filter: grayscale(0.7); }
9 changes: 9 additions & 0 deletions spec/libsass-closed-issues/issue_550/operator/input.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
$x: .03;
$y: 0.7;

#foo {
color: saturate($x);
color: saturate($y);
-webkit-filter: grayscale(.03);
-webkit-filter: grayscale(0.7);
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
#foo {
i: 10.0001px;
j: 10.01px;
k: -10.0001px;
l: -10.01px; }

#foo {
i: 0.0001px;
j: 0.01px;
k: -0.0001px;
l: -0.01px; }

#foo {
i: 0.0001px;
j: 0.01px;
k: -0.0001px;
l: -0.01px; }
33 changes: 33 additions & 0 deletions spec/libsass-closed-issues/issue_550/variable/dimension/input.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
$i1: 10.0001px;
$j1: 10.01px;
$k1: -10.0001px;
$l1: -10.01px;

#foo {
i: $i1;
j: $j1;
k: $k1;
l: $l1; }

$i2: 0.0001px;
$j2: 0.01px;
$k2: -0.0001px;
$l2: -0.01px;

#foo {
i: $i2;
j: $j2;
k: $k2;
l: $l2; }

$i3: .0001px;
$j3: .01px;
$k3: -.0001px;
$l3: -.01px;

#foo {
i: $i3;
j: $j3;
k: $k3;
l: $l3; }

Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
#foo {
a: 10.0001;
b: 10.01;
c: -10.0001;
d: -10.01; }

#foo {
a: 0.0001;
b: 0.01;
c: -0.0001;
d: -0.01; }

#foo {
a: 0.0001;
b: 0.01;
c: -0.0001;
d: -0.01; }
33 changes: 33 additions & 0 deletions spec/libsass-closed-issues/issue_550/variable/number/input.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
$a1: 10.0001;
$b1: 10.01;
$c1: -10.0001;
$d1: -10.01;

#foo {
a: $a1;
b: $b1;
c: $c1;
d: $d1; }

$a2: 0.0001;
$b2: 0.01;
$c2: -0.0001;
$d2: -0.01;

#foo {
a: $a2;
b: $b2;
c: $c2;
d: $d2; }

$a3: .0001;
$b3: .01;
$c3: -.0001;
$d3: -.01;

#foo {
a: $a3;
b: $b3;
c: $c3;
d: $d3; }

Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
#foo {
e: 10.0001%;
f: 10.01%;
g: -10.0001%;
h: -10.01%; }

#foo {
e: 0.0001%;
f: 0.01%;
g: -0.0001%;
h: -0.01%; }

#foo {
e: 0.0001%;
f: 0.01%;
g: -0.0001%;
h: -0.01%; }
32 changes: 32 additions & 0 deletions spec/libsass-closed-issues/issue_550/variable/percent/input.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
$e1: 10.0001%;
$f1: 10.01%;
$g1: -10.0001%;
$h1: -10.01%;

#foo {
e: $e1;
f: $f1;
g: $g1;
h: $h1; }
$e2: 0.0001%;
$f2: 0.01%;
$g2: -0.0001%;
$h2: -0.01%;

#foo {
e: $e2;
f: $f2;
g: $g2;
h: $h2; }

$e3: .0001%;
$f3: .01%;
$g3: -.0001%;
$h3: -.01%;

#foo {
e: $e3;
f: $f3;
g: $g3;
h: $h3; }

17 changes: 0 additions & 17 deletions spec/libsass-todo-issues/issue_550/expected_output.css

This file was deleted.

20 changes: 0 additions & 20 deletions spec/libsass-todo-issues/issue_550/input.scss

This file was deleted.

0 comments on commit 2aa9c43

Please sign in to comment.