Skip to content

Commit c287f31

Browse files
committed
Emit transparent colors as rgba(0, 0, 0, 0)
This change breaks browser compat for IE < 10 so it is scheduled for 3.6. It will not be back ported to the 3.5 line. See sass/sass#1782 Fixes #2298 Spec sass/sass-spec#1242
1 parent 5ff5859 commit c287f31

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/inspect.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -684,9 +684,6 @@ namespace Sass {
684684
if (name != "") {
685685
ss << name;
686686
}
687-
else if (r == 0 && g == 0 && b == 0 && a == 0) {
688-
ss << "transparent";
689-
}
690687
else if (a >= 1) {
691688
if (res_name != "") {
692689
if (compressed && hexlet.str().size() < res_name.size()) {

0 commit comments

Comments
 (0)