| Summary: | [EFL][[WK2] test_ewk2_text_checker is failed | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Gyuyoung Kim <gyuyoung.kim> | ||||||
| Component: | WebKit EFL | Assignee: | Grzegorz Czajkowski <g.czajkowski> | ||||||
| Status: | RESOLVED FIXED | ||||||||
| Severity: | Normal | CC: | commit-queue, g.czajkowski, lucas.de.marchi, rniwa | ||||||
| Priority: | P2 | ||||||||
| Version: | 528+ (Nightly build) | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Bug Depends on: | |||||||||
| Bug Blocks: | 132813 | ||||||||
| Attachments: |
|
||||||||
|
Description
Gyuyoung Kim
2014-05-15 18:14:41 PDT
The reason why EFL's text checker API fails is that the input element's value change (from JS) does not invoke spell checker (unless user starts typing manually).
FAIL:
document.getElementById("spellTest").value = "TextThatShouldBeMarkedAsMisspelled ";
PASS:
document.execCommand("InsertText", false, "TextThatShouldBeMarkedAsMisspelled ");
Ryosuke, is it ok that we omit spellchecking for programmatically input.value changes? It seems that it worked as those tests were passing (can not find revision as it was long time ago).
FYI, Safari, Chrome EFL's MiniBrowser does not trigger spellcecking for input.value changes.
Created attachment 242919 [details]
test case
(In reply to comment #1) > The reason why EFL's text checker API fails is that the input element's > value change (from JS) does not invoke spell checker (unless user starts > typing manually). > > FAIL: > document.getElementById("spellTest").value = > "TextThatShouldBeMarkedAsMisspelled "; > > PASS: > document.execCommand("InsertText", false, > "TextThatShouldBeMarkedAsMisspelled "); > > Ryosuke, is it ok that we omit spellchecking for programmatically > input.value changes? It seems that it worked as those tests were passing > (can not find revision as it was long time ago). > > FYI, Safari, Chrome EFL's MiniBrowser does not trigger spellcecking for > input.value changes. Created a separate bug for this issue as it looks like cross platform one (bug 139473). Created attachment 243003 [details]
Patch
Comment on attachment 243003 [details] Patch Clearing flags on attachment: 243003 Committed r177057: <http://trac.webkit.org/changeset/177057> All reviewed patches have been landed. Closing bug. |