[Webkit-unassigned] [Bug 110350] New: ASSERT(upstreamStart.deprecatedNode()->isDescendantOf(enclosingBlock(upstreamEnd.deprecatedNode()))) in CompositeEditCommand::moveParagraphContentsToNewBlockIfNecessary

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Feb 20 08:18:51 PST 2013


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

           Summary: ASSERT(upstreamStart.deprecatedNode()->isDescendantOf(
                    enclosingBlock(upstreamEnd.deprecatedNode()))) in
                    CompositeEditCommand::moveParagraphContentsToNewBlockI
                    fNecessary
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: HTML Editing
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: reni at webkit.org
                CC: rniwa at webkit.org, tkent at chromium.org


Running the test below in Debug we got an assertion failure:

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff42a85bc in WebCore::CompositeEditCommand::moveParagraphContentsToNewBlockIfNecessary (
    this=0x848100, pos=...) at /home/reni/Data/REPOS/webkit/Source/WebCore/editing/CompositeEditCommand.cpp:947
947                ASSERT(upstreamStart.deprecatedNode()->isDescendantOf(enclosingBlock(upstreamEnd.deprecatedNode())));



The test:


<html>
<body>
    <ul style="height: 20px;"></ul>
    <div>
        <div></div>
        <a target="foo">more</a>
    </div>
    <script>
        document.designMode = "on";
        document.execCommand("SelectAll");
        document.execCommand("CreateLink", 0, 'foo');
        document.execCommand("SelectAll");
        document.execCommand("JustifyCenter");
    </script>
</body>
</html>

-- 
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