Changeset 87270 in webkit
- Timestamp:
- May 24, 2011 9:38:26 PM (13 years ago)
- Location:
- trunk/LayoutTests
- Files:
-
- 2 added
- 16 deleted
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r87268 r87270 1 2011-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 1 31 2011-05-24 Steve Lacey <sjl@chromium.org> 2 32 -
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"> 2 6 <div id="source" style="border: 1px solid blue;" contenteditable="true"><table border="1"><tr><td id="cell">foo</td></tr></table></div> 3 7 <div id="destination" style="border: 1px solid red;" contenteditable="true"><br></div> 8 </div> 4 9 10 <script src="../../resources/dump-as-markup.js"></script> 5 11 <script> 6 12 function runTest() { … … 26 32 eventSender.mouseMoveTo(x, y); 27 33 eventSender.mouseUp(); 34 Markup.description(description.textContent); 35 Markup.dump(root); 28 36 } 29 37 30 38 runTest(); 31 39 </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"> 2 6 <div id="div" contenteditable="true" style="border: 1px solid blue;"> 3 7 <table contenteditable="false" border="1"><tr><td id="cell" contenteditable="true">editable</td></tr></table> … … 5 9 <div id="destination" contenteditable="true" style="border: 1px solid red;"><br></div> 6 10 <ul id="console"></ul> 11 </div> 12 <script src="../../resources/dump-as-markup.js"></script> 7 13 <script> 8 14 function log(str) { … … 33 39 eventSender.mouseMoveTo(x, y); 34 40 eventSender.mouseUp(); 41 Markup.description(description.textContent); 42 Markup.dump(root); 35 43 } 36 44 37 45 runTest(); 38 46 </script> 47 </body> 48 </html>
Note: See TracChangeset
for help on using the changeset viewer.