Bug 11750 - designMode outdent causes crash
Summary: designMode outdent causes crash
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: HTML Editing (show other bugs)
Version: 420+
Hardware: Mac OS X 10.4
: P1 Normal
Assignee: Nobody
URL: http://www.mozilla.org/editor/midasdemo/
Keywords: InRadar, NeedsReduction, Regression
Depends on:
Blocks:
 
Reported: 2006-12-04 20:05 PST by J Boss
Modified: 2007-01-26 15:56 PST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description J Boss 2006-12-04 20:05:03 PST
The "outdent" feature of designMode causes WebKit to crash.

Reproduction steps:

1.  Go to http://www.mozilla.org/editor/midasdemo/
2.  In the content editing box, type "abcd"
3.  While on the same line, select the insert ordered list button
4.  Select the "indent" button
5.  Select the "outdent" button.  This will cause the crash.
Comment 1 Matt Lilek 2006-12-04 20:57:21 PST
The only crash I'm able to get out of the page is when closing it, not when interacting with the editor, which makes this look like a dupe of bug 11729.
Comment 2 Alexey Proskuryakov 2006-12-04 21:39:29 PST
I can reproduce at least an assertion failure:

ASSERTION FAILED: selection.isCaretOrRange()
(/Users/ap/WebKit/WebCore/editing/ReplaceSelectionCommand.cpp:456 virtual void WebCore::ReplaceSelectionCommand::doApply())
Comment 3 Mark Rowe (bdash) 2007-01-16 19:10:12 PST
<rdar://problem/4928635>
Comment 4 Justin Garcia 2007-01-26 15:56:40 PST
Fixed in r19088.