Changeset 64808 in webkit
- Timestamp:
- Aug 5, 2010 6:23:00 PM (14 years ago)
- Location:
- trunk/LayoutTests
- Files:
-
- 3 added
- 29 deleted
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r64806 r64808 1 2010-08-05 Ryosuke Niwa <rniwa@webkit.org> 2 3 Reviewed by Tony Chang. 4 5 dumpAsMarkup conversion: deleting/delete-4038408-fix.html, deleting/delete-br-011.html, and execCommand/format-block-from-range-selection.html 6 https://bugs.webkit.org/show_bug.cgi?id=43580 7 8 Converted deleting/delete-4038408-fix.html, deleting/delete-br-011.html, and execCommand/format-block-from-range-selection.html 9 to a dumpAsMarkup test because all the tests were testing the correctness of the resultant DOM tree. 10 In addition, removed editing delegates from execCommand/format-block-from-range-selection.html because it's not relevant to the test. 11 12 * editing/deleting/delete-4038408-fix-expected.txt: Added. 13 * editing/deleting/delete-4038408-fix.html: Converted. 14 * editing/deleting/delete-br-011-expected.txt: Added. 15 * editing/deleting/delete-br-011.html: Converted. 16 * editing/execCommand/format-block-from-range-selection-expected.txt: Added. 17 * editing/execCommand/format-block-from-range-selection.html: Converted. 18 * platform/chromium-linux/editing/deleting/delete-4038408-fix-expected.checksum: Removed. 19 * platform/chromium-linux/editing/deleting/delete-4038408-fix-expected.png: Removed. 20 * platform/chromium-linux/editing/deleting/delete-br-011-expected.checksum: Removed. 21 * platform/chromium-linux/editing/deleting/delete-br-011-expected.png: Removed. 22 * platform/chromium-linux/editing/execCommand/format-block-from-range-selection-expected.checksum: Removed. 23 * platform/chromium-linux/editing/execCommand/format-block-from-range-selection-expected.png: Removed. 24 * platform/chromium-win/editing/deleting/delete-4038408-fix-expected.checksum: Removed. 25 * platform/chromium-win/editing/deleting/delete-4038408-fix-expected.png: Removed. 26 * platform/chromium-win/editing/deleting/delete-4038408-fix-expected.txt: Removed. 27 * platform/chromium-win/editing/deleting/delete-br-011-expected.checksum: Removed. 28 * platform/chromium-win/editing/deleting/delete-br-011-expected.png: Removed. 29 * platform/chromium-win/editing/deleting/delete-br-011-expected.txt: Removed. 30 * platform/chromium-win/editing/execCommand/format-block-from-range-selection-expected.checksum: Removed. 31 * platform/chromium-win/editing/execCommand/format-block-from-range-selection-expected.png: Removed. 32 * platform/chromium-win/editing/execCommand/format-block-from-range-selection-expected.txt: Removed. 33 * platform/mac-leopard/editing/deleting/delete-4038408-fix-expected.checksum: Removed. 34 * platform/mac-leopard/editing/deleting/delete-4038408-fix-expected.png: Removed. 35 * platform/mac/editing/deleting/delete-4038408-fix-expected.checksum: Removed. 36 * platform/mac/editing/deleting/delete-4038408-fix-expected.png: Removed. 37 * platform/mac/editing/deleting/delete-4038408-fix-expected.txt: Removed. 38 * platform/mac/editing/deleting/delete-br-011-expected.checksum: Removed. 39 * platform/mac/editing/deleting/delete-br-011-expected.png: Removed. 40 * platform/mac/editing/deleting/delete-br-011-expected.txt: Removed. 41 * platform/mac/editing/execCommand/format-block-from-range-selection-expected.checksum: Removed. 42 * platform/mac/editing/execCommand/format-block-from-range-selection-expected.png: Removed. 43 * platform/mac/editing/execCommand/format-block-from-range-selection-expected.txt: Removed. 44 * platform/qt/editing/deleting/delete-4038408-fix-expected.txt: Removed. 45 * platform/qt/editing/deleting/delete-br-011-expected.txt: Removed. 46 * platform/qt/editing/execCommand/format-block-from-range-selection-expected.txt: Removed. 47 1 48 2010-08-05 Adam Barth <abarth@webkit.org> 2 49 -
trunk/LayoutTests/editing/deleting/delete-4038408-fix.html
r14751 r64808 1 1 <html> 2 2 <head> 3 4 3 <style> 5 4 .editing { … … 13 12 } 14 13 </style> 14 <script src="../../resources/dump-as-markup.js"></script> 15 15 <script src="../editing.js" language="JavaScript" type="text/JavaScript" ></script> 16 16 … … 18 18 19 19 function editingTest() { 20 Markup.description('rdar://problems/4038408&4154187&4125087&4125381, This tests deletion from underneath quoted text:'); 21 22 Markup.dump('test', 'before deletion'); 23 24 // Move the caret to the end of #test 20 25 selectAllCommand(); 21 26 moveSelectionForwardByCharacterCommand(); 27 28 // Delete the reply text 22 29 deleteCommand(); 23 30 deleteCommand(); 24 31 deleteCommand(); 25 32 deleteCommand(); 26 33 Markup.dump('test', 'after deletion'); 34 27 35 insertNewlineInQuotedContentCommand(); 28 29 36 document.execCommand("InsertText", false, "This text should not be quoted."); 37 38 Markup.dump('test', 'after insert text'); 30 39 } 31 40 … … 35 44 </head> 36 45 <body> 46 <p>Radar: <a href="rdar://problems/4038408&4154187&4125087&4125381">rdar://problems/4038408&4154187&4125087&4125381</a> 47 Deletion of reply text should not produce reply text style unless the caret is inside the reply text blockquote.</p> 48 <p>This tests deletion from underneath quoted text:</p> 37 49 <div contenteditable id="test" class="editing"> 38 <div>Radar: <a href="rdar://problems/4038408&4154187&4125087&4125381">rdar://problems/4038408&4154187&4125087&4125381</a></div>39 <div>Deletion of reply text should not produce reply text style unless the caret is inside the reply text blockquote.</div>40 <div><BR class="khtml-block-placeholder"></div>41 <div>This tests deletion from underneath quoted text:</div>42 50 <div><BR class="khtml-block-placeholder"></div> 43 51 <div> -
trunk/LayoutTests/editing/deleting/delete-br-011.html
r11995 r64808 1 1 <html> 2 2 <head> 3 4 3 <style> 5 4 .editing { … … 9 8 } 10 9 </style> 11 <script src= ../editing.js language="JavaScript" type="text/JavaScript"></script>12 10 <script src="../../resources/dump-as-markup.js"></script> 11 <script src="../editing.js"></script> 13 12 <script> 14 13 14 Markup.waitUntilDone(); 15 15 16 function editingTest() { 17 18 Markup.description('rdar://problem/4065343 Mail: Deleting a line sometimes makes the insertion point jump to the top of the message.'); 19 Markup.dump('root', 'before deletion'); 20 16 21 for (i = 0; i < 5; i++) 17 22 moveSelectionForwardByLineCommand(); 18 23 deleteCommand(); 24 25 Markup.dump('root', 'after deletion'); 26 Markup.notifyDone(); 19 27 } 20 28 21 29 </script> 22 23 30 <title>Editing Test</title> 24 31 </head> -
trunk/LayoutTests/editing/execCommand/format-block-from-range-selection.html
r17562 r64808 1 <script> 2 if (window.layoutTestController) 3 layoutTestController.dumpEditingCallbacks(); 4 </script> 1 <script src="../../resources/dump-as-markup.js"></script> 5 2 <div id="description">This test uses FormatBlock to apply the dl tag to a range of paragraphs with different block tags.</div> 6 3 <br> 7 <div style="border:1px solid black" contenteditable="true">4 <div id="test" style="border:1px solid black" contenteditable="true"> 8 5 <pre id="start">Foo</pre> 9 6 <div>bar<br><span>baz</span><br>raz</div> … … 19 16 s.setBaseAndExtent(start, 2, end, 2); 20 17 18 Markup.description('This test uses FormatBlock to apply the dl tag to a range of paragraphs with different block tags.'); 19 Markup.dump('test', 'before FormatBlock'); 20 21 21 document.execCommand("FormatBlock", false, "dl"); 22 23 Markup.dump('test', 'after FormatBlock'); 22 24 </script>
Note: See TracChangeset
for help on using the changeset viewer.