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

Issue 2970803002: Fix underline/overline flipping (Closed)

Created:
3 years, 5 months ago by kojii
Modified:
3 years, 5 months ago
Reviewers:
drott
CC:
blink-reviews, blink-reviews-paint_chromium.org, chromium-reviews, dshwang
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix underline/overline flipping Underline/overline flipping logic is triggered as defined in the spec[1]. The logic, however, did not handle cases where both are off, or both are on correctly. This patch fixes the flipping logic to handle such cases. [1] https://drafts.csswg.org/css-text-decor-3/#default-stylesheet BUG=738778 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 Review-Url: https://codereview.chromium.org/2970803002 Cr-Commit-Position: refs/heads/master@{#484174} Committed: https://chromium.googlesource.com/chromium/src/+/fe56c88d9d01183d5ac0f53ea901ff66e5d2d644

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+31 lines, -4 lines) Patch
A third_party/WebKit/LayoutTests/fast/css3-text/css3-text-decoration/line-through-vertical.html View 1 chunk +13 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/css3-text/css3-text-decoration/line-through-vertical-expected.html View 1 chunk +13 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/paint/InlineTextBoxPainter.cpp View 2 chunks +5 lines, -4 lines 0 comments Download

Messages

Total messages: 18 (13 generated)
kojii
PTAL.
3 years, 5 months ago (2017-07-04 08:04:39 UTC) #8
drott
LGTM, with a nit: > Underline/overline flipping logic is kicked as defined in the spec[1]. ...
3 years, 5 months ago (2017-07-04 18:23:44 UTC) #11
kojii
Thank you for prompt review and great advice!
3 years, 5 months ago (2017-07-05 01:42:05 UTC) #13
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/2970803002/1
3 years, 5 months ago (2017-07-05 01:42:11 UTC) #15
commit-bot: I haz the power
3 years, 5 months ago (2017-07-05 01:45:55 UTC) #18
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/fe56c88d9d01183d5ac0f53ea901...

Powered by Google App Engine
This is Rietveld 408576698