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

Issue 1531473004: Fix selection handles in vertical writing modes. (Closed)

Created:
5 years ago by aelias_OOO_until_Jul13
Modified:
4 years, 11 months ago
Reviewers:
kojii, Rick Byers
CC:
blink-reviews, chromium-reviews, trchen, mfomitchev
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix selection handles in vertical writing modes. The selection handle positioning logic wasn't written with vertical writing modes in mind and they end up attached to odd edges of the selection rect (see screenshots on bug). Position and orient them more appropriately. BUG=557529 Committed: https://crrev.com/faca4e859b4ae9fa38a7dd173eb6ff0562c8e3b4 Cr-Commit-Position: refs/heads/master@{#368448}

Patch Set 1 #

Patch Set 2 : Add test #

Total comments: 5

Patch Set 3 : Apply code review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+41 lines, -18 lines) Patch
M third_party/WebKit/Source/core/editing/RenderedPosition.h View 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/editing/RenderedPosition.cpp View 1 2 2 chunks +21 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/frame/FrameView.cpp View 1 2 chunks +8 lines, -12 lines 0 comments Download
M third_party/WebKit/Source/web/tests/WebFrameTest.cpp View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
A + third_party/WebKit/Source/web/tests/data/composited_selection_bounds_vertical_lr.html View 1 2 2 chunks +4 lines, -1 line 0 comments Download
A + third_party/WebKit/Source/web/tests/data/composited_selection_bounds_vertical_rl.html View 1 2 2 chunks +4 lines, -1 line 0 comments Download

Messages

Total messages: 13 (5 generated)
aelias_OOO_until_Jul13
Hi kojii@, PTAL.
5 years ago (2015-12-16 02:51:51 UTC) #3
kojii
Thank you for working on this. I can comment on vertical flow, but I'm not ...
5 years ago (2015-12-16 17:30:58 UTC) #4
aelias_OOO_until_Jul13
All done, adding rbyers@ for Source/core review. https://codereview.chromium.org/1531473004/diff/20001/third_party/WebKit/Source/core/editing/RenderedPosition.cpp File third_party/WebKit/Source/core/editing/RenderedPosition.cpp (right): https://codereview.chromium.org/1531473004/diff/20001/third_party/WebKit/Source/core/editing/RenderedPosition.cpp#newcode248 third_party/WebKit/Source/core/editing/RenderedPosition.cpp:248: bool vertical ...
4 years, 11 months ago (2016-01-08 02:24:12 UTC) #6
kojii
Non-owner LGTM, thank you for working on this again. https://codereview.chromium.org/1531473004/diff/20001/third_party/WebKit/Source/core/editing/RenderedPosition.cpp File third_party/WebKit/Source/core/editing/RenderedPosition.cpp (right): https://codereview.chromium.org/1531473004/diff/20001/third_party/WebKit/Source/core/editing/RenderedPosition.cpp#newcode248 third_party/WebKit/Source/core/editing/RenderedPosition.cpp:248: ...
4 years, 11 months ago (2016-01-08 04:16:51 UTC) #7
Rick Byers
Seems reasonable to me, thanks! LGTM
4 years, 11 months ago (2016-01-08 21:25:59 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1531473004/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1531473004/40001
4 years, 11 months ago (2016-01-08 21:38:35 UTC) #10
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 11 months ago (2016-01-08 22:39:11 UTC) #11
commit-bot: I haz the power
4 years, 11 months ago (2016-01-08 22:40:40 UTC) #13
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/faca4e859b4ae9fa38a7dd173eb6ff0562c8e3b4
Cr-Commit-Position: refs/heads/master@{#368448}

Powered by Google App Engine
This is Rietveld 408576698