DescriptionHandle layer clients in LayoutSVGResourceContainer::registerResource
When registering pending clients on a newly discovered (filter) resource,
make sure to invalidate via the DeprectatedPaintLayer if the client has
one, or the client won't be updated properly.
Make SVGResourcesCache::clientStyleChanged handle non-SVG elements.
This was exposed by scheduler changes that caused flaky behavior in
LayoutTests/css3/filters/effect-reference-rename.html, where the
script:
document.getElementById("NotMyFilter").id = "MyFilter";
would normally execute before the call to registerResource() that added
MyFilter. With the scheduler these could happen in the opposite order
and trigger the "layoutObject->node()->isSVGElement()" assert.
BUG=453019, 432129
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=193438
Patch Set 1 #
Total comments: 7
Patch Set 2 : Fix typo. #Patch Set 3 : Continue in loop #
Messages
Total messages: 13 (4 generated)
|