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

Issue 2331783002: Fix tab is invisible when the next stop is close (Closed)

Created:
4 years, 3 months ago by kojii
Modified:
4 years, 3 months ago
Reviewers:
eae
CC:
ajuma+watch_chromium.org, blink-reviews, blink-reviews-platform-graphics_chromium.org, Rik, chromium-reviews, danakj+watch_chromium.org, dshwang, drott+blinkwatch_chromium.org, krit, f(malita), jbroman, Justin Novosad, pdr+graphicswatchlist_chromium.org, rwlbuis, Stephen Chennney
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix tab is invisible when the next stop is close This patch fixes tab width to be at least the half of the space width, so that it is always recognizable. Before this patch, the minimum was 1/64px, which is too narrow to recognize a tab is there. It also helps the stability for rounding errors. This patch also moves ShapeResult::createForTabulationCharacters() from HarfBuzzShaper.cpp to ShapeResult.cpp. BUG=635717 Committed: https://crrev.com/371ed3a69920683cccd0431ce9ce7c95ea324845 Cr-Commit-Position: refs/heads/master@{#417905}

Patch Set 1 #

Patch Set 2 : Cleanup #

Unified diffs Side-by-side diffs Delta from patch set Stats (+89 lines, -30 lines) Patch
A third_party/WebKit/LayoutTests/css3/tab-size-span.html View 1 chunk +30 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/css3/tab-size-span-expected.html View 1 chunk +30 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/fonts/Font.h View 1 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/platform/fonts/shaping/HarfBuzzShaper.cpp View 1 chunk +0 lines, -28 lines 0 comments Download
M third_party/WebKit/Source/platform/fonts/shaping/ShapeResult.cpp View 1 chunk +27 lines, -0 lines 0 comments Download

Messages

Total messages: 26 (21 generated)
kojii
PTAL.
4 years, 3 months ago (2016-09-12 09:39:24 UTC) #19
eae
LGTM
4 years, 3 months ago (2016-09-12 09:41:29 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2331783002/60001
4 years, 3 months ago (2016-09-12 10:09:27 UTC) #23
commit-bot: I haz the power
Committed patchset #2 (id:60001)
4 years, 3 months ago (2016-09-12 10:13:42 UTC) #24
commit-bot: I haz the power
4 years, 3 months ago (2016-09-12 10:15:35 UTC) #26
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/371ed3a69920683cccd0431ce9ce7c95ea324845
Cr-Commit-Position: refs/heads/master@{#417905}

Powered by Google App Engine
This is Rietveld 408576698