Open ibolmo opened 12 years ago
I was hunting this one down. I've only narrowed it down to the Fx.CSS.Parsers. https://github.com/mootools/mootools-core/blob/master/Source/Fx/Fx.CSS.js#L111
Yeah the Fx.CSS.Parser.Color
is lacking parsing of rgba
values. Moving this to 1.5 for considerations.
We could use Color.js (currently at More) to manage (parsing and encoding) of the color. That should support hsl, hsb, rgb, rgba etc.
(from Lighthouse)
See this Demo:
http://jsfiddle.net/SunboX/ExXK4/
(From comment) Why are we supporting hsb instead of hsl? Shouldn't we be supporting what is supported in css3? I have code that works, and has been in production use, if you're interested.