[Webkit-unassigned] [Bug 76514] New: execCommand insertorderedlist changes markup

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jan 17 20:40:54 PST 2012


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

           Summary: execCommand insertorderedlist changes markup
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: HTML Editing
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: patrick at bislr.com


Given markup similar to: <p><span class="foo" data-foo="bar">Magic</span></p> and having the entire contents of the <p> tag selected, document.execCommand('insertorderedlist') results in:

<p><ul><li><span class="Apple-style-span" style="font-family: Some, fonts, defined, by, foo, class;">Magic</li></ul></p>

Losing both the class and data-foo attributes.

-- 
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