[Webkit-unassigned] [Bug 47054] New: execCommand('FormatBlock') does not preserve inline styles of the replaced block elements

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Oct 2 16:33:16 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=47054

           Summary: execCommand('FormatBlock') does not preserve inline
                    styles of the replaced block elements
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: HTML Editing
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: rniwa at webkit.org
                CC: tony at chromium.org, ojan at chromium.org, enrica at apple.com


Reproduction steps:
1. Go to http://www.mozilla.org/editor/midasdemo/
2. Paste <div style="color: red;">hello</div> in HTML source mode
3. Chante the format to "h1" in WYSIWYG mode

Expected result:
<h1 style="color:red;">hello</h1> or <h1><span style="color:red;">hello</span></h1>

Actual result:
<h1>hello</h1>

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list