Bug 19220 - ASSERT in RenderBlock::addChildToFlow triggered by editing code
Summary: ASSERT in RenderBlock::addChildToFlow triggered by editing code
Status: RESOLVED WORKSFORME
Alias: None
Product: WebKit
Classification: Unclassified
Component: HTML Editing (show other bugs)
Version: 528+ (Nightly build)
Hardware: Mac OS X 10.5
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks: 18858
  Show dependency treegraph
 
Reported: 2008-05-23 12:08 PDT by Eric Seidel (no email)
Modified: 2008-06-27 09:44 PDT (History)
2 users (show)

See Also:


Attachments
test case (triggers ASSERT in debug builds) (170 bytes, text/html)
2008-05-23 12:08 PDT, Eric Seidel (no email)
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Eric Seidel (no email) 2008-05-23 12:08:17 PDT
ASSERT in RenderBlock::addChildToFlow triggered by editing code

ASSERTION FAILED: beforeChild->parent()->isAnonymousBlock()
(/Users/eseidel/Projects/WebKit/WebCore/rendering/RenderBlock.cpp:162 virtual void WebCore::RenderBlock::addChildToFlow(WebCore::RenderObject*, WebCore::RenderObject*))

Yet another failure from the editing fuzzer.

<BODY><SCRIPT>
document.designMode = 'on';
document.execCommand('selectall');
document.execCommand('inserthtml', false, '<td>');
document.execCommand('indent');
</SCRIPT>

Does not crash release builds, debug only.
Comment 1 Eric Seidel (no email) 2008-05-23 12:08:44 PDT
Created attachment 21318 [details]
test case (triggers ASSERT in debug builds)
Comment 2 Alexey Proskuryakov 2008-06-12 21:17:18 PDT
See also: bug 19519.
Comment 3 Eric Seidel (no email) 2008-06-27 09:44:11 PDT
This no longer ASSERTS for me in TOT.  Justin must have fixed this as part of other editing changes.