Changeset 96076 in webkit
- Timestamp:
- Sep 26, 2011 11:55:34 PM (13 years ago)
- Location:
- trunk/LayoutTests
- Files:
-
- 8 deleted
- 2 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r96075 r96076 1 2011-09-26 Ryosuke Niwa <rniwa@webkit.org> 2 3 dump-as-markup conversion: editing/deleting/delete-to-end-of-paragraph.html 4 https://bugs.webkit.org/show_bug.cgi?id=68865 5 6 Reviewed by Kent Tamura. 7 8 Converted the test. 9 10 * editing/deleting/delete-to-end-of-paragraph-expected.txt: Added. 11 * editing/deleting/delete-to-end-of-paragraph.html: 12 * platform/chromium-linux/editing/deleting/delete-to-end-of-paragraph-expected.png: Removed. 13 * platform/chromium-win/editing/deleting/delete-to-end-of-paragraph-expected.png: Removed. 14 * platform/chromium-win/editing/deleting/delete-to-end-of-paragraph-expected.txt: Removed. 15 * platform/gtk/editing/deleting/delete-to-end-of-paragraph-expected.txt: Removed. 16 * platform/mac-leopard/editing/deleting/delete-to-end-of-paragraph-expected.png: Removed. 17 * platform/mac/editing/deleting/delete-to-end-of-paragraph-expected.png: Removed. 18 * platform/mac/editing/deleting/delete-to-end-of-paragraph-expected.txt: Removed. 19 * platform/qt/editing/deleting/delete-to-end-of-paragraph-expected.png: Removed. 20 * platform/qt/editing/deleting/delete-to-end-of-paragraph-expected.txt: Removed. 21 1 22 2011-09-26 Renata Hodovan <reni@webkit.org> 2 23 -
trunk/LayoutTests/editing/deleting/delete-to-end-of-paragraph-expected.txt
r96075 r96076 1 EDITING DELEGATE: shouldBeginEditingInDOMRange:range from 0 of BODY > HTML > #document to 5of BODY > HTML > #document1 EDITING DELEGATE: shouldBeginEditingInDOMRange:range from 0 of BODY > HTML > #document to 7 of BODY > HTML > #document 2 2 EDITING DELEGATE: webViewDidBeginEditing:WebViewDidBeginEditingNotification 3 3 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification … … 12 12 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification 13 13 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification 14 layer at (0,0) size 800x600 15 RenderView at (0,0) size 800x600 16 layer at (0,0) size 800x600 17 RenderBlock {HTML} at (0,0) size 800x600 18 RenderBody {BODY} at (8,8) size 784x584 19 RenderBlock {DIV} at (0,0) size 600x20 20 RenderInline {SPAN} at (0,0) size 69x19 21 RenderText {#text} at (0,0) size 69x19 22 text run at (0,0) width 69: "four five six" 23 caret: position 0 of child 0 {#text} of child 0 {SPAN} of child 1 {DIV} of body 14 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification 15 | <span> 16 | style="font-size: medium; " 17 | "<#selection-caret>four five six" 18 | <br> -
trunk/LayoutTests/editing/deleting/delete-to-end-of-paragraph.html
r29149 r96076 1 <!DOCTYPE html> 1 2 <html> 2 3 <head> 3 4 4 <style> 5 5 .editing { … … 8 8 } 9 9 </style> 10 <script src="../editing.js" language="JavaScript" type="text/JavaScript" ></script>11 12 <script>13 14 function editingTest() {15 if (window.layoutTestController) {16 17 try {18 // test for 4570218 by using double deleteToEndOfParagraph19 layoutTestController.execCommand("DeleteToEndOfParagraph");20 layoutTestController.execCommand("DeleteToEndOfParagraph");21 22 } catch (ex) {23 document.write("Exception: " + ex.description);24 }25 } else {26 document.write("(cannot run interactively)");27 }28 }29 30 </script>31 32 10 <title>Editing Test</title> 33 11 </head> 34 12 <body contenteditable id="root"> 35 13 <div id="test" class="editing">one two three</div><div>four five six</div> 14 <script src="../../resources/dump-as-markup.js"></script> 36 15 <script> 37 runEditingTest(); 16 17 if (!window.layoutTestController) 18 document.write("(cannot run interactively)"); 19 else { 20 layoutTestController.dumpEditingCallbacks(); 21 22 getSelection().setPosition(document.getElementById('test'), 0); 23 // test for 4570218 by using double deleteToEndOfParagraph 24 layoutTestController.execCommand("DeleteToEndOfParagraph"); 25 layoutTestController.execCommand("DeleteToEndOfParagraph"); 26 Markup.dump('test'); 27 } 28 38 29 </script> 39 40 30 </body> 41 31 </html>
Note: See TracChangeset
for help on using the changeset viewer.