Move SVG pending resources handling out of Element::removedFromAncestor() since this is a very hot code path. Instead, we now do this handling in SVGElement::removedFromAncestor().
Pull request: https://github.com/WebKit/WebKit/pull/3496
Committed 253721@main (31b1238c0b6d): <https://commits.webkit.org/253721@main> Reviewed commits have been landed. Closing PR #3496 and removing active labels.
<rdar://problem/99086744>