DescriptionRefine cull rect for SVGInlineTextBox painting
The PaintInfo cull rect can (will) change between paints, so use
the moral equivalent of logicalOverflowRect() to compute a more
accurate cull rect instead.
This fixes under-invalidation in the following tests:
svg/dynamic-updates/SVGTextElement-dom-lengthAdjust-attr.html,
svg/dynamic-updates/SVGTextElement-dom-textLength-attr.html,
svg/dynamic-updates/SVGTextElement-svgdom-lengthAdjust-prop.html and
svg/dynamic-updates/SVGTextElement-svgdom-textLength-prop.html
Exposed by https://codereview.chromium.org/2104943005
BUG=231560
Committed: https://crrev.com/1d600ed3a61c66119bf732d3b17d3e8372c8cdb7
Cr-Commit-Position: refs/heads/master@{#404265}
Patch Set 1 #Patch Set 2 : Try 2 #Patch Set 3 : Adjust to match calculateBoundaries #
Total comments: 7
Patch Set 4 : Add boundsForDrawingRecorder; expose helper from InlineTextBoxPainter #
Messages
Total messages: 15 (5 generated)
|