[Webkit-unassigned] [Bug 42850] New: Copy-paste inside list inside bold tag is incorrect
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Jul 22 14:28:55 PDT 2010
https://bugs.webkit.org/show_bug.cgi?id=42850
Summary: Copy-paste inside list inside bold tag is incorrect
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=62340)
--> (https://bugs.webkit.org/attachment.cgi?id=62340)
Test case
Repro steps:
1. Start with two lists, wrapped by a bold tag (or use attached test case):
<div contentEditable><b>
<ul>
<li>level0</li>
<ul><li>level1</li><li>copy me</li></ul>
</ul>
<ul>
<li>level0</li>
<ul><li>level1</li><li>paste here</li></ul>
</ul>
</b></div>
2. Select "copy" and copy.
3. Put cursor after "here" and paste.
Result:
"copy" is inside a new list, the HTML for the last LI is:
<li>paste here<span class="Apple-style-span" style="font-weight: normal; "><b><ul><ul><li>copy</li></ul></ul></b></span></li>
Expected Result:
"copy" is after "here", aka, the HTML for last LI is: <li>paste herecopy</li>
Notes:
* May be related to https://bugs.webkit.org/show_bug.cgi?id=42849
* Also happens with <i> or <u> in place of <b>
--
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