Kronuz / pyScss

pyScss, a Scss compiler for Python
MIT License
582 stars 141 forks source link

HSL with unitless S/L interpreted differently #175

Closed eevee closed 11 years ago

eevee commented 11 years ago

Given hsl(180, 0.5, 0.5).

Python produces #40bfbf.

Ruby produces #010101.

It seems Ruby is quietly adding the percentages, whereas Python is treating the numbers as... well, as I'd expect, actually.

Arguably Ruby is wrong here, but filing a ticket anyway to remind me to investigate.

eevee commented 11 years ago

Incidentally fixed as part of the number rewrite.