Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(345)

Issue 171843005: Avoid repainting non needs-self-layout container (Closed)

Created:
6 years, 10 months ago by Julien - ping for review
Modified:
6 years, 9 months ago
CC:
blink-reviews, bemjb+rendering_chromium.org, dsinclair, zoltan1, eae+blinkwatch, leviw+renderwatch, jchaffraix+rendering, pdr.
Visibility:
Public.

Description

Avoid repainting non needs-self-layout container The idea behind this change is that when an object is marked because his descendant needs layout, we should be able to avoid invalidation. This change is intentionally conservative as we can iterate on the checks as we find new areas for improvement. This change doesn't cause any changes in fast/repaint but does improve the test case on the bug by not repainting some anonymous wrappers. BUG=313447

Patch Set 1 #

Total comments: 6

Patch Set 2 : Rebaseline patch, taking into account Eric's review #

Patch Set 3 : Fixed mac build. #

Patch Set 4 : Fixed mac build. #

Patch Set 5 : Fix the test (scrollbars were forcing a full view repaint). #

Patch Set 6 : Improve the description of the test. #

Messages

Total messages: 5 (0 generated)
Julien - ping for review
I think the failures are flake. Comments welcome while I get hard evidence.
6 years, 10 months ago (2014-02-24 21:35:07 UTC) #1
eseidel
Presumably you intend to add the bug's test case as a repaint test?
6 years, 10 months ago (2014-02-24 21:42:06 UTC) #2
eseidel
With a test, this seems great! https://codereview.chromium.org/171843005/diff/1/Source/core/rendering/LayoutRepainter.cpp File Source/core/rendering/LayoutRepainter.cpp (right): https://codereview.chromium.org/171843005/diff/1/Source/core/rendering/LayoutRepainter.cpp#newcode39 Source/core/rendering/LayoutRepainter.cpp:39: , m_logicalWidth(-1) My ...
6 years, 10 months ago (2014-02-24 21:45:45 UTC) #3
Julien - ping for review
Added the test case but this patch doesn't help the test case. I still think ...
6 years, 9 months ago (2014-03-06 21:03:02 UTC) #4
Julien - ping for review
6 years, 9 months ago (2014-03-19 17:36:11 UTC) #5
Withdrawing this change, replaced by a better concept in
https://codereview.chromium.org/204843002/ .

Powered by Google App Engine
This is Rietveld 408576698