[Webkit-unassigned] [Bug 42849] New: Incorrect merging of LIs using backspace
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Jul 22 13:57:16 PDT 2010
https://bugs.webkit.org/show_bug.cgi?id=42849
Summary: Incorrect merging of LIs using backspace
Product: WebKit
Version: 528+ (Nightly build)
Platform: All
OS/Version: All
Status: NEW
Severity: Normal
Priority: P2
Component: HTML Editing
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: jparent at google.com
CC: tony at chromium.org, ojan at chromium.org,
rniwa at webkit.org, enrica at apple.com
Created an attachment (id=62335)
--> (https://bugs.webkit.org/attachment.cgi?id=62335)
Test case
Repro steps:
1. Start with a bold tag wrapping a list (or attached test file):
<div contentEditable>
<b>
<ul><li>asdf</li><li>Backspace here</li></ul>
</b>
</div>
2. Put your cursor at the start of the "Backspace here" line
3. Hit backspace.
Result (HTML got crazy, renders with a large gap between "asdf" and "Backspace here"):
<div contenteditable>
<b>
<ul><li>asdf<span class="Apple-style-span" style="font-weight: normal; "><b><ul style="display: inline !important; "><li style="display: inline !important; ">Backspace here</li></ul></b></span></li></ul>
</b>
</div>
Expected result (list items just merge):
<div contentEditable>
<b>
<ul><li>asdfBackspace here</li></ul>
</b>
</div>
Notes:
* If you continue to hit backspace, the cursor is rendered to the left of the "B" in "Backspace", but the character removed is the "f" in "asdf", then the "d", then the "s", etc, so the character being removed and the visual indication of the character to be removed do not match.
* This also occurs with <i> or <u> tags instead of <b>
* This also occurs if you put your cursor at the end of the "asdf" line and hit delete.
--
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