Skip to content

Commit

Permalink
Emit transparent colors as rgba(0, 0, 0, 0)
Browse files Browse the repository at this point in the history
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 sass#2298
Spec sass/sass-spec#1242
  • Loading branch information
xzyfer committed Mar 28, 2018
1 parent f315c93 commit 17a83f6
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/inspect.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -671,9 +671,6 @@ namespace Sass {
if (name != "") {
ss << name;
}
else if (r == 0 && g == 0 && b == 0 && a == 0) {
ss << "transparent";
}
else if (a >= 1) {
if (res_name != "") {
if (compressed && hexlet.str().size() < res_name.size()) {
Expand Down

0 comments on commit 17a83f6

Please sign in to comment.