Add connected-paranoia in SVGElement::UpdateRelativeLengthsInformation
When (animated attribute) mutations are trigger by a 'id' change (via an IdTargetObserver), relative lengths state may be revalidated while the element are in the process of being removed from the document, but has not yet been marked as such. If relative length state is updated in such a case, the |elements_with_relative_lengths_| set could end up in an inconsistent state. Instead of only relying on the connected bit of the current element, also check all the ancestors to make sure. BUG=705200 Review-Url: https://codereview.chromium.org/2817913002 Cr-Commit-Position: refs/heads/master@{#464408}
Showing
Please register or sign in to comment