mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-08-25 04:57:03 +00:00
Reason: • consistency : animations handled by animator. • Views can now animate several DOM elements. For example a view with a nine part image need to animate its sub divs. • Do not create any css animation when the start and end values are equal and there is no intermediate values. + This commit adds an optional method to CPView - (CGRect)frameRectOfView:(CPView)aView inSuperviewSize:(CGSize)aSize Returns the frame of a view given its superview frame. This will allow views implementing -layoutSubviews to gain an optional declarative layout. The animation system will use this method to compute the end value of an animation.