Bug 28375 - execCommand("InsertHorizontalRule") inserts a broken <hr> element
Summary: execCommand("InsertHorizontalRule") inserts a broken <hr> element
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: HTML Editing (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Darin Adler
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-16 21:54 PDT by Darin Adler
Modified: 2009-08-16 22:25 PDT (History)
0 users

See Also:


Attachments
patch (6.21 KB, patch)
2009-08-16 21:59 PDT, Darin Adler
mitz: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Darin Adler 2009-08-16 21:54:57 PDT
The code in executeInsertHorizontalRule creates an <hr> element of the wrong internal class. This makes it serialize incorrectly and has a number of other minor bad effects.
Comment 1 Darin Adler 2009-08-16 21:59:01 PDT
Created attachment 34946 [details]
patch
Comment 2 Darin Adler 2009-08-16 22:25:44 PDT
http://trac.webkit.org/changeset/47349