Closed bgarret closed 12 years ago
Sass::Script::Color#to_s returns the human readable form when it belongs to the set of HTML4 colors.
Sass::Script::Color#to_s
This means that the following:
ie_hex_str(#ffffff)
will return:
#ffwhite
This breaks the btn and breadcrumb classes on IE (among others).
btn
breadcrumb
I took the liberty of adding some tests, related to the current bug fix. I used the default ruby test framework and I can confirm they pass both on ruby 1.9.2 and 1.8.7.
@bgarret, thanks!
Sass::Script::Color#to_s
returns the human readable form when it belongs to the set of HTML4 colors.This means that the following:
will return:
This breaks the
btn
andbreadcrumb
classes on IE (among others).