Changeset 87472 in webkit


Ignore:
Timestamp:
May 26, 2011 10:33:49 PM (13 years ago)
Author:
rniwa@webkit.org
Message:

2011-05-26 Ryosuke Niwa <rniwa@webkit.org>

Reviewed by Eric Seidel.

editing/pasteboard/4700297.html should be renamed and converted to a dump-as-markup test
https://bugs.webkit.org/show_bug.cgi?id=61595

Renamed 4700297.html to insert-div-text-into-text.html and converted it into a dump-as-markup test.

  • editing/pasteboard/4700297.html: Removed.
  • editing/pasteboard/insert-div-text-into-text-expected.txt: Added.
  • editing/pasteboard/insert-div-text-into-text.html: Copied from LayoutTests/editing/pasteboard/4700297.html.
  • platform/chromium-linux/editing/pasteboard/4700297-expected.png: Removed.
  • platform/chromium-win/editing/pasteboard/4700297-expected.png: Removed.
  • platform/chromium-win/editing/pasteboard/4700297-expected.txt: Removed.
  • platform/gtk/editing/pasteboard/4700297-expected.png: Removed.
  • platform/gtk/editing/pasteboard/4700297-expected.txt: Removed.
  • platform/mac-leopard/editing/pasteboard/4700297-expected.png: Removed.
  • platform/mac/editing/pasteboard/4700297-expected.png: Removed.
  • platform/mac/editing/pasteboard/4700297-expected.txt: Removed.
  • platform/qt/editing/pasteboard/4700297-expected.png: Removed.
  • platform/qt/editing/pasteboard/4700297-expected.txt: Removed.
Location:
trunk/LayoutTests
Files:
1 added
10 deleted
1 edited
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r87471 r87472  
     12011-05-26  Ryosuke Niwa  <rniwa@webkit.org>
     2
     3        Reviewed by Eric Seidel.
     4
     5        editing/pasteboard/4700297.html should be renamed and converted to a dump-as-markup test
     6        https://bugs.webkit.org/show_bug.cgi?id=61595
     7
     8        Renamed 4700297.html to insert-div-text-into-text.html and converted it into a dump-as-markup test.
     9
     10        * editing/pasteboard/4700297.html: Removed.
     11        * editing/pasteboard/insert-div-text-into-text-expected.txt: Added.
     12        * editing/pasteboard/insert-div-text-into-text.html: Copied from LayoutTests/editing/pasteboard/4700297.html.
     13        * platform/chromium-linux/editing/pasteboard/4700297-expected.png: Removed.
     14        * platform/chromium-win/editing/pasteboard/4700297-expected.png: Removed.
     15        * platform/chromium-win/editing/pasteboard/4700297-expected.txt: Removed.
     16        * platform/gtk/editing/pasteboard/4700297-expected.png: Removed.
     17        * platform/gtk/editing/pasteboard/4700297-expected.txt: Removed.
     18        * platform/mac-leopard/editing/pasteboard/4700297-expected.png: Removed.
     19        * platform/mac/editing/pasteboard/4700297-expected.png: Removed.
     20        * platform/mac/editing/pasteboard/4700297-expected.txt: Removed.
     21        * platform/qt/editing/pasteboard/4700297-expected.png: Removed.
     22        * platform/qt/editing/pasteboard/4700297-expected.txt: Removed.
     23
    1242011-05-26  Ryosuke Niwa  <rniwa@webkit.org>
    225
  • trunk/LayoutTests/editing/pasteboard/insert-div-text-into-text.html

    r87471 r87472  
     1<!DOCTYPE>
     2<html>
     3<body>
     4<div id="test" contenteditable="true">There&nbsp; be no line breaks in this sentence.</div>
     5<script src="../../resources/dump-as-markup.js"></script>
    16<script>
     7
    28if (window.layoutTestController)
    3      layoutTestController.dumpEditingCallbacks();
    4 </script>
    5 <div id="test" contenteditable="true">There&nbsp; be no line breaks in this sentence.</div>
     9    layoutTestController.dumpEditingCallbacks();
    610
    7 <script>
     11Markup.description('This tests inserting a text wrapped in a div inside a text node.');
     12
    813var sel = window.getSelection();
    914var e = document.getElementById("test").firstChild;
     
    1318sel.modify("move", "forward", "character");
    1419document.execCommand("InsertHTML", false, "<div>should</div>");
     20
     21Markup.dump('test');
    1522</script>
     23</body>
     24</html>
Note: See TracChangeset for help on using the changeset viewer.