Summary: | REGRESSION (r94497): Pressing Command+A when inline (Marked Text) is not empty will clean whole content | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Alexey Proskuryakov <ap> | ||||
Component: | Text | Assignee: | Ryosuke Niwa <rniwa> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Major | CC: | jiapu.mail, jshin, morrita, rniwa, tkent, xji | ||||
Priority: | P1 | Keywords: | InRadar | ||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | Mac | ||||||
OS: | Unspecified | ||||||
Attachments: |
|
Description
Alexey Proskuryakov
2012-04-20 15:51:22 PDT
Ryosuke, would you be willing to look into this? Interesting this bug doesn't reproduce on Chrome because we ignore Cmd+A. We're hitting: // If text is empty, then delete the old composition here. If text is non-empty, InsertTextCommand::input // will delete the old composition with an optimized replace operation. if (text.isEmpty()) TypingCommand::deleteSelection(m_frame->document(), 0); Created attachment 139135 [details]
Fixes the bug
Comment on attachment 139135 [details]
Fixes the bug
Thank you!
I suggest putting this test in editing/input. Ports that don't implement textInputController often skip the whole directory, so it's less book-keeping for everyone.
(In reply to comment #5) > (From update of attachment 139135 [details]) > Thank you! > > I suggest putting this test in editing/input. Ports that don't implement textInputController often skip the whole directory, so it's less book-keeping for everyone. Okay, will do. Committed r115409: <http://trac.webkit.org/changeset/115409> |