On 14/7/09 6:37 AM, L. David Baron wrote:
One idea I had just now is that we use the following algorithm, which I think should be pretty simple: Let O be the old value of the property (including transitions) Let E be the old value of the property (not including transitions, i.e., the endpoint of the currently running transition) Let N be the new value of the property.Run the transition from O to N. (That's the part we're doing now.) However, if abs(O-N)< abs(E-N), reduce the transition-duration by their ratio. If transition-delay is negative, also reduce the transition-delay by the same ratio. (Or maybe just reduce transition-delay unconditionally?)
I think if we're changing the transition duration then we do need to scale transition-delay in both the positive and negative case so we preserve the shape of the overall transition function. If we're not changing the transition duration, why would we want to change the transition delay?
Rob _______________________________________________ dev-tech-layout mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-layout

