DescriptionUse unified invalidation path for repaint-only style changes
Use setShouldDoFullPaintInvalidation() for repaint-only style change
to avoid paintInvalidationForWholeRenderer() if possible.
Remaining issues:
- crbug.com/394133: for objects that don't invalidate themselves in
invalidateTreeIfNeeded(), we still need to call
paintInvalidationForWholeRenderer();
About tests:
- Some previous duplicated repaints are combined.
- Several test (e.g. fast/repaint/vertical-overflow-parent.html) have
extra invalidations for some scrollbar area. They will be eliminated
after bug 394833 is fixed.
- Some layer related tests had under-repaint previously. This is fixed
by this change.
BUG=394004, 394050
TEST=See "About tests" above.
Patch Set 1 #
Total comments: 12
Patch Set 2 : Fix under-paint for style-only change in old invalidation path #Patch Set 3 : Rebase #Patch Set 4 : Update naming #
Total comments: 2
Patch Set 5 : Based on split changes #Patch Set 6 : Rebase #Patch Set 7 : Also handle layers #
Messages
Total messages: 12 (0 generated)
|