[CI] Stop tracking <*Gradient> 'href' references through SVGResources
Gradient resources are currently only using the 'linked' resource in the SVGResources object for cycle breaking and change notifications. The SVG*GradientElements also perform cycle breaking on their own, disregarding what SVGResourcesCycleSolver has done. The 'href's themselves are what risk introducing cycles for gradients at the moment, so handling them explicitly (as is already done) doesn't add any additional complexity. Mixing resources defined by the DOM with those defined by style does add complexity though. This CL stops tracking <*Gradient> href's using SVGResources, and starts tracking them using an IdTargetObserver in SVGGradientElement, much like how similar 'href's are tracked. Bug: 661598, 769774 Cq-Include-Trybots: master.tryserver.blink:linux_trusty_blink_rel;master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 Change-Id: I5538ede4170c7181098fe2308dbfa640506334f4 Reviewed-on: https://chromium-review.googlesource.com/880965 Commit-Queue: Fredrik Söderquist <fs@opera.com> Reviewed-by:Philip Rogers <pdr@chromium.org> Cr-Commit-Position: refs/heads/master@{#543685}
Showing
Please register or sign in to comment