Bug 25256 - Performing a block style change in an editable root that contains only a br adds a newline
Summary: Performing a block style change in an editable root that contains only a br a...
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-16 17:45 PDT by Justin Garcia
Modified: 2009-04-16 18:24 PDT (History)
4 users (show)

See Also:


Attachments
test case (161 bytes, text/html)
2009-04-16 17:45 PDT, Justin Garcia
no flags Details
patch (3.22 KB, patch)
2009-04-16 18:15 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-16 17:45:04 PDT
Open the attached test case.  It changes the alignment of an editable root that contains only a br.  You get two paragraphs.

<rdar://problem/6792793>
Comment 1 Justin Garcia 2009-04-16 17:45:48 PDT
Created attachment 29566 [details]
test case
Comment 2 Justin Garcia 2009-04-16 18:15:41 PDT
Created attachment 29568 [details]
patch
Comment 3 Justin Garcia 2009-04-16 18:24:13 PDT
http://trac.webkit.org/changeset/42600