[Webkit-unassigned] [Bug 18813] New: formatBlock both adds spans and removes existing span styles

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Apr 30 08:00:17 PDT 2008


http://bugs.webkit.org/show_bug.cgi?id=18813

           Summary: formatBlock both adds spans and removes existing span
                    styles
           Product: WebKit
           Version: 525.x (Safari 3.1)
          Platform: Macintosh
               URL: http://dev.dadamanifesto.org/bug_execCommand.php
        OS/Version: Mac OS X 10.5
            Status: UNCONFIRMED
          Severity: Major
          Priority: P2
         Component: HTML Editing
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: spud at nothingness.org


This isn't exactly a duplicate of the existing "adds unwanted spans" bug, so
I'm filing separately.

The URL above points to a page containing a test case. The iframe document
contains some text that begins with a word wrapped in a span and given a style
attribute making the text red. The text ends with a standard A tag link.

Clicking the test case link wraps the text in a P tag as expected, but it also
_removes_ the contents of the style attribute on the first word (but leaving
style=""), and then it _adds_ a style tag around the link at the end, coloring
the text black and overriding the standard A link color.


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