DescriptionAdd 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}
Committed: https://chromium.googlesource.com/chromium/src/+/9fb4d73eca12f0a247bf8b2c36e8d347f272354a
Patch Set 1 #
Total comments: 1
Messages
Total messages: 12 (8 generated)
|