[Webkit-unassigned] [Bug 81656] New: Backspace/delete produces combined font/span from existing inline elements

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Mar 20 06:21:33 PDT 2012


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

           Summary: Backspace/delete produces combined font/span from
                    existing inline elements
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
               URL: http://tinymce.com/webkit/backspace_delete.html
        OS/Version: All
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: HTML Editing
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: spocke at moxiecode.com


Backspace/delete produces a font or span element of the combined text styles when you delete the last character in a paragraph.

Expected results:
It should not touch any existing inline elements and only delete the character and insert a BR element to place the caret.

Actual results:
It combines all visual styles into a span or font element.

Steps to reproduce scenario 1:
1. Open the attached URL.
2. Click "Dump HTML".
3. Notice that the "1" is wrapped in a span.
4. Place the caret after the "1".
5. Press backspace.
6. Click "Dump HTML".
7. Notice that the span is now replaced with a font element.

Steps to reproduce scenario 2:
1. Open the attached URL.
2. Click "Dump HTML".
3. Notice that the "2" is wrapped in a b.
4. Click the "Set StyleWithCSS"
5. Place the caret after the "2".
6. Press backspace.
7. Click "Dump HTML".
8. Notice that the b is now replaced with a span element.

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