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

Issue 2011863005: Fix printing issue of list item with blank first line (Closed)

Created:
4 years, 6 months ago by Xianzhu
Modified:
4 years, 6 months ago
Reviewers:
chrishtr
CC:
blink-reviews, blink-reviews-layout_chromium.org, blink-reviews-paint_chromium.org, chromium-reviews, dshwang, eae+blinkwatch, jchaffraix+rendering, leviw+renderwatch, pdr+renderingwatchlist_chromium.org, slimming-paint-reviews_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

Fix printing issue of list item with blank first line The problem was that LayoutObject::addElementVisualOverflowRects() doesn't cover list markers. Filed crbug.com/614781 for this. Let BlockPainter unite its visual overflow and the result of addElementVisualOverflowRects() to ensure whole visual overflow coverage. BUG=614262 TEST=printing/list-item-with-empty-first-line.html Committed: https://crrev.com/6a19a7c66cdcbb95284ebf6157ad6cf4a82fbc89 Cr-Commit-Position: refs/heads/master@{#396046}

Patch Set 1 #

Patch Set 2 : #

Total comments: 3

Patch Set 3 : virtual/threaded/printing/list-item-with-empty-first-line.html #

Messages

Total messages: 20 (9 generated)
Xianzhu
4 years, 6 months ago (2016-05-25 19:25:04 UTC) #2
chrishtr
https://codereview.chromium.org/2011863005/diff/20001/third_party/WebKit/Source/core/paint/BlockPainter.cpp File third_party/WebKit/Source/core/paint/BlockPainter.cpp (right): https://codereview.chromium.org/2011863005/diff/20001/third_party/WebKit/Source/core/paint/BlockPainter.cpp#newcode226 third_party/WebKit/Source/core/paint/BlockPainter.cpp:226: overflowRect.unite(m_layoutBlock.visualOverflowRect()); Is this too big of a hammer for ...
4 years, 6 months ago (2016-05-25 20:09:40 UTC) #4
chrishtr
lgtm https://codereview.chromium.org/2011863005/diff/20001/third_party/WebKit/Source/core/paint/BlockPainter.cpp File third_party/WebKit/Source/core/paint/BlockPainter.cpp (right): https://codereview.chromium.org/2011863005/diff/20001/third_party/WebKit/Source/core/paint/BlockPainter.cpp#newcode226 third_party/WebKit/Source/core/paint/BlockPainter.cpp:226: overflowRect.unite(m_layoutBlock.visualOverflowRect()); On 2016/05/25 at 20:09:40, chrishtr wrote: > ...
4 years, 6 months ago (2016-05-25 20:10:46 UTC) #5
Xianzhu
https://codereview.chromium.org/2011863005/diff/20001/third_party/WebKit/Source/core/paint/BlockPainter.cpp File third_party/WebKit/Source/core/paint/BlockPainter.cpp (right): https://codereview.chromium.org/2011863005/diff/20001/third_party/WebKit/Source/core/paint/BlockPainter.cpp#newcode226 third_party/WebKit/Source/core/paint/BlockPainter.cpp:226: overflowRect.unite(m_layoutBlock.visualOverflowRect()); On 2016/05/25 20:10:46, chrishtr wrote: > On 2016/05/25 ...
4 years, 6 months ago (2016-05-25 20:16:19 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2011863005/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2011863005/20001
4 years, 6 months ago (2016-05-25 20:17:09 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: win8_chromium_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win8_chromium_ng/builds/153982)
4 years, 6 months ago (2016-05-25 20:27:26 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2011863005/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2011863005/20001
4 years, 6 months ago (2016-05-25 20:38:13 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/233949)
4 years, 6 months ago (2016-05-25 21:31:02 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2011863005/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2011863005/40001
4 years, 6 months ago (2016-05-25 21:55:44 UTC) #17
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 6 months ago (2016-05-25 23:54:25 UTC) #18
commit-bot: I haz the power
4 years, 6 months ago (2016-05-25 23:55:13 UTC) #20
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/6a19a7c66cdcbb95284ebf6157ad6cf4a82fbc89
Cr-Commit-Position: refs/heads/master@{#396046}

Powered by Google App Engine
This is Rietveld 408576698