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

Issue 2533213003: [Editing] Use VisiblePosition stardOfWord for textarea in spell checker. (Closed)

Created:
4 years ago by yoichio
Modified:
4 years ago
Reviewers:
tkent, yosin_UTC9
CC:
blink-reviews, blink-reviews-html_chromium.org, chromium-reviews, dglazkov+blink, Xiaocheng
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Editing] Use VisiblePosition stardOfWord for textarea in spell checker. TextControlElement::{start,end}{Word,Sentence}() without VisiblePosition was introduced for Speedometor benchmark.(crrev.com/db6862d16) Since, editing is now pipeline friendly and hoisting have not caused regression, we need not have such optimization functions. This CL clean up code path. I will clean up the functions later. BUG=639528 Committed: https://crrev.com/eb2857b079bd13cd8a26030b91d92adae3ecf041 Cr-Commit-Position: refs/heads/master@{#435592}

Patch Set 1 #

Total comments: 2

Patch Set 2 : update #

Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -14 lines) Patch
A third_party/WebKit/LayoutTests/editing/selection/extend/go-out-of-readonly-textarea.html View 1 1 chunk +12 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/editing/spellcheck/SpellChecker.cpp View 1 2 chunks +3 lines, -14 lines 0 comments Download
M third_party/WebKit/Source/core/html/TextControlElement.h View 1 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 30 (19 generated)
yoichio
4 years ago (2016-11-30 04:34:48 UTC) #7
yosin_UTC9
I think enclosingTextControl() for beforeAnchor/afterAnchor of innerEditor is TEXTAREA. The root cause of the issue ...
4 years ago (2016-11-30 05:32:11 UTC) #8
yoichio
> Rather than changing enclosingTextControl(), I recommend that removing > TextControlElement::{start,end}{Word,Sentence}() etc, called for TEXTAREA/INPUT ...
4 years ago (2016-12-01 06:35:04 UTC) #13
yosin_UTC9
lgtm
4 years ago (2016-12-01 07:07:09 UTC) #17
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/2533213003/20001
4 years ago (2016-12-01 07:07:22 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/316191)
4 years ago (2016-12-01 07:14:11 UTC) #20
yoichio
+tkent. Could you take a look for core/html/* ?
4 years ago (2016-12-01 08:19:39 UTC) #22
tkent
rs lgtm
4 years ago (2016-12-01 08:27:48 UTC) #23
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/2533213003/20001
4 years ago (2016-12-01 09:58:07 UTC) #25
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years ago (2016-12-01 11:12:51 UTC) #28
commit-bot: I haz the power
4 years ago (2016-12-01 11:14:47 UTC) #30
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/eb2857b079bd13cd8a26030b91d92adae3ecf041
Cr-Commit-Position: refs/heads/master@{#435592}

Powered by Google App Engine
This is Rietveld 408576698