DescriptionDon't force full repaint on size change in style
Move size change case from RenderStyle::diffNeedsFullLayoutAndRepaint()
into RenderStyle::diffNeedsFullLayout().
Also changed RenderObject::repaintAfterLayoutIfNeeded() to erase
the old rignt and/or bottom borders when needed during incremental
invalidation.
About tests:
- Existing test to be rebaselined: boxes not needing full repaint on
resize is now go through incremental invalidation path;
- Though rebaselined, existing test with incorrect repaint expectations
caused by crbug.com/380472 are still incorrect;
- One new test: fast/repaint/resize-with-border.html.
BUG=310875
TEST=See "About tests" above
R=esprehn@chromium.org
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=176700
Patch Set 1 #
Total comments: 4
Patch Set 2 : Erase old bottom/right border during incremental invalidation #Patch Set 3 : Back to Patch Set 1 + cleanups #Patch Set 4 : Rebase; Update test expectations #
Total comments: 2
Patch Set 5 : Back to initial patch #Patch Set 6 : For landing #Patch Set 7 : More rebaseline #
Messages
Total messages: 18 (0 generated)
|