DescriptionCancel animations before calling ContainerNode::attach in Element::attach.
We need to cancel the animation first since the cancel() call can then end up
calling setNeedsStyleRecalc on ourself which would leave a dirty bit set.
By doing it before ContainerNode::attach the dirty bit will be cleared.
A future patch will add an ASSERT that we never leave any dirty bits.
BUG=492730
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=196370
Patch Set 1 #Patch Set 2 : with asserts. #Patch Set 3 : No asserts yet. #Patch Set 4 : Add a test. #Patch Set 5 : Add a test. #
Messages
Total messages: 20 (8 generated)
|
|||||||||||||||||||||||||||||||||||||