[Webkit-unassigned] [Bug 92771] New: Applying suggested spelling correction eliminates leading space

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jul 31 10:20:29 PDT 2012


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

           Summary: Applying suggested spelling correction eliminates
                    leading space
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: HTML Editing
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: jalkut at red-sweater.com


This bug was confirmed on built-from-sources WebKit as of today.

NOTE: I couldn't figure out how to write a test for this … I saw some examples having to do with autocorrect in the platform/mac section, but this bug only happens reliably for me if I spell-correct using the contextual menu to choose the replacement word. If anybody wants to offer advice for how to write a test I'll take another swing at it.

PROBLEM: Selecting and correcting the spelling of a word can eliminate the preceding space, causing the "corrected" word to merge with the previous word in the sentence.

To reproduce:

1. Open Safari's Snippet Editor.
2. Paste the following HTML:

<div contentEditable="true" spellcheck="true"><blockquote type="cite"><font face="Arial">what's happenin here? </font></blockquote></div>

3. Click into the editable web view and double click to select "happenin"
4. Right click the word and select the suggested fix: "happening"

Expected: The word should be corrected and continue to be separated from "what's" and "here" by spaces.

Actual: The content of the page changes to "what'shappening here?"

-- 
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