Changeset 92578 in webkit
- Timestamp:
- Aug 7, 2011 7:47:47 PM (13 years ago)
- Location:
- trunk/LayoutTests
- Files:
-
- 2 added
- 23 deleted
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r92577 r92578 1 2011-08-07 Ryosuke Niwa <rniwa@webkit.org> 2 3 Dump-as-markup conversion: nested-blocks-with-text-area.html and nested-blocks-with-text-field.html 4 https://bugs.webkit.org/show_bug.cgi?id=65836 5 6 Reviewed by Kent Tamura. 7 8 Converted the tests to dump-as-markup tests to improve the readability of the expected results. 9 10 * editing/pasteboard/nested-blocks-with-text-area-expected.txt: Added. 11 * editing/pasteboard/nested-blocks-with-text-area.html: 12 * editing/pasteboard/nested-blocks-with-text-field-expected.txt: Added. 13 * editing/pasteboard/nested-blocks-with-text-field.html: 14 * platform/chromium-linux/editing/pasteboard/nested-blocks-with-text-area-expected.png: Removed. 15 * platform/chromium-linux/editing/pasteboard/nested-blocks-with-text-field-expected.png: Removed. 16 * platform/chromium-mac-leopard/editing/pasteboard/nested-blocks-with-text-area-expected.png: Removed. 17 * platform/chromium-mac-leopard/editing/pasteboard/nested-blocks-with-text-field-expected.png: Removed. 18 * platform/chromium-win/editing/pasteboard/nested-blocks-with-text-area-expected.png: Removed. 19 * platform/chromium-win/editing/pasteboard/nested-blocks-with-text-area-expected.txt: Removed. 20 * platform/chromium-win/editing/pasteboard/nested-blocks-with-text-field-expected.png: Removed. 21 * platform/chromium-win/editing/pasteboard/nested-blocks-with-text-field-expected.txt: Removed. 22 * platform/gtk/editing/pasteboard/nested-blocks-with-text-area-expected.png: Removed. 23 * platform/gtk/editing/pasteboard/nested-blocks-with-text-area-expected.txt: Removed. 24 * platform/gtk/editing/pasteboard/nested-blocks-with-text-field-expected.png: Removed. 25 * platform/gtk/editing/pasteboard/nested-blocks-with-text-field-expected.txt: Removed. 26 * platform/mac-leopard/editing/pasteboard/nested-blocks-with-text-area-expected.png: Removed. 27 * platform/mac-leopard/editing/pasteboard/nested-blocks-with-text-field-expected.png: Removed. 28 * platform/mac/editing/pasteboard/nested-blocks-with-text-area-expected.png: Removed. 29 * platform/mac/editing/pasteboard/nested-blocks-with-text-area-expected.txt: Removed. 30 * platform/mac/editing/pasteboard/nested-blocks-with-text-field-expected.png: Removed. 31 * platform/mac/editing/pasteboard/nested-blocks-with-text-field-expected.txt: Removed. 32 * platform/qt/editing/pasteboard/nested-blocks-with-text-area-expected.png: Removed. 33 * platform/qt/editing/pasteboard/nested-blocks-with-text-area-expected.txt: Removed. 34 * platform/qt/editing/pasteboard/nested-blocks-with-text-field-expected.png: Removed. 35 * platform/qt/editing/pasteboard/nested-blocks-with-text-field-expected.txt: Removed. 36 * platform/win/editing/pasteboard/nested-blocks-with-text-area-expected.txt: Removed. 37 1 38 2011-08-07 Noel Gordon <noel.gordon@gmail.com> 2 39 -
trunk/LayoutTests/editing/pasteboard/nested-blocks-with-text-area.html
r17562 r92578 1 1 <html> 2 2 <head> 3 <script> 4 if (window.layoutTestController) 5 layoutTestController.dumpEditingCallbacks(); 6 </script> 7 3 <script src="../../resources/dump-as-markup.js"></script> 8 4 <style> 9 5 div { text-align: center; } … … 14 10 These demonstrate 11475: the '\n's at the end of the fragment should be unrendered.<br><br> 15 11 16 <script> 12 <script id="script"> 13 if (window.layoutTestController) { 14 layoutTestController.dumpAsText(true); 15 layoutTestController.dumpEditingCallbacks(); 16 } 17 17 18 var s = window.getSelection(); 18 19 var e = document.body; … … 23 24 document.execCommand("InsertHTML", false, "<div>This test checks that pasing in a combination of nested blocks where one starts with a text field doesn't crash or fail assertions.</div>\n<div>\n<div>\n<textarea> </textarea> \n<span>x</span>\n</div>\n</div>"); 24 25 26 e.removeChild(document.getElementById('script')); 27 Markup.dump(e); 28 25 29 </script> 26 27 30 </body> 28 31 </html> 29 -
trunk/LayoutTests/editing/pasteboard/nested-blocks-with-text-field.html
r17562 r92578 1 1 <html> 2 2 <head> 3 <script> 4 if (window.layoutTestController) 5 layoutTestController.dumpEditingCallbacks(); 6 </script> 7 3 <script src="../../resources/dump-as-markup.js"></script> 8 4 <style> 9 5 div { text-align: center; } … … 14 10 These demonstrate 11475: the '\n's at the end of the fragment should be unrendered.<br><br> 15 11 16 <script> 12 <script id="test"> 13 if (window.layoutTestController) 14 layoutTestController.dumpEditingCallbacks(); 15 17 16 var s = window.getSelection(); 18 17 var e = document.body; … … 23 22 document.execCommand("InsertHTML", false, "<div>This test checks that pasing in a combination of nested blocks where one starts with a text field doesn't crash or fail assertions.</div>\n<div>\n<div>\n<input type='text'> \n<span>x</span>\n</div>\n</div>"); 24 23 24 e.removeChild(document.getElementById('test')); 25 Markup.dump(e); 26 25 27 </script> 26 27 28 </body> 28 29 </html> 29
Note: See TracChangeset
for help on using the changeset viewer.