[Webkit-unassigned] [Bug 62041] The output of editing/pasteboard/paste-4039777-fix.html is wrong

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jun 3 12:47:35 PDT 2011


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





--- Comment #1 from Ryosuke Niwa <rniwa at webkit.org>  2011-06-03 12:47:35 PST ---
So here's my question.  While the actual result doesn't match the expected result, is expected result really what a user expects?

In http://simple-rte.rniwa.com/?editor=%3Cul%3E%3Cli%3Ehello%3C/li%3E%3Cli%3Eworld%3C/li%3E%3C/ul%3E%3Cdiv%3EWebKit%3C/div%3E&script=editor%28%29.focus%28%29%3B

If you copy & paste "world
WebKit" and paste it after "hello", then I'd get
<ul><li>hello</li><li>world</li><div>WebKit</div><li>world</li></ul><div>WebKit</div>
on TOT.  i.e. both "world" and "WebKit" will be in the list and in a separate list item.

However, if we fix this bug, we'll get:
<ul><li>hello</li><li>world</li></ul><div>WebKit</div><ul><li>world</li></ul><div>WebKit</div>

As far as I tested, new behavior matches FF3.6.

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