Bug 25320 - Crash when changing block styles in a root that contains no visible content (but contains nodes with renderers)
Summary: Crash when changing block styles in a root that contains no visible content (...
Status: RESOLVED FIXED
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: Justin Garcia
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2009-04-21 17:35 PDT by Justin Garcia
Modified: 2009-05-03 17:01 PDT (History)
1 user (show)

See Also:


Attachments
patch (3.62 KB, patch)
2009-04-21 17:44 PDT, Justin Garcia
mitz: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Justin Garcia 2009-04-21 17:35:58 PDT
moveParagraphToNewBlockIfNecessary can lead to a crash if the paragraph is in an editable root that contains no visible content.

<rdar://problem/6806475>
Comment 1 Justin Garcia 2009-04-21 17:44:42 PDT
Created attachment 29672 [details]
patch
Comment 2 mitz 2009-04-21 18:25:53 PDT
Comment on attachment 29672 [details]
patch

r=me

> \ No newline at end of file

Please add a newline to the test before checking in.
Comment 3 Justin Garcia 2009-04-21 18:53:45 PDT
http://trac.webkit.org/changeset/42735
Comment 4 David Kilzer (:ddkilzer) 2009-05-03 17:01:49 PDT
See also: <rdar://problem/6831340>