Bug 114537

Summary: [Mac] REGRESSION: Auto substitution strips new lines
Product: WebKit Reporter: Ryosuke Niwa <rniwa>
Component: HTML EditingAssignee: Ryosuke Niwa <rniwa>
Status: RESOLVED FIXED    
Severity: Minor CC: commit-queue, darin, enrica, jiapu.mail, mifenton
Priority: P1 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Fixes the bug
none
Updated for ToT enrica: review+

Ryosuke Niwa
Reported 2013-04-12 15:01:10 PDT
Reproduction steps: 1. Open Language & Text system preference 2. Setup "helloleworld" to be replaced by "hello world" (copy paste it) 3. Type "helloleworld" into a content editable region or text fields. Expected result: "helloleworld" is replaced by "hello world" Actual result: "helloleworld" is replaced by "hello world".
Attachments
Fixes the bug (10.75 KB, patch)
2013-04-12 15:12 PDT, Ryosuke Niwa
no flags
Updated for ToT (10.75 KB, patch)
2013-04-12 15:17 PDT, Ryosuke Niwa
enrica: review+
Ryosuke Niwa
Comment 1 2013-04-12 15:01:32 PDT
Ryosuke Niwa
Comment 2 2013-04-12 15:12:57 PDT
Created attachment 197893 [details] Fixes the bug
Ryosuke Niwa
Comment 3 2013-04-12 15:17:12 PDT
Created attachment 197894 [details] Updated for ToT
Enrica Casucci
Comment 4 2013-04-12 15:41:12 PDT
Comment on attachment 197894 [details] Updated for ToT View in context: https://bugs.webkit.org/attachment.cgi?id=197894&action=review Look good. > Source/WebCore/ChangeLog:12 > + CompositeEditCommand::apply after SpellingCorrectionCommand::doApply. So replaced the check in apply So I replaced
Ryosuke Niwa
Comment 5 2013-04-12 15:43:39 PDT
Comment on attachment 197894 [details] Updated for ToT View in context: https://bugs.webkit.org/attachment.cgi?id=197894&action=review >> Source/WebCore/ChangeLog:12 >> + CompositeEditCommand::apply after SpellingCorrectionCommand::doApply. So replaced the check in apply > > So I replaced Did s/So replaced/Replaced/ to match the sentence style elsewhere.
Ryosuke Niwa
Comment 6 2013-04-12 15:44:31 PDT
Note You need to log in before you can comment on or make changes to this bug.