DescriptionPause SVG animations when the document is detached.
This patch pauses SVG animations if the document is detached or
disposed (matching m_scriptedAnimationController's behavior). SVG
animations will already reset when the document is re-attached so there
are no additional unpause() calls.
This patch allows us add an assert for document()->frame() in
StyleResolver::styleForElement. No new tests as this functionality is
covered with existing tests and the new assert.
BUG=260966
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=154382
Patch Set 1 #Patch Set 2 : Remove defaultStyleForElement branch as well #
Messages
Total messages: 6 (0 generated)
|