RESOLVED DUPLICATE of bug 1970125088
Select all + delete should escape from heading
https://bugs.webkit.org/show_bug.cgi?id=25088
Summary Select all + delete should escape from heading
Annie Sullivan
Reported 2009-04-07 18:08:00 PDT
Steps to reproduce: 1. Go to Midas Demo: http://www.mozilla.org/editor/midasdemo/ 2. Enter the following HTML: <h1>a</h1>b 3. Uncheck "View HTML Source". 4. Select all and press backspace or delete. Actual result: Cursor is still inside heading. Resulting HTML: <h1><br></h1> If you type again, or paste a lot of content, the content goes into the heading. Expected result: In both Firefox and IE, the heading is removed when selecting all and deleting. (Leaving just <br>).
Attachments
Julie Parent
Comment 1 2009-04-07 18:15:50 PDT
This is a duplicate that I've seen a few times, and is super annoying when you hit it as a user. *** This bug has been marked as a duplicate of 19701 ***
Note You need to log in before you can comment on or make changes to this bug.