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

Issue 21024004: Add/remove spell checking markers in text inputs depending on focus. (Closed)

Created:
7 years, 4 months ago by pstanek
Modified:
7 years, 4 months ago
CC:
blink-reviews, dglazkov+blink, eae+blinkwatch, adamk+blink_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Add/remove spell checking markers in text inputs depending on focus. Inputs are spell checked by default. However since it's very likely user names, cities, addresses and other stuff that possibly isn't in the dictionary will be put into them when unfocused misspelling markers are removed from them (so they are not all red all the time). However they are added again on input re-focusing. BUG=168029 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=155420

Patch Set 1 #

Total comments: 13

Patch Set 2 : Addressing review comments #

Total comments: 5

Patch Set 3 : test fixes #

Total comments: 5

Patch Set 4 : Clean up in the test & the new expected file. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+175 lines, -29 lines) Patch
A LayoutTests/editing/spelling/markers-input-type-text.html View 1 2 3 1 chunk +61 lines, -0 lines 0 comments Download
A LayoutTests/editing/spelling/markers-input-type-text-expected.txt View 1 2 3 1 chunk +18 lines, -0 lines 0 comments Download
M LayoutTests/editing/spelling/resources/util.js View 1 2 1 chunk +32 lines, -0 lines 0 comments Download
M LayoutTests/editing/spelling/spellcheck-async-mutation.html View 1 3 chunks +5 lines, -24 lines 0 comments Download
M Source/core/editing/Editor.h View 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/editing/Editor.cpp View 1 4 chunks +39 lines, -1 line 0 comments Download
M Source/core/editing/SpellChecker.cpp View 1 1 chunk +0 lines, -2 lines 0 comments Download
M Source/core/html/HTMLInputElement.h View 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/html/HTMLInputElement.cpp View 1 chunk +9 lines, -0 lines 0 comments Download
M Source/core/html/TextFieldInputType.h View 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/html/TextFieldInputType.cpp View 1 chunk +6 lines, -0 lines 0 comments Download
M Source/web/EditorClientImpl.cpp View 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 23 (0 generated)
pstanek
7 years, 4 months ago (2013-07-30 20:09:43 UTC) #1
please use gerrit instead
Thank you for splitting up the patch! This is much easier to review. Please do ...
7 years, 4 months ago (2013-07-30 21:31:59 UTC) #2
pstanek
https://codereview.chromium.org/21024004/diff/1/Source/core/editing/Editor.cpp File Source/core/editing/Editor.cpp (right): https://codereview.chromium.org/21024004/diff/1/Source/core/editing/Editor.cpp#newcode2289 Source/core/editing/Editor.cpp:2289: && !isSelectionInTextField(oldSelection)) { On 2013/07/30 21:32:00, Rouslan Solomakhin wrote: ...
7 years, 4 months ago (2013-07-30 21:50:39 UTC) #3
please use gerrit instead
On 2013/07/30 21:50:39, pstanek wrote: > This is something layout tests showed me as in ...
7 years, 4 months ago (2013-07-30 21:54:42 UTC) #4
please use gerrit instead
https://codereview.chromium.org/21024004/diff/1/Source/core/editing/Editor.cpp File Source/core/editing/Editor.cpp (right): https://codereview.chromium.org/21024004/diff/1/Source/core/editing/Editor.cpp#newcode2289 Source/core/editing/Editor.cpp:2289: && !isSelectionInTextField(oldSelection)) { On 2013/07/30 21:50:39, pstanek wrote: > ...
7 years, 4 months ago (2013-07-30 21:57:01 UTC) #5
pstanek
Added patches with Rouslan's comments addressed.
7 years, 4 months ago (2013-07-31 12:10:07 UTC) #6
please use gerrit instead
Thank you for fixing the style! https://codereview.chromium.org/21024004/diff/12001/LayoutTests/editing/spelling/markers-input-type-text.html File LayoutTests/editing/spelling/markers-input-type-text.html (right): https://codereview.chromium.org/21024004/diff/12001/LayoutTests/editing/spelling/markers-input-type-text.html#newcode11 LayoutTests/editing/spelling/markers-input-type-text.html:11: <script src="../editing.js" language="JavaScript" ...
7 years, 4 months ago (2013-07-31 16:27:31 UTC) #7
please use gerrit instead
I think that Adam will ask you to add a longer description to the patch, ...
7 years, 4 months ago (2013-07-31 16:30:18 UTC) #8
please use gerrit instead
Overall, this looks good to me, but I would like to have a more experienced ...
7 years, 4 months ago (2013-07-31 16:31:47 UTC) #9
tony
https://codereview.chromium.org/21024004/diff/12001/LayoutTests/editing/spelling/markers-input-type-text.html File LayoutTests/editing/spelling/markers-input-type-text.html (right): https://codereview.chromium.org/21024004/diff/12001/LayoutTests/editing/spelling/markers-input-type-text.html#newcode34 LayoutTests/editing/spelling/markers-input-type-text.html:34: return; Does it work to return when you're not ...
7 years, 4 months ago (2013-07-31 20:59:28 UTC) #10
pstanek
On 2013/07/31 20:59:28, tony wrote: > https://codereview.chromium.org/21024004/diff/12001/LayoutTests/editing/spelling/markers-input-type-text.html > File LayoutTests/editing/spelling/markers-input-type-text.html (right): > > https://codereview.chromium.org/21024004/diff/12001/LayoutTests/editing/spelling/markers-input-type-text.html#newcode34 > ...
7 years, 4 months ago (2013-07-31 21:39:42 UTC) #11
pstanek
On 2013/07/31 16:27:31, Rouslan Solomakhin wrote: > Thank you for fixing the style! > > ...
7 years, 4 months ago (2013-07-31 21:49:17 UTC) #12
please use gerrit instead
On 2013/07/31 21:49:17, pstanek wrote: > On 2013/07/31 16:27:31, Rouslan Solomakhin wrote: > > Thank ...
7 years, 4 months ago (2013-07-31 21:51:25 UTC) #13
tony
On 2013/07/31 21:39:42, pstanek wrote: > On 2013/07/31 20:59:28, tony wrote: > > > https://codereview.chromium.org/21024004/diff/12001/LayoutTests/editing/spelling/markers-input-type-text.html ...
7 years, 4 months ago (2013-07-31 21:53:30 UTC) #14
pstanek
On 2013/07/31 21:53:30, tony wrote: > On 2013/07/31 21:39:42, pstanek wrote: > > On 2013/07/31 ...
7 years, 4 months ago (2013-07-31 22:07:32 UTC) #15
tony
code change LGTM. A few more style nits with the test change. https://codereview.chromium.org/21024004/diff/28001/LayoutTests/editing/spelling/markers-input-type-text.html File LayoutTests/editing/spelling/markers-input-type-text.html ...
7 years, 4 months ago (2013-07-31 22:31:45 UTC) #16
pstanek
On 2013/07/31 22:31:45, tony wrote: > code change LGTM. A few more style nits with ...
7 years, 4 months ago (2013-08-01 07:28:29 UTC) #17
pstanek
Some unrelated failures again?
7 years, 4 months ago (2013-08-01 21:16:26 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pstanek@opera.com/21024004/35001
7 years, 4 months ago (2013-08-01 21:17:57 UTC) #19
commit-bot: I haz the power
Retried try job too often on win_blink_rel for step(s) webkit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_blink_rel&number=995
7 years, 4 months ago (2013-08-02 01:07:39 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pstanek@opera.com/21024004/35001
7 years, 4 months ago (2013-08-02 06:34:54 UTC) #21
commit-bot: I haz the power
Change committed as 155420
7 years, 4 months ago (2013-08-02 09:16:55 UTC) #22
pstanek
7 years, 4 months ago (2013-08-02 09:19:59 UTC) #23
Message was sent while issue was closed.
On 2013/08/02 09:16:55, I haz the power (commit-bot) wrote:
> Change committed as 155420

Great now we cam move to other related patches and I may rebase and file yet
another one...

Powered by Google App Engine
This is Rietveld 408576698