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

Issue 652573002: RenderText: Add a test to ensure strings fit their own widths (Closed)

Created:
6 years, 2 months ago by ckocagil
Modified:
6 years, 2 months ago
Reviewers:
msw, Daniel Erat
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

RenderText: Add a test to ensure strings fit their own widths This CL tests against regressions of http://crbug.com/402347 BUG=402347 Committed: https://crrev.com/28da9ffbd9e39edb8fd707ec6129343a74e3816b Cr-Commit-Position: refs/heads/master@{#299997}

Patch Set 1 #

Patch Set 2 : enable rthb by default for testing #

Patch Set 3 : without derat's CL #

Patch Set 4 : only the test #

Total comments: 2

Patch Set 5 : nit #

Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -0 lines) Patch
M ui/gfx/render_text.h View 1 chunk +1 line, -0 lines 0 comments Download
M ui/gfx/render_text_unittest.cc View 1 2 3 4 1 chunk +15 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (4 generated)
ckocagil
Can you test this CL on CrOS to make sure it passes with and fails ...
6 years, 2 months ago (2014-10-15 01:12:08 UTC) #3
Daniel Erat
i think that you can verify this by modifying IsBrowserTextSubpixelPositioningEnabled() in ui/gfx/font_render_params_linux.cc to always return ...
6 years, 2 months ago (2014-10-15 15:54:24 UTC) #4
ckocagil
On 2014/10/15 15:54:24, Daniel Erat wrote: > i think that you can verify this by ...
6 years, 2 months ago (2014-10-15 16:20:39 UTC) #5
Daniel Erat
On 2014/10/15 16:20:39, ckocagil wrote: > On 2014/10/15 15:54:24, Daniel Erat wrote: > > i ...
6 years, 2 months ago (2014-10-15 16:25:17 UTC) #6
ckocagil
+msw: PTAL
6 years, 2 months ago (2014-10-16 00:34:56 UTC) #8
msw
lgtm with a nit https://codereview.chromium.org/652573002/diff/150001/ui/gfx/render_text_unittest.cc File ui/gfx/render_text_unittest.cc (right): https://codereview.chromium.org/652573002/diff/150001/ui/gfx/render_text_unittest.cc#newcode2321 ui/gfx/render_text_unittest.cc:2321: EXPECT_EQ(base::char16('m'), *(render_text->GetLayoutText().end() - 1)); nit: ...
6 years, 2 months ago (2014-10-16 20:32:21 UTC) #9
ckocagil
https://codereview.chromium.org/652573002/diff/150001/ui/gfx/render_text_unittest.cc File ui/gfx/render_text_unittest.cc (right): https://codereview.chromium.org/652573002/diff/150001/ui/gfx/render_text_unittest.cc#newcode2321 ui/gfx/render_text_unittest.cc:2321: EXPECT_EQ(base::char16('m'), *(render_text->GetLayoutText().end() - 1)); On 2014/10/16 20:32:21, msw wrote: ...
6 years, 2 months ago (2014-10-16 20:40:20 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/652573002/170001
6 years, 2 months ago (2014-10-16 20:42:17 UTC) #12
commit-bot: I haz the power
Committed patchset #5 (id:170001)
6 years, 2 months ago (2014-10-16 22:49:19 UTC) #13
commit-bot: I haz the power
6 years, 2 months ago (2014-10-16 22:49:51 UTC) #14
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/28da9ffbd9e39edb8fd707ec6129343a74e3816b
Cr-Commit-Position: refs/heads/master@{#299997}

Powered by Google App Engine
This is Rietveld 408576698