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

Issue 1167543008: Dirty nearby lineboxes if we layout a float rather than trying to work it out later (Closed)

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

Description

Dirty nearby lineboxes if we layout a float rather than trying to work it out later This is a simpler, but necessarily broader-brushed, approach to linebox dirtying when floats are present than the one we have currently. If it doesn't create performance problems after baking for a while there is a lot of stuff I think we can rip out of the line layout code as a lot of the current complexity relates to figuring out what lineboxes to dirty when floats are nearby. BUG=491866 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=198739

Patch Set 1 #

Total comments: 3

Patch Set 2 : Updated #

Patch Set 3 : Updated #

Patch Set 4 : Updated #

Unified diffs Side-by-side diffs Delta from patch set Stats (+139 lines, -74 lines) Patch
M LayoutTests/TestExpectations View 1 1 chunk +7 lines, -0 lines 0 comments Download
A LayoutTests/fast/block/float/float-inserted-into-clean-line.html View 1 2 3 1 chunk +34 lines, -0 lines 0 comments Download
A LayoutTests/fast/block/float/float-inserted-into-clean-line-expected.txt View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download
M LayoutTests/platform/linux/fast/repaint/line-flow-with-floats-10-expected.txt View 1 2 chunks +20 lines, -1 line 0 comments Download
M LayoutTests/platform/linux/fast/repaint/line-flow-with-floats-3-expected.txt View 1 1 chunk +7 lines, -1 line 0 comments Download
M LayoutTests/platform/linux/fast/repaint/line-flow-with-floats-4-expected.txt View 1 2 chunks +20 lines, -1 line 0 comments Download
M LayoutTests/platform/linux/fast/repaint/line-flow-with-floats-5-expected.txt View 1 2 chunks +25 lines, -1 line 0 comments Download
M LayoutTests/platform/linux/fast/repaint/line-flow-with-floats-6-expected.txt View 1 1 chunk +12 lines, -2 lines 0 comments Download
M LayoutTests/platform/linux/fast/repaint/line-flow-with-floats-9-expected.txt View 1 1 chunk +1 line, -17 lines 0 comments Download
M Source/core/layout/LayoutBlockFlow.h View 1 1 chunk +0 lines, -1 line 0 comments Download
M Source/core/layout/LayoutBlockFlowLine.cpp View 1 5 chunks +7 lines, -49 lines 0 comments Download
M Source/core/layout/LayoutObject.cpp View 1 1 chunk +1 line, -1 line 0 comments Download

Depends on Patchset:

Messages

Total messages: 21 (11 generated)
rhogan
5 years, 5 months ago (2015-07-06 18:46:14 UTC) #2
leviw_travelin_and_unemployed
Umm... yes! \o/ I think this is a great idea. LGTM with a nit. https://codereview.chromium.org/1167543008/diff/1/LayoutTests/TestExpectations ...
5 years, 5 months ago (2015-07-07 21:09:28 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1167543008/1
5 years, 5 months ago (2015-07-11 13:01:41 UTC) #5
commit-bot: I haz the power
Try jobs failed on following builders: mac_blink_rel on tryserver.blink (JOB_FAILED, http://build.chromium.org/p/tryserver.blink/builders/mac_blink_rel/builds/62558)
5 years, 5 months ago (2015-07-11 13:04:07 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1167543008/20001
5 years, 5 months ago (2015-07-11 15:52:37 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: mac_blink_rel on tryserver.blink (JOB_FAILED, http://build.chromium.org/p/tryserver.blink/builders/mac_blink_rel/builds/62565)
5 years, 5 months ago (2015-07-11 17:14:16 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1167543008/40001
5 years, 5 months ago (2015-07-12 08:40:37 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: mac_blink_rel on tryserver.blink (JOB_FAILED, http://build.chromium.org/p/tryserver.blink/builders/mac_blink_rel/builds/62569)
5 years, 5 months ago (2015-07-12 10:03:25 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1167543008/60001
5 years, 5 months ago (2015-07-12 18:34:19 UTC) #20
commit-bot: I haz the power
5 years, 5 months ago (2015-07-12 19:56:11 UTC) #21
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=198739

Powered by Google App Engine
This is Rietveld 408576698