Fx.Tween and RGBA /HSL Color does not work #2210

Open
ibolmo opened this Issue Jan 19, 2012 · 2 comments

Comments

Projects
None yet
2 participants
Owner

ibolmo commented Jan 19, 2012 edited by arian

(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.


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Contributor

GCheung55 commented Jan 25, 2012

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

Owner

ibolmo commented Feb 4, 2012

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.

ibolmo removed the enhancement label Mar 3, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment