NEW 21545
execCommand("Outdent") messes up the appearance of visual selection
https://bugs.webkit.org/show_bug.cgi?id=21545
Summary execCommand("Outdent") messes up the appearance of visual selection
Eric Roman
Reported 2008-10-11 16:44:04 PDT
When the selection contains a list (ul or ol), strange things happen. There is an existing layout test for this: LayoutTests/editing/execCommand/outdent-selection.html However I am not sure that the pixel baseline for it is quite right: http://trac.webkit.org/browser/trunk/LayoutTests/editing/execCommand/outdent-selection-expected.png?rev=25943 Notice how the element that was inside of a list ("Dinner time?") gets colored differently. In the older baseline for this test (r17143) this was not the case, is that a regression? I will upload another test case, where instead of coloring the selected text differently, no selection appears at all. Tested with WebKit@r37458 WinXp.
Attachments
Selection does not show up (724 bytes, text/html)
2008-10-11 16:49 PDT, Eric Roman
no flags
Eric Roman
Comment 1 2008-10-11 16:49:39 PDT
Created attachment 24293 [details] Selection does not show up In this test, a selection including a list is outdented. In Safari 3.1 it seems to work (the result shows a blue selection around everything). However in TOT webkit (I am running r37458 winxp) the middle part of the selection is missing. With some modifications you can get the text to disappear all-together.
Note You need to log in before you can comment on or make changes to this bug.