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

Issue 1980733002: Clear knownToHaveNoOverflow() for line boxes when recomputing overflow without layout (Closed)

Created:
4 years, 7 months ago by rhogan
Modified:
4 years, 7 months ago
Reviewers:
Xianzhu
CC:
blink-reviews, blink-reviews-layout_chromium.org, chromium-reviews, eae+blinkwatch, jchaffraix+rendering, leviw+renderwatch, pdr+renderingwatchlist_chromium.org, szager+layoutwatch_chromium.org, zoltan1
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Clear knownToHaveNoOverflow() for line boxes when recomputing overflow without layout knownToHaveNoOverflow() typically gets reset during layout. When we're just recomputing overflow without a layout we have to clear it ourselves on any lineboxes that we identify as needing overflow recalculated, otherwise computeOverflow() on the linebox returns early. BUG=609414 Committed: https://crrev.com/ed8035039a5d5a4424ae8f11d80d7b20ebb92537 Cr-Commit-Position: refs/heads/master@{#394186}

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+17 lines, -0 lines) Patch
A third_party/WebKit/LayoutTests/fast/repaint/inline-box-overflow-repaint.html View 1 chunk +10 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/repaint/inline-box-overflow-repaint-expected.html View 1 chunk +6 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp View 1 chunk +1 line, -0 lines 2 comments Download

Messages

Total messages: 12 (5 generated)
rhogan
4 years, 7 months ago (2016-05-15 10:36:54 UTC) #2
Xianzhu
Please update the title and description to state that this CL ensures clearKnownToHaveNoOverflow() when recomputing ...
4 years, 7 months ago (2016-05-16 22:29:19 UTC) #3
rhogan
https://codereview.chromium.org/1980733002/diff/1/third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp File third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp (right): https://codereview.chromium.org/1980733002/diff/1/third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp#newcode3179 third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp:3179: box->clearKnownToHaveNoOverflow(); On 2016/05/16 at 22:29:19, Xianzhu wrote: > Shouldn't ...
4 years, 7 months ago (2016-05-17 17:38:08 UTC) #4
Xianzhu
lgtm
4 years, 7 months ago (2016-05-17 17:45:01 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1980733002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1980733002/1
4 years, 7 months ago (2016-05-17 17:45:34 UTC) #9
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 7 months ago (2016-05-17 19:23:04 UTC) #10
commit-bot: I haz the power
4 years, 7 months ago (2016-05-17 19:25:57 UTC) #12
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/ed8035039a5d5a4424ae8f11d80d7b20ebb92537
Cr-Commit-Position: refs/heads/master@{#394186}

Powered by Google App Engine
This is Rietveld 408576698