Promoted subtree


Purpose: As timing containers are defined according to the outermost SVG document fragment, this case tests when a nested <svg> element is removed and added as the outermost svg fragment, that is, promoted.

Operation: There is one animation containing two circles that move to the right. The second circle is contained in a nested <svg> element. After 1.5s this element is removed from the outer <svg> element and then appended to the parent <p> element.

Expected results: The two circles move right in unison. After they reach about the half-way point a new document appears with the second circle. The two circles continue moving at the same rate and from the same offset within their containers.