Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Cannot tween the clip:rect top property #2460
I'm unable to tween the 'top' property of a clip:rect with mootools. the 'right' property works fine
It seems to be related to how the 'rect(..)' is tokenized by Fx.CSS - the first part is tokenized as "rect(0px" which breaks the compute
Adding this to fix the parsing of the first 'rect' token fixed the issue for me if a rect() is already set, but it's not a complete fix - it fails if no clip:rect() at all is set yet:
See here for a demonstration: http://jsfiddle.net/mY9Eh/