Changeset 87778 in webkit


Ignore:
Timestamp:
Jun 1, 2011 12:16:05 AM (13 years ago)
Author:
commit-queue@webkit.org
Message:

2011-06-01 Annie Sullivan <sullivan@chromium.org>

Reviewed by Ryosuke Niwa.

Convert editing/pasteboard/4861010 to dump-as-markup
https://bugs.webkit.org/show_bug.cgi?id=61683

Renamed test to drag-drop-list.html, cleaned up html, and updated description.

  • editing/pasteboard/4861080.html: Removed.
  • editing/pasteboard/drag-drop-list.html: Copied from LayoutTests/editing/pasteboard/4861080.html.
  • platform/chromium-linux/editing/pasteboard/4861080-expected.png: Removed.
  • platform/chromium-win/editing/pasteboard/4861080-expected.png: Removed.
  • platform/chromium-win/editing/pasteboard/4861080-expected.txt: Removed.
  • platform/gtk/editing/pasteboard/4861080-expected.png: Removed.
  • platform/gtk/editing/pasteboard/4861080-expected.txt: Removed.
  • platform/mac-leopard/editing/pasteboard/4861080-expected.png: Removed.
  • platform/mac/editing/pasteboard/4861080-expected.png: Removed.
  • platform/mac/editing/pasteboard/4861080-expected.txt: Removed.
Location:
trunk/LayoutTests
Files:
1 added
8 deleted
1 edited
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r87777 r87778  
     12011-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
    1212011-05-31  Kent Tamura  <tkent@chromium.org>
    222
  • 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">
    35<li id="li" style="border: 1px solid black;"><span><div id="contents" style="border: 1px solid red;">DropAboveMe</div></span></li>
    46<div><span id="drag">DragMe</span></div>
    57</div>
     8
    69<ul id="console"></ul>
     10<script src="../../resources/dump-as-markup.js"></script>
    711<script>
    812function log(str) {
     
    3741    var li = document.getElementById("li");
    3842   
    39     var dropx = li.offsetParent.offsetLeft + li.offsetLeft + li.offsetWidth / 2;
    40     var dropy = li.offsetParent.offsetTop + li.offsetTop + 15;
     43    var dropx = li.offsetLeft + li.offsetWidth / 2;
     44    var dropy = li.offsetTop + 15;
    4145
    4246    eventSender.mouseMoveTo(dropx, dropy);
     
    4448   
    4549    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);
    4653}
    4754
    4855runTest();
    4956</script>
     57</body>
     58</html>
Note: See TracChangeset for help on using the changeset viewer.