Bug 25088

Summary: Select all + delete should escape from heading
Product: WebKit Reporter: Annie Sullivan <sullivan>
Component: HTML EditingAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: eric, jparent
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: OS X 10.5   
URL: http://www.mozilla.org/editor/midasdemo/

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.