Bug 17460

Summary: Enter inside contentEditable header doesn't break out of header
Product: WebKit Reporter: Julie Parent <jparent>
Component: HTML EditingAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: ap, justin.garcia, ovafai
Priority: P2 Keywords: GoogleBug, InRadar
Version: 523.x (Safari 3)   
Hardware: All   
OS: All   
Attachments:
Description Flags
test case none

Julie Parent
Reported 2008-02-20 14:47:57 PST
Given the following html "<div contentEditable><h2>foo</h2></div>", if the user hits enter after foo, the following html results: "<div contentEditable><h2>foo</h2><h2><br></h2></div>" Other browsers break out of the header: IE yields: "<H2>foo</H2><P>&nbsp;</P>" Firefox yields: "<H2>foo</H2><br><br>"
Attachments
test case (39 bytes, text/html)
2008-02-21 05:40 PST, Alexey Proskuryakov
no flags
Alexey Proskuryakov
Comment 1 2008-02-21 05:40:38 PST
Created attachment 19255 [details] test case Same test as an attachment.
Alexey Proskuryakov
Comment 2 2008-02-21 05:42:35 PST
Confirmed with r30379.
Mark Rowe (bdash)
Comment 3 2008-03-17 15:23:05 PDT
Note You need to log in before you can comment on or make changes to this bug.