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

Issue 1308433003: Dirty line boxes correctly when a float gets layout (Closed)

Created:
5 years, 4 months ago by rhogan
Modified:
5 years, 4 months ago
Reviewers:
eae
CC:
blink-reviews, pdr+renderingwatchlist_chromium.org, zoltan1, szager+layoutwatch_chromium.org, eae+blinkwatch, leviw+renderwatch, blink-reviews-rendering, jchaffraix+rendering
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Dirty line boxes correctly when a float gets layout Using dirtyLinesFromChangedChild() was the wrong choice in https://codereview.chromium.org/1167543008 as it can dirty the lineboxes of descendants and ancestors. We're only interested in dirtying the lineboxes of the current parent as it is only to one of them we will possibly attach the float. I have more to do here to understand why I'm not getting a height on the span in my new test, but this successfully addresses the assert in bug 510703 and seems obviously more correct than what I currently have. BUG=510703 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=201025

Patch Set 1 #

Total comments: 1

Messages

Total messages: 6 (2 generated)
rhogan
https://codereview.chromium.org/1308433003/diff/1/Source/core/layout/LayoutBlockFlowLine.cpp File Source/core/layout/LayoutBlockFlowLine.cpp (right): https://codereview.chromium.org/1308433003/diff/1/Source/core/layout/LayoutBlockFlowLine.cpp#newcode1552 Source/core/layout/LayoutBlockFlowLine.cpp:1552: markLinesDirtyInBlockRange(toLayoutBox(o)->logicalTop(), toLayoutBox(o)->logicalBottom()); Oops, I should use |box| here. I'll ...
5 years, 4 months ago (2015-08-21 13:15:29 UTC) #2
eae
LGTM Step in the right direction, would be great if we could finally get to ...
5 years, 4 months ago (2015-08-21 18:43:33 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1308433003/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1308433003/1
5 years, 4 months ago (2015-08-21 20:14:48 UTC) #5
commit-bot: I haz the power
5 years, 4 months ago (2015-08-21 23:15:10 UTC) #6
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://src.chromium.org/viewvc/blink?view=rev&revision=201025

Powered by Google App Engine
This is Rietveld 408576698