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

Issue 1153333005: Fix painting bounds calculations for ellipsis (Closed)

Created:
5 years, 6 months ago by fs
Modified:
5 years, 6 months ago
Reviewers:
chrishtr
CC:
blink-reviews, blink-reviews-paint_chromium.org, dshwang, slimming-paint-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Fix painting bounds calculations for ellipsis Change the paint bounds computation, to base it on logical bounds and then apply a logical -> physical transform. Include the selection rect if needed. TEST=fast/css/text-overflow-ellipsis-vertical-select.html (S.P. strict cull) BUG=496318 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=196592

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -8 lines) Patch
M Source/core/paint/EllipsisBoxPainter.cpp View 2 chunks +15 lines, -8 lines 2 comments Download

Messages

Total messages: 9 (2 generated)
fs
5 years, 6 months ago (2015-06-05 15:33:44 UTC) #2
chrishtr
https://codereview.chromium.org/1153333005/diff/1/Source/core/paint/EllipsisBoxPainter.cpp File Source/core/paint/EllipsisBoxPainter.cpp (right): https://codereview.chromium.org/1153333005/diff/1/Source/core/paint/EllipsisBoxPainter.cpp#newcode26 Source/core/paint/EllipsisBoxPainter.cpp:26: bool isPrinting = m_ellipsisBox.layoutObject().document().printing(); EllipsisBox inherits from InlineBox. Can ...
5 years, 6 months ago (2015-06-05 16:46:06 UTC) #3
fs
https://codereview.chromium.org/1153333005/diff/1/Source/core/paint/EllipsisBoxPainter.cpp File Source/core/paint/EllipsisBoxPainter.cpp (right): https://codereview.chromium.org/1153333005/diff/1/Source/core/paint/EllipsisBoxPainter.cpp#newcode26 Source/core/paint/EllipsisBoxPainter.cpp:26: bool isPrinting = m_ellipsisBox.layoutObject().document().printing(); On 2015/06/05 16:46:06, chrishtr wrote: ...
5 years, 6 months ago (2015-06-05 17:14:03 UTC) #4
chrishtr
On 2015/06/05 at 17:14:03, fs wrote: > https://codereview.chromium.org/1153333005/diff/1/Source/core/paint/EllipsisBoxPainter.cpp > File Source/core/paint/EllipsisBoxPainter.cpp (right): > > https://codereview.chromium.org/1153333005/diff/1/Source/core/paint/EllipsisBoxPainter.cpp#newcode26 ...
5 years, 6 months ago (2015-06-05 17:31:06 UTC) #5
chrishtr
lgtm
5 years, 6 months ago (2015-06-05 17:47:24 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1153333005/1
5 years, 6 months ago (2015-06-05 17:47:45 UTC) #8
commit-bot: I haz the power
5 years, 6 months ago (2015-06-05 17:52:05 UTC) #9
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://src.chromium.org/viewvc/blink?view=rev&revision=196592

Powered by Google App Engine
This is Rietveld 408576698