[Webkit-unassigned] [Bug 63050] New: [chromium] cannot replace a misspelled phrase with a suggested word

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jun 21 00:17:05 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=63050

           Summary: [chromium] cannot replace a misspelled phrase with a
                    suggested word
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: InChromiumBugs
          Severity: Normal
          Priority: P2
         Component: WebCore Misc.
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: hbono at chromium.org
                CC: morrita at google.com


(Copied from <http://crbug.com/86905>.)

What steps will reproduce the problem?
1. Open the attached file "replace.html". (Chrome shows a user-added marker under a phrase 'mer ger'.)
2. Right-click the phrase. (Chrome shows a user-added suggestion 'merger' as shown in the attached picture '001.png'.)
3. Choose the suggestion.

What is the expected output?
a misspelled phrase 'mer ger' is replaced with the suggestion 'merger'.

What do you see instead?
a part of the misspelled phrase is replaced with the suggestion as shown in the attached picture '002.png'.

Please use labels and text to provide additional information.
WebFrameImpl::replaceSelection() of Chrome just replaces the selection with the given text and this problem happens when this selection is not equal to the one of a user-added marker. We need to replace the range of a user-added marker with the given text for this case.

Regards,

Hironori Bono

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list