Bug 114337

Summary: Autocorrected text doesn't have a marker of type autocorrected
Product: WebKit Reporter: Ryosuke Niwa <rniwa>
Component: HTML EditingAssignee: Ryosuke Niwa <rniwa>
Severity: Normal CC: ap, commit-queue, enrica, jiapu.mail, mifenton
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on: 114344, 114383    
Bug Blocks: 108525    
Description Flags
Fixes the bug none

Description Ryosuke Niwa 2013-04-10 00:31:52 PDT
http://trac.webkit.org/changeset/147994 revealed that when a misspelled word is autocorrected, only a marker for replacement is added, not of the type autocorrected.
Comment 1 Ryosuke Niwa 2013-04-10 22:24:14 PDT
Created attachment 197505 [details]
Fixes the bug
Comment 2 Darin Adler 2013-04-11 10:52:27 PDT
Comment on attachment 197505 [details]
Fixes the bug

View in context: https://bugs.webkit.org/attachment.cgi?id=197505&action=review

> Source/WebCore/editing/Editor.cpp:2303
> +                    i++;

I like writing this as ++i
Comment 3 WebKit Commit Bot 2013-04-11 11:56:10 PDT
Comment on attachment 197505 [details]
Fixes the bug

Clearing flags on attachment: 197505

Committed r148221: <http://trac.webkit.org/changeset/148221>
Comment 4 WebKit Commit Bot 2013-04-11 11:56:12 PDT
All reviewed patches have been landed.  Closing bug.