Skip to content
This repository was archived by the owner on Oct 24, 2025. It is now read-only.

Commit 17a83f6

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 f315c93 commit 17a83f6

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
@@ -671,9 +671,6 @@ namespace Sass {
671671
if (name != "") {
672672
ss << name;
673673
}
674-
else if (r == 0 && g == 0 && b == 0 && a == 0) {
675-
ss << "transparent";
676-
}
677674
else if (a >= 1) {
678675
if (res_name != "") {
679676
if (compressed && hexlet.str().size() < res_name.size()) {

0 commit comments

Comments
 (0)