Changeset 87270 in webkit


Ignore:
Timestamp:
May 24, 2011 9:38:26 PM (13 years ago)
Author:
commit-queue@webkit.org
Message:

2011-05-24 Annie Sullivan <sullivan@chromium.org>

Reviewed by Ryosuke Niwa.

Convert LayoutTests/editing/selection/4895428-1 and -4 to dump-as-markup
https://bugs.webkit.org/show_bug.cgi?id=61402

Converts the two html files to dump-as-markup and adds doctype, html, and body tags.

  • editing/selection/4895428-1-expected.txt: Added.
  • editing/selection/4895428-1.html: Converted to dump-as-markup
  • editing/selection/4895428-4-expected.txt: Added.
  • editing/selection/4895428-4.html: Converted to dump-as-markup
  • platform/chromium-linux/editing/selection/4895428-1-expected.png: Removed.
  • platform/chromium-linux/editing/selection/4895428-4-expected.png: Removed.
  • platform/chromium-win/editing/selection/4895428-1-expected.png: Removed.
  • platform/chromium-win/editing/selection/4895428-1-expected.txt: Removed.
  • platform/chromium-win/editing/selection/4895428-4-expected.png: Removed.
  • platform/chromium-win/editing/selection/4895428-4-expected.txt: Removed.
  • platform/gtk/editing/selection/4895428-1-expected.png: Removed.
  • platform/gtk/editing/selection/4895428-1-expected.txt: Removed.
  • platform/gtk/editing/selection/4895428-4-expected.png: Removed.
  • platform/gtk/editing/selection/4895428-4-expected.txt: Removed.
  • platform/mac-leopard/editing/selection/4895428-1-expected.png: Removed.
  • platform/mac-leopard/editing/selection/4895428-4-expected.png: Removed.
  • platform/mac/editing/selection/4895428-1-expected.png: Removed.
  • platform/mac/editing/selection/4895428-1-expected.txt: Removed.
  • platform/mac/editing/selection/4895428-4-expected.png: Removed.
  • platform/mac/editing/selection/4895428-4-expected.txt: Removed.
Location:
trunk/LayoutTests
Files:
2 added
16 deleted
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r87268 r87270  
     12011-05-24  Annie Sullivan  <sullivan@chromium.org>
     2
     3        Reviewed by Ryosuke Niwa.
     4
     5        Convert LayoutTests/editing/selection/4895428-1 and -4 to dump-as-markup
     6        https://bugs.webkit.org/show_bug.cgi?id=61402
     7
     8        Converts the two html files to dump-as-markup and adds doctype, html, and body tags.
     9
     10        * editing/selection/4895428-1-expected.txt: Added.
     11        * editing/selection/4895428-1.html: Converted to dump-as-markup
     12        * editing/selection/4895428-4-expected.txt: Added.
     13        * editing/selection/4895428-4.html: Converted to dump-as-markup
     14        * platform/chromium-linux/editing/selection/4895428-1-expected.png: Removed.
     15        * platform/chromium-linux/editing/selection/4895428-4-expected.png: Removed.
     16        * platform/chromium-win/editing/selection/4895428-1-expected.png: Removed.
     17        * platform/chromium-win/editing/selection/4895428-1-expected.txt: Removed.
     18        * platform/chromium-win/editing/selection/4895428-4-expected.png: Removed.
     19        * platform/chromium-win/editing/selection/4895428-4-expected.txt: Removed.
     20        * platform/gtk/editing/selection/4895428-1-expected.png: Removed.
     21        * platform/gtk/editing/selection/4895428-1-expected.txt: Removed.
     22        * platform/gtk/editing/selection/4895428-4-expected.png: Removed.
     23        * platform/gtk/editing/selection/4895428-4-expected.txt: Removed.
     24        * platform/mac-leopard/editing/selection/4895428-1-expected.png: Removed.
     25        * platform/mac-leopard/editing/selection/4895428-4-expected.png: Removed.
     26        * platform/mac/editing/selection/4895428-1-expected.png: Removed.
     27        * platform/mac/editing/selection/4895428-1-expected.txt: Removed.
     28        * platform/mac/editing/selection/4895428-4-expected.png: Removed.
     29        * platform/mac/editing/selection/4895428-4-expected.txt: Removed.
     30
    1312011-05-24  Steve Lacey  <sjl@chromium.org>
    232
  • trunk/LayoutTests/editing/selection/4895428-1.html

    r21291 r87270  
    1 <p>This tests dragging a selected table by mousing down on the contents of one of its cells. It should be in the red bordered area.</p>
     1<!DOCTYPE html>
     2<html>
     3<body>
     4<p id="description">This tests dragging a selected table by mousing down on the contents of one of its cells. It should be in the red bordered area.</p>
     5<div id="root">
    26<div id="source" style="border: 1px solid blue;" contenteditable="true"><table border="1"><tr><td id="cell">foo</td></tr></table></div>
    37<div id="destination" style="border: 1px solid red;" contenteditable="true"><br></div>
     8</div>
    49
     10<script src="../../resources/dump-as-markup.js"></script>
    511<script>
    612function runTest() {
     
    2632    eventSender.mouseMoveTo(x, y);
    2733    eventSender.mouseUp();
     34    Markup.description(description.textContent);
     35    Markup.dump(root);
    2836}
    2937
    3038runTest();
    3139</script>
     40</body>
     41</html>
  • trunk/LayoutTests/editing/selection/4895428-4.html

    r21298 r87270  
    1 <p>This tests to see if an editable selection containing a focusable node is draggable by content inside that focusable node. To achieve this we delay focus of such nodes until mouse up. Below, the table should be inside the red bordered div.</p>
     1<doctype HTML>
     2<html>
     3<body>
     4<p id="description">This tests to see if an editable selection containing a focusable node is draggable by content inside that focusable node. To achieve this we delay focus of such nodes until mouse up. Below, the table should be inside the red bordered div.</p>
     5<div id="root">
    26<div id="div" contenteditable="true" style="border: 1px solid blue;">
    37<table contenteditable="false" border="1"><tr><td id="cell" contenteditable="true">editable</td></tr></table>
     
    59<div id="destination" contenteditable="true" style="border: 1px solid red;"><br></div>
    610<ul id="console"></ul>
     11</div>
     12<script src="../../resources/dump-as-markup.js"></script>
    713<script>
    814function log(str) {
     
    3339    eventSender.mouseMoveTo(x, y);
    3440    eventSender.mouseUp();
     41    Markup.description(description.textContent);
     42    Markup.dump(root);
    3543}
    3644
    3745runTest();
    3846</script>
     47</body>
     48</html>
Note: See TracChangeset for help on using the changeset viewer.