Changeset 87778 in webkit
- Timestamp:
- Jun 1, 2011 12:16:05 AM (13 years ago)
- Location:
- trunk/LayoutTests
- Files:
-
- 1 added
- 8 deleted
- 1 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r87777 r87778 1 2011-06-01 Annie Sullivan <sullivan@chromium.org> 2 3 Reviewed by Ryosuke Niwa. 4 5 Convert editing/pasteboard/4861010 to dump-as-markup 6 https://bugs.webkit.org/show_bug.cgi?id=61683 7 8 Renamed test to drag-drop-list.html, cleaned up html, and updated description. 9 10 * editing/pasteboard/4861080.html: Removed. 11 * editing/pasteboard/drag-drop-list.html: Copied from LayoutTests/editing/pasteboard/4861080.html. 12 * platform/chromium-linux/editing/pasteboard/4861080-expected.png: Removed. 13 * platform/chromium-win/editing/pasteboard/4861080-expected.png: Removed. 14 * platform/chromium-win/editing/pasteboard/4861080-expected.txt: Removed. 15 * platform/gtk/editing/pasteboard/4861080-expected.png: Removed. 16 * platform/gtk/editing/pasteboard/4861080-expected.txt: Removed. 17 * platform/mac-leopard/editing/pasteboard/4861080-expected.png: Removed. 18 * platform/mac/editing/pasteboard/4861080-expected.png: Removed. 19 * platform/mac/editing/pasteboard/4861080-expected.txt: Removed. 20 1 21 2011-05-31 Kent Tamura <tkent@chromium.org> 2 22 -
trunk/LayoutTests/editing/pasteboard/drag-drop-list.html
r87777 r87778 1 <p>This tests dropping content into the unwanted space above a list items content when the content is wrapped in a span. You should see 'DragMe DropAboveMe'.</p> 2 <div contenteditable="true"> 1 <!DOCTYPE HTML> 2 <html> 3 <body> 4 <div contenteditable="true" id="editable"> 3 5 <li id="li" style="border: 1px solid black;"><span><div id="contents" style="border: 1px solid red;">DropAboveMe</div></span></li> 4 6 <div><span id="drag">DragMe</span></div> 5 7 </div> 8 6 9 <ul id="console"></ul> 10 <script src="../../resources/dump-as-markup.js"></script> 7 11 <script> 8 12 function log(str) { … … 37 41 var li = document.getElementById("li"); 38 42 39 var dropx = li.offset Parent.offsetLeft + li.offsetLeft + li.offsetWidth / 2;40 var dropy = li.offset Parent.offsetTop + li.offsetTop + 15;43 var dropx = li.offsetLeft + li.offsetWidth / 2; 44 var dropy = li.offsetTop + 15; 41 45 42 46 eventSender.mouseMoveTo(dropx, dropy); … … 44 48 45 49 window.layoutTestController.notifyDone(); 50 Markup.description("This tests dropping content onto a list items content when the content is wrapped in a span. You should see 'DropAboveMe DragMe'. " 51 + "See <rdar://4861080>, but note that the expected behavior is different than what's described there, since the rendering bug <rdar://4907469> has been fixed."); 52 Markup.dump(editable); 46 53 } 47 54 48 55 runTest(); 49 56 </script> 57 </body> 58 </html>
Note: See TracChangeset
for help on using the changeset viewer.