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

Issue 2689233006: Fix bug on Android causing composition underlines to appear in the wrong place (Closed)

Created:
3 years, 10 months ago by rlanday
Modified:
3 years, 10 months ago
Reviewers:
*yosin_UTC9
CC:
blink-reviews, chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix bug on Android causing composition underlines to appear in the wrong place The previous code I introduced in DocumentMarkerController::setComposition() was passing an offset measured in DOM children to addCompositionUnderlines() (and it wasn't even measured correctly) when it should have been passing an offset measured in plain text characters. Oops I'd like to add a test case for this bug, unfortunately I'm having trouble reproducing it in a test. BUG=692699 Review-Url: https://codereview.chromium.org/2689233006 Cr-Commit-Position: refs/heads/master@{#451903} Committed: https://chromium.googlesource.com/chromium/src/+/6923513dcedf4c6b55bc923fc0146aff71b3da46

Patch Set 1 #

Total comments: 1

Patch Set 2 : Got test case working (the trick is to manually add the line break) #

Total comments: 2

Patch Set 3 : Don't change param names #

Unified diffs Side-by-side diffs Delta from patch set Stats (+38 lines, -1 line) Patch
M third_party/WebKit/Source/core/editing/InputMethodController.cpp View 1 2 1 chunk +4 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/editing/InputMethodControllerTest.cpp View 1 2 1 chunk +34 lines, -0 lines 0 comments Download

Messages

Total messages: 23 (15 generated)
rlanday
Bug fix for a regression I introduced: crbug.com/692699
3 years, 10 months ago (2017-02-16 00:36:37 UTC) #4
rlanday
https://codereview.chromium.org/2689233006/diff/1/third_party/WebKit/Source/core/editing/InputMethodController.cpp File third_party/WebKit/Source/core/editing/InputMethodController.cpp (right): https://codereview.chromium.org/2689233006/diff/1/third_party/WebKit/Source/core/editing/InputMethodController.cpp#newcode612 third_party/WebKit/Source/core/editing/InputMethodController.cpp:612: addCompositionUnderlines(underlines, baseNode->parentNode(), Unfortunately I can't just work with baseNode ...
3 years, 10 months ago (2017-02-16 00:37:54 UTC) #6
rlanday
Note: I think this CL will need to be picked for version 57 since the ...
3 years, 10 months ago (2017-02-17 18:32:22 UTC) #11
yosin_UTC9
https://codereview.chromium.org/2689233006/diff/20001/third_party/WebKit/Source/core/editing/InputMethodController.cpp File third_party/WebKit/Source/core/editing/InputMethodController.cpp (right): https://codereview.chromium.org/2689233006/diff/20001/third_party/WebKit/Source/core/editing/InputMethodController.cpp#newcode355 third_party/WebKit/Source/core/editing/InputMethodController.cpp:355: ContainerNode* baseElement, Please do renaming in another patch for ...
3 years, 10 months ago (2017-02-20 06:29:10 UTC) #12
rlanday
Ok, I've made the requested changes
3 years, 10 months ago (2017-02-21 19:25:58 UTC) #15
yosin_UTC9
lgtm
3 years, 10 months ago (2017-02-22 06:51:29 UTC) #19
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/2689233006/40001
3 years, 10 months ago (2017-02-22 06:52:13 UTC) #20
commit-bot: I haz the power
3 years, 10 months ago (2017-02-22 06:58:15 UTC) #23
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/6923513dcedf4c6b55bc923fc014...

Powered by Google App Engine
This is Rietveld 408576698