DescriptionInvalidate ancestor resources in when relative lengths change
If a LayoutObject within a resource had relative lengths, and the viewport
changed, only the object itself would be invalidated - not any of the
clients of the resource. This would fail to invalidate the cached display
item with Slimming Paint.
Modify SVGClipPathElement::selfHasRelativeLengths() to indicate if any
of the children have relative lengths, to make sure the clients are
invalidated in that case. (SVGClipPathElement will otherwise never indicate
that it has relative lengths.)
Fixes svg/custom/viewport-resource-inval.svg with Slimming Paint enabled.
BUG=477743
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=194949
Patch Set 1 #Patch Set 2 : TEs. #
Total comments: 3
Patch Set 3 : A different way. #Patch Set 4 : Refine. #Patch Set 5 : SP needs new baseline too. #Patch Set 6 : Third time... #Patch Set 7 : Add test. #
Messages
Total messages: 14 (4 generated)
|