[Webkit-unassigned] [Bug 18423] New: InsertHtml command is adding <span class="Apple-style-span"> tags by itself

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Apr 10 23:33:55 PDT 2008


           Summary: InsertHtml command is adding <span class="Apple-style-
                    span"> tags by itself
           Product: WebKit
           Version: 525.x (Safari 3.1)
          Platform: Macintosh
        OS/Version: Mac OS X 10.5
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: HTML Editing
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: martin at fckeditor.net

Steps to reproduce the bug:

 1. Create an editable document with some contents wrapped in an <h3> tag.
 2. Put the caret inside the <h3> tag.
 3. Try to run document.execCommand('inserthtml', false, $some_html) to insert
some simple text into the current caret position.
 4. Notice the inserted text looks different to the rest of the <h3> tag.
 5. Print the HTML contents of the editable document to find some extra <span>
tags have been inserted unintentionally by the InsertHtml command.

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

More information about the webkit-unassigned mailing list