[Webkit-unassigned] [Bug 24981] New: Crazy backspace/delete behavior

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Mar 31 22:07:37 PDT 2009


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

           Summary: Crazy backspace/delete behavior
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
               URL: http://jparent.googlepages.com/brokenBackspace.html
        OS/Version: Mac OS X 10.5
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: HTML Editing
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: jparent at google.com
                CC: eric at webkit.org, justin.garcia at apple.com,
                    ojan at google.com


1. Go to http://jparent.googlepages.com/brokenBackspace.html or paste the
following HTML into your favorite contentEditable region: <h3>heading</h3> 
other text
2. Put your cursor before the "o" in other
3. Hit backspace

Result: The "o" stays where it is, the "t" moves onto the next line, and "her
text" merges up onto the line with "heading".  Html is: <h3>heading<span
class="Apple-style-span" style="font-size: 16px; font-weight: normal; ">her
text</span></h3>o<br>t
Expected result: "other text" merges onto the line wiht "heading"

Notes:
* This also happens if you put the cursor after the "g" in heading and hit
delete.
* The problem is clearly with the whitespace before "other text".  With only
one whitespace, only the "o" gets left behind, with two whitespaces, the "ot"
get left behind, with three whitespaces, "oth" get left behind, etc.


-- 
Configure bugmail: https://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