DescriptionDon't clear 'web animations dirty' flag if we have no rare data
If an SVGElement has an instantiated ElementAnimations object and
animation time has progressed, but no actual animation has been applied
(and hence no SVGElementRareData has been created), we don't need to
clear the dirty bit in the rare data.
The initial trigger for this seems to be the Element.computedName
implementation for a detached node, which tries to compute style in
this case, triggering a DCHECK in Node::containingTreeScope when doing
so.
BUG=686424
Review-Url: https://codereview.chromium.org/2689713003
Cr-Commit-Position: refs/heads/master@{#450689}
Committed: https://chromium.googlesource.com/chromium/src/+/49bd1e63cb077e88db6d89f5a3db801dec55e743
Patch Set 1 #Patch Set 2 : Don't compute style for node that isn't in the document #
Total comments: 3
Patch Set 3 : Use testharness #
Messages
Total messages: 25 (18 generated)
|