[Webkit-unassigned] [Bug 111228] New: InsertUnorderedList can lead to lost content and assertions in moveParagraphs
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Mar 1 15:46:06 PST 2013
https://bugs.webkit.org/show_bug.cgi?id=111228
Summary: InsertUnorderedList can lead to lost content and
assertions in moveParagraphs
Product: WebKit
Version: 528+ (Nightly build)
Platform: Unspecified
URL: https://code.google.com/p/chromium/issues/detail?id=17
7117
OS/Version: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: HTML Editing
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: leviw at chromium.org
CC: eric at webkit.org, rniwa at webkit.org, enrica at apple.com,
leviw at chromium.org
Created an attachment (id=191055)
--> (https://bugs.webkit.org/attachment.cgi?id=191055&action=review)
Test case from crbug.com
ASSERTION FAILED: destination.deepEquivalent().anchorNode()->inDocument()
../../third_party/WebKit/Source/WebCore/editing/CompositeEditCommand.cpp(1220) : void WebCore::CompositeEditCommand::moveParagraphs(const WebCore::VisiblePosition&, const WebCore::V
isiblePosition&, const WebCore::VisiblePosition&, bool, bool)
#0 0x00000000025d490c in WebCore::CompositeEditCommand::moveParagraphs (this=0x25bab8595b60, startOfParagraphToMove=..., endOfParagraphToMove=..., destination=..., preserveSelectio
n=true, preserveStyle=true) at ../../third_party/WebKit/Source/WebCore/editing/CompositeEditCommand.cpp:1220
#1 0x000000000219bb04 in WebCore::InsertListCommand::unlistifyParagraph (this=0x25bab8595b60, originalStart=..., listNode=0x25bab8c0c980, listChildNode=0x25bab852b840) at ../../thi
rd_party/WebKit/Source/WebCore/editing/InsertListCommand.cpp:306
#2 0x000000000219b245 in WebCore::InsertListCommand::doApplyForSingleParagraph (this=0x25bab8595b60, forceCreateList=false, listTag=..., currentSelection=0x25bab8429ec0) at ../../t
hird_party/WebKit/Source/WebCore/editing/InsertListCommand.cpp:246
#3 0x000000000219a46f in WebCore::InsertListCommand::doApply (this=0x25bab8595b60) at ../../third_party/WebKit/Source/WebCore/editing/InsertListCommand.cpp:158
#4 0x00000000025ce45f in WebCore::CompositeEditCommand::apply (this=0x25bab8595b60) at ../../third_party/WebKit/Source/WebCore/editing/CompositeEditCommand.cpp:214
#5 0x00000000025ce18a in WebCore::applyCommand (command=...) at ../../third_party/WebKit/Source/WebCore/editing/CompositeEditCommand.cpp:170
#6 0x0000000002185f2f in WebCore::executeInsertUnorderedList (frame=0x25bab8a4dc20) at ../../third_party/WebKit/Source/WebCore/editing/EditorCommand.cpp:565
#7 0x0000000002188f83 in WebCore::Editor::Command::execute (this=0x7fffde005690, parameter=..., triggeringEvent=0x0) at ../../third_party/WebKit/Source/WebCore/editing/EditorComman
d.cpp:1700
#8 0x0000000002bcc848 in WebCore::Document::execCommand (this=0x25bab8a1b020, commandName=..., userInterface=false, value=...) at ../../third_party/WebKit/Source/WebCore/dom/Docume
nt.cpp:4185
#9 0x00000000032fff04 in WebCore::DocumentV8Internal::execCommandMethod (args=...) at gen/webcore/bindings/V8Document.cpp:2357
#10 0x00000000032fff90 in WebCore::DocumentV8Internal::execCommandMethodCallback (args=...) at gen/webcore/bindings/V8Document.cpp:2362
#11 0x000024e9ceb44d15 in ?? ()
#12 0x00007fffde005a00 in ?? ()
#13 0x00007fffde005a08 in ?? ()
#14 0x0000000000000001 in ?? ()
#15 0x0000000000000000 in ?? ()
This also shows off a separate bug where the second InsertUnorderdList command that should unlistify breaks each list item into its own list and sets the blocks to inlines.
--
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