Changeset 92578 in webkit


Ignore:
Timestamp:
Aug 7, 2011 7:47:47 PM (13 years ago)
Author:
rniwa@webkit.org
Message:

Dump-as-markup conversion: nested-blocks-with-text-area.html and nested-blocks-with-text-field.html
https://bugs.webkit.org/show_bug.cgi?id=65836

Reviewed by Kent Tamura.

Converted the tests to dump-as-markup tests to improve the readability of the expected results.

  • editing/pasteboard/nested-blocks-with-text-area-expected.txt: Added.
  • editing/pasteboard/nested-blocks-with-text-area.html:
  • editing/pasteboard/nested-blocks-with-text-field-expected.txt: Added.
  • editing/pasteboard/nested-blocks-with-text-field.html:
  • platform/chromium-linux/editing/pasteboard/nested-blocks-with-text-area-expected.png: Removed.
  • platform/chromium-linux/editing/pasteboard/nested-blocks-with-text-field-expected.png: Removed.
  • platform/chromium-mac-leopard/editing/pasteboard/nested-blocks-with-text-area-expected.png: Removed.
  • platform/chromium-mac-leopard/editing/pasteboard/nested-blocks-with-text-field-expected.png: Removed.
  • platform/chromium-win/editing/pasteboard/nested-blocks-with-text-area-expected.png: Removed.
  • platform/chromium-win/editing/pasteboard/nested-blocks-with-text-area-expected.txt: Removed.
  • platform/chromium-win/editing/pasteboard/nested-blocks-with-text-field-expected.png: Removed.
  • platform/chromium-win/editing/pasteboard/nested-blocks-with-text-field-expected.txt: Removed.
  • platform/gtk/editing/pasteboard/nested-blocks-with-text-area-expected.png: Removed.
  • platform/gtk/editing/pasteboard/nested-blocks-with-text-area-expected.txt: Removed.
  • platform/gtk/editing/pasteboard/nested-blocks-with-text-field-expected.png: Removed.
  • platform/gtk/editing/pasteboard/nested-blocks-with-text-field-expected.txt: Removed.
  • platform/mac-leopard/editing/pasteboard/nested-blocks-with-text-area-expected.png: Removed.
  • platform/mac-leopard/editing/pasteboard/nested-blocks-with-text-field-expected.png: Removed.
  • platform/mac/editing/pasteboard/nested-blocks-with-text-area-expected.png: Removed.
  • platform/mac/editing/pasteboard/nested-blocks-with-text-area-expected.txt: Removed.
  • platform/mac/editing/pasteboard/nested-blocks-with-text-field-expected.png: Removed.
  • platform/mac/editing/pasteboard/nested-blocks-with-text-field-expected.txt: Removed.
  • platform/qt/editing/pasteboard/nested-blocks-with-text-area-expected.png: Removed.
  • platform/qt/editing/pasteboard/nested-blocks-with-text-area-expected.txt: Removed.
  • platform/qt/editing/pasteboard/nested-blocks-with-text-field-expected.png: Removed.
  • platform/qt/editing/pasteboard/nested-blocks-with-text-field-expected.txt: Removed.
  • platform/win/editing/pasteboard/nested-blocks-with-text-area-expected.txt: Removed.
Location:
trunk/LayoutTests
Files:
2 added
23 deleted
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r92577 r92578  
     12011-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
    1382011-08-07  Noel Gordon  <noel.gordon@gmail.com>
    239
  • trunk/LayoutTests/editing/pasteboard/nested-blocks-with-text-area.html

    r17562 r92578  
    11<html>
    22<head>
    3 <script>
    4 if (window.layoutTestController)
    5      layoutTestController.dumpEditingCallbacks();
    6 </script>
    7 
     3<script src="../../resources/dump-as-markup.js"></script>
    84<style>
    95div { text-align: center; }
     
    1410These demonstrate 11475: the '\n's at the end of the fragment should be unrendered.<br><br>
    1511
    16 <script>
     12<script id="script">
     13if (window.layoutTestController) {
     14    layoutTestController.dumpAsText(true);
     15    layoutTestController.dumpEditingCallbacks();
     16}
     17
    1718var s = window.getSelection();
    1819var e = document.body;
     
    2324document.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>");
    2425
     26e.removeChild(document.getElementById('script'));
     27Markup.dump(e);
     28
    2529</script>
    26 
    2730</body>
    2831</html>
    29 
  • trunk/LayoutTests/editing/pasteboard/nested-blocks-with-text-field.html

    r17562 r92578  
    11<html>
    22<head>
    3 <script>
    4 if (window.layoutTestController)
    5      layoutTestController.dumpEditingCallbacks();
    6 </script>
    7 
     3<script src="../../resources/dump-as-markup.js"></script>
    84<style>
    95div { text-align: center; }
     
    1410These demonstrate 11475: the '\n's at the end of the fragment should be unrendered.<br><br>
    1511
    16 <script>
     12<script id="test">
     13if (window.layoutTestController)
     14    layoutTestController.dumpEditingCallbacks();
     15
    1716var s = window.getSelection();
    1817var e = document.body;
     
    2322document.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>");
    2423
     24e.removeChild(document.getElementById('test'));
     25Markup.dump(e);
     26
    2527</script>
    26 
    2728</body>
    2829</html>
    29 
Note: See TracChangeset for help on using the changeset viewer.