Bug 62687

Summary: div can be a child of span on InsertParagraph
Product: WebKit Reporter: Annie Sullivan <sullivan>
Component: HTML EditingAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: rniwa, webkit.review.bot
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

Description Annie Sullivan 2011-06-14 18:11:41 PDT
Create a contenteditable div and set the contents to:
<span>hello</span>

Place the cursor at the start of the span and press enter. The div now contains:
<span><div><span><br></span></div>hello</span>

There shouldn't be a block <div> element inside an inline <span> element. See comments 10 and 11 on bug 62621 for more details.
Comment 1 Annie Sullivan 2011-06-15 17:43:31 PDT
Created attachment 97377 [details]
Patch
Comment 2 WebKit Review Bot 2011-06-17 11:01:14 PDT
Comment on attachment 97377 [details]
Patch

Clearing flags on attachment: 97377

Committed r89145: <http://trac.webkit.org/changeset/89145>
Comment 3 WebKit Review Bot 2011-06-17 11:01:18 PDT
All reviewed patches have been landed.  Closing bug.