Changeset 87132 in webkit
- Timestamp:
- May 24, 2011 12:16:10 AM (13 years ago)
- Location:
- trunk/LayoutTests
- Files:
-
- 2 added
- 18 deleted
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r87131 r87132 1 2011-05-24 Annie Sullivan <sullivan@chromium.org> 2 3 Reviewed by Ryosuke Niwa. 4 5 editing/deleting/5026848-2 and editing/deleting/5026848-3 should be dump-as-markup tests 6 https://bugs.webkit.org/show_bug.cgi?id=61323 7 8 Convert editing/deleting/5026848-2 and editing/deleting/5026848-3 to dump-as-markup. 9 10 * editing/deleting/5026848-2-expected.txt: Added. 11 * editing/deleting/5026848-2.html: Convert to dump-as-markup. 12 * editing/deleting/5026848-3-expected.txt: Added. 13 * editing/deleting/5026848-3.html: Convert to dump-as-markup. 14 * platform/chromium-linux/editing/deleting/5026848-2-expected.png: Removed. 15 * platform/chromium-linux/editing/deleting/5026848-3-expected.png: Removed. 16 * platform/chromium-win/editing/deleting/5026848-2-expected.png: Removed. 17 * platform/chromium-win/editing/deleting/5026848-2-expected.txt: Removed. 18 * platform/chromium-win/editing/deleting/5026848-3-expected.png: Removed. 19 * platform/chromium-win/editing/deleting/5026848-3-expected.txt: Removed. 20 * platform/gtk/editing/deleting/5026848-2-expected.txt: Removed. 21 * platform/gtk/editing/deleting/5026848-3-expected.txt: Removed. 22 * platform/mac-leopard/editing/deleting/5026848-2-expected.png: Removed. 23 * platform/mac-leopard/editing/deleting/5026848-3-expected.png: Removed. 24 * platform/mac/editing/deleting/5026848-2-expected.png: Removed. 25 * platform/mac/editing/deleting/5026848-2-expected.txt: Removed. 26 * platform/mac/editing/deleting/5026848-3-expected.png: Removed. 27 * platform/mac/editing/deleting/5026848-3-expected.txt: Removed. 28 * platform/qt/editing/deleting/5026848-2-expected.png: Removed. 29 * platform/qt/editing/deleting/5026848-2-expected.txt: Removed. 30 * platform/qt/editing/deleting/5026848-3-expected.png: Removed. 31 * platform/qt/editing/deleting/5026848-3-expected.txt: Removed. 32 1 33 2011-05-23 Gabor Loki <loki@webkit.org> 2 34 -
trunk/LayoutTests/editing/deleting/5026848-2.html
r20707 r87132 1 <!DOCTYPE html> 1 2 <html> 2 3 <body> 3 <p >This tests to see that selected non-editable nodes that are not in both the start and end editable root are preserved during a deletion. You should see two 'Non-editable' pieces on either side of the editable piece below.</p>4 <p id="description">This tests to see that selected non-editable nodes that are not in both the start and end editable root are preserved during a deletion. You should see two 'Non-editable' pieces on either side of the editable piece below.</p> 4 5 <div id="div" contenteditable="true"> 5 6 <table contenteditable="false"> … … 13 14 </div> 14 15 16 <script src="../../resources/dump-as-markup.js"></script> 15 17 <script> 16 18 var sel = window.getSelection(); … … 19 21 sel.setBaseAndExtent(start, 0, end, 0); 20 22 document.execCommand("Delete"); 23 Markup.description(description.textContent); 24 Markup.dump("div"); 21 25 </script> 22 26 -
trunk/LayoutTests/editing/deleting/5026848-3.html
r20707 r87132 1 <!DOCTYPE html> 1 2 <html> 2 3 <body> 3 <p >This tests to see that selected editable nodes that are not in both the start and end editable roots are cleared. You should see one non-editable piece and an editable one and then two empty table cells. The table cells are editable but are preserved and not removed because they are in a non-editable region. They should be completely cleared out, even the second one that contains a non-editable piece.</p>4 <p id="description">This tests to see that selected editable nodes that are not in both the start and end editable roots are cleared. You should see one non-editable piece and an editable one and then two empty table cells. The table cells are editable but are preserved and not removed because they are in a non-editable region. They should be completely cleared out, even the second one that contains a non-editable piece.</p> 4 5 <div id="div" contenteditable="true"> 5 6 <table border="1" contenteditable="false"> … … 15 16 </div> 16 17 18 <script src="../../resources/dump-as-markup.js"></script> 17 19 <script> 18 20 var sel = window.getSelection(); … … 21 23 sel.setBaseAndExtent(start, 0, end, 0); 22 24 document.execCommand("Delete"); 25 Markup.description(description.textContent); 26 Markup.dump("div"); 23 27 </script> 24 28
Note: See TracChangeset
for help on using the changeset viewer.