[Webkit-unassigned] [Bug 62687] New: <div> can be inserted as child of <span>

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jun 14 18:11:41 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=62687

           Summary: <div> can be inserted as child of <span>
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: HTML Editing
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: sullivan at chromium.org
                CC: rniwa at webkit.org


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.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list