[Webkit-unassigned] [Bug 68413] New: Span element gets produced using backspace/delete to merge header with paragraph

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Sep 19 16:43:43 PDT 2011


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

           Summary: Span element gets produced using backspace/delete to
                    merge header with paragraph
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: HTML Editing
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: spocke at moxiecode.com


Created an attachment (id=107944)
 --> (https://bugs.webkit.org/attachment.cgi?id=107944&action=review)
Test file that shows the bug

A span element with the runtime style of the paragraph gets produced if you backspace/delete to merge a h1 and p element.

When pressing delete at this caret location:
<h1>a|</h1>
<p>b</p>

WebKit produces if P has a color red defined in it's CSS:
<h1>a<span style="color:red">b</span></h1>

Should produce like other browsers:
<h1>ab</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