Changeset 87132 in webkit


Ignore:
Timestamp:
May 24, 2011 12:16:10 AM (13 years ago)
Author:
commit-queue@webkit.org
Message:

2011-05-24 Annie Sullivan <sullivan@chromium.org>

Reviewed by Ryosuke Niwa.

editing/deleting/5026848-2 and editing/deleting/5026848-3 should be dump-as-markup tests
https://bugs.webkit.org/show_bug.cgi?id=61323

Convert editing/deleting/5026848-2 and editing/deleting/5026848-3 to dump-as-markup.

  • editing/deleting/5026848-2-expected.txt: Added.
  • editing/deleting/5026848-2.html: Convert to dump-as-markup.
  • editing/deleting/5026848-3-expected.txt: Added.
  • editing/deleting/5026848-3.html: Convert to dump-as-markup.
  • platform/chromium-linux/editing/deleting/5026848-2-expected.png: Removed.
  • platform/chromium-linux/editing/deleting/5026848-3-expected.png: Removed.
  • platform/chromium-win/editing/deleting/5026848-2-expected.png: Removed.
  • platform/chromium-win/editing/deleting/5026848-2-expected.txt: Removed.
  • platform/chromium-win/editing/deleting/5026848-3-expected.png: Removed.
  • platform/chromium-win/editing/deleting/5026848-3-expected.txt: Removed.
  • platform/gtk/editing/deleting/5026848-2-expected.txt: Removed.
  • platform/gtk/editing/deleting/5026848-3-expected.txt: Removed.
  • platform/mac-leopard/editing/deleting/5026848-2-expected.png: Removed.
  • platform/mac-leopard/editing/deleting/5026848-3-expected.png: Removed.
  • platform/mac/editing/deleting/5026848-2-expected.png: Removed.
  • platform/mac/editing/deleting/5026848-2-expected.txt: Removed.
  • platform/mac/editing/deleting/5026848-3-expected.png: Removed.
  • platform/mac/editing/deleting/5026848-3-expected.txt: Removed.
  • platform/qt/editing/deleting/5026848-2-expected.png: Removed.
  • platform/qt/editing/deleting/5026848-2-expected.txt: Removed.
  • platform/qt/editing/deleting/5026848-3-expected.png: Removed.
  • platform/qt/editing/deleting/5026848-3-expected.txt: Removed.
Location:
trunk/LayoutTests
Files:
2 added
18 deleted
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r87131 r87132  
     12011-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
    1332011-05-23  Gabor Loki  <loki@webkit.org>
    234
  • trunk/LayoutTests/editing/deleting/5026848-2.html

    r20707 r87132  
     1<!DOCTYPE html>
    12<html>
    23<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>
    45<div id="div" contenteditable="true">
    56<table contenteditable="false">
     
    1314</div>
    1415
     16<script src="../../resources/dump-as-markup.js"></script>
    1517<script>
    1618var sel = window.getSelection();
     
    1921sel.setBaseAndExtent(start, 0, end, 0);
    2022document.execCommand("Delete");
     23Markup.description(description.textContent);
     24Markup.dump("div");
    2125</script>
    2226
  • trunk/LayoutTests/editing/deleting/5026848-3.html

    r20707 r87132  
     1<!DOCTYPE html>
    12<html>
    23<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>
    45<div id="div" contenteditable="true">
    56<table border="1" contenteditable="false">
     
    1516</div>
    1617
     18<script src="../../resources/dump-as-markup.js"></script>
    1719<script>
    1820var sel = window.getSelection();
     
    2123sel.setBaseAndExtent(start, 0, end, 0);
    2224document.execCommand("Delete");
     25Markup.description(description.textContent);
     26Markup.dump("div");
    2327</script>
    2428
Note: See TracChangeset for help on using the changeset viewer.