Summary: | Deleting an empty blockquote should keep a placeholder | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Ryosuke Niwa <rniwa> | ||||
Component: | HTML Editing | Assignee: | Ryosuke Niwa <rniwa> | ||||
Status: | REOPENED --- | ||||||
Severity: | Normal | CC: | ayg, darin, enrica, justin.garcia, leviw, tony | ||||
Priority: | P2 | ||||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Attachments: |
|
Description
Ryosuke Niwa
2012-02-07 16:10:45 PST
It appears that we just need to generalize CompositeEditCommand::breakOutOfEmptyMailBlockquotedParagraph. Created attachment 126230 [details]
Fixes the bug
It turned out that the current behavior matches both IE and Opera. The only browser that exhibits the "desired" behavior is Firefox. When you're at the beginning of an indented block and hit Backspace, browsers don't outdent, but word processors do. (Tested in at least Google Docs and LibreOffice, pretty sure it's true in Word too.) This matches the behavior of list items, and I think it's logical. I think browsers should change to match word processors here, so backspace at the start of an indented block should outdent. This is what my spec currently requires, although if implementers really don't want it, I can change it. |