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

Issue 2442503008: Fix editable text selection (Closed)

Created:
4 years, 2 months ago by David Tseng
Modified:
4 years, 1 month ago
Reviewers:
dmazzoni
CC:
chromium-reviews, alemate+watch_chromium.org, oshima+watch_chromium.org, aboxhall+watch_chromium.org, nektar+watch_chromium.org, yuzo+watch_chromium.org, je_julie, arv+watch_chromium.org, dtseng+watch_chromium.org, dmazzoni+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix editable text selection We need to special-case setting selections when the focused node is itself editable. - make no adjustments for the selected node; placing selection outside of the editable content causes key presses to go to the page - if we are trying to select the entire node, set the selection index to 0 (placing selection at the beginning of the node); otherwise, use the character offset TEST=move to a text field or content editable via ChromeVox commands; verify typing works to echo the keys. Furthermore, verify that in a content editable with headings, links, etc, jump commands move the selection. Finally, verify ChromeVox text movement commands (e.g. next character), moves selection in single line editables. BUG=656349, 658045 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Committed: https://crrev.com/2ff29563c5b0619e3722c74af2fe3afa18819999 Cr-Commit-Position: refs/heads/master@{#427106}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -2 lines) Patch
M chrome/browser/resources/chromeos/chromevox/cvox2/background/cursors.js View 2 chunks +11 lines, -2 lines 0 comments Download

Messages

Total messages: 12 (7 generated)
David Tseng
4 years, 2 months ago (2016-10-21 21:59:08 UTC) #4
dmazzoni
lgtm Don't forget to associate this with the bug number
4 years, 1 month ago (2016-10-24 14:59:52 UTC) #5
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/2442503008/1
4 years, 1 month ago (2016-10-24 16:25:42 UTC) #8
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 1 month ago (2016-10-24 18:49:21 UTC) #10
commit-bot: I haz the power
4 years, 1 month ago (2016-10-24 18:54:16 UTC) #12
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/2ff29563c5b0619e3722c74af2fe3afa18819999
Cr-Commit-Position: refs/heads/master@{#427106}

Powered by Google App Engine
This is Rietveld 408576698