From 17a83f6742405583f0aacd308dc29d6945c8d8f2 Mon Sep 17 00:00:00 2001 From: xzyfer Date: Wed, 28 Mar 2018 20:57:16 +1100 Subject: [PATCH] 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 https://github.com/sass/sass-spec/pull/1242 --- src/inspect.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/inspect.cpp b/src/inspect.cpp index 4aeb82436..bd0389224 100644 --- a/src/inspect.cpp +++ b/src/inspect.cpp @@ -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()) {