Skip to content
This repository has been archived by the owner on Jul 24, 2024. It is now read-only.

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 #2298
Spec sass/sass-spec#1242
  • Loading branch information
xzyfer committed Mar 30, 2018
1 parent 5ff5859 commit c287f31
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 @@ -684,9 +684,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 c287f31

Please sign in to comment.