Changeset 86716 in webkit


Ignore:
Timestamp:
May 17, 2011 4:10:14 PM (13 years ago)
Author:
rniwa@webkit.org
Message:

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

Reviewed by Enrica Casucci.

editing/pasteboard/paste-blockquote-2.html and paste-blockquote-3.html should be dump-as-markup tests
https://bugs.webkit.org/show_bug.cgi?id=60998

Converted the tests.

  • editing/pasteboard/paste-blockquote-2-expected.txt: Added.
  • editing/pasteboard/paste-blockquote-2.html:
  • editing/pasteboard/paste-blockquote-3-expected.txt: Added.
  • editing/pasteboard/paste-blockquote-3.html:
  • platform/chromium-linux/editing/pasteboard/paste-blockquote-2-expected.png: Removed.
  • platform/chromium-linux/editing/pasteboard/paste-blockquote-3-expected.png: Removed.
  • platform/chromium-mac-leopard/editing/pasteboard/paste-blockquote-2-expected.png: Removed.
  • platform/chromium-mac-leopard/editing/pasteboard/paste-blockquote-3-expected.png: Removed.
  • platform/chromium-mac/editing/pasteboard/paste-blockquote-2-expected.png: Removed.
  • platform/chromium-mac/editing/pasteboard/paste-blockquote-3-expected.png: Removed.
  • platform/chromium-win/editing/pasteboard/paste-blockquote-2-expected.png: Removed.
  • platform/chromium-win/editing/pasteboard/paste-blockquote-2-expected.txt: Removed.
  • platform/chromium-win/editing/pasteboard/paste-blockquote-3-expected.png: Removed.
  • platform/chromium-win/editing/pasteboard/paste-blockquote-3-expected.txt: Removed.
  • platform/gtk/editing/pasteboard/paste-blockquote-2-expected.txt: Removed.
  • platform/gtk/editing/pasteboard/paste-blockquote-3-expected.txt: Removed.
  • platform/mac-leopard/editing/pasteboard/paste-blockquote-3-expected.png: Removed.
  • platform/mac/editing/pasteboard/paste-blockquote-2-expected.png: Removed.
  • platform/mac/editing/pasteboard/paste-blockquote-2-expected.txt: Removed.
  • platform/mac/editing/pasteboard/paste-blockquote-3-expected.png: Removed.
  • platform/mac/editing/pasteboard/paste-blockquote-3-expected.txt: Removed.
  • platform/qt/editing/pasteboard/paste-blockquote-2-expected.txt: Removed.
  • platform/qt/editing/pasteboard/paste-blockquote-3-expected.txt: Removed.
Location:
trunk/LayoutTests
Files:
2 added
19 deleted
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r86715 r86716  
     12011-05-17  Ryosuke Niwa  <rniwa@webkit.org>
     2
     3        Reviewed by Enrica Casucci.
     4
     5        editing/pasteboard/paste-blockquote-2.html and paste-blockquote-3.html should be dump-as-markup tests
     6        https://bugs.webkit.org/show_bug.cgi?id=60998
     7
     8        Converted the tests.
     9
     10        * editing/pasteboard/paste-blockquote-2-expected.txt: Added.
     11        * editing/pasteboard/paste-blockquote-2.html:
     12        * editing/pasteboard/paste-blockquote-3-expected.txt: Added.
     13        * editing/pasteboard/paste-blockquote-3.html:
     14        * platform/chromium-linux/editing/pasteboard/paste-blockquote-2-expected.png: Removed.
     15        * platform/chromium-linux/editing/pasteboard/paste-blockquote-3-expected.png: Removed.
     16        * platform/chromium-mac-leopard/editing/pasteboard/paste-blockquote-2-expected.png: Removed.
     17        * platform/chromium-mac-leopard/editing/pasteboard/paste-blockquote-3-expected.png: Removed.
     18        * platform/chromium-mac/editing/pasteboard/paste-blockquote-2-expected.png: Removed.
     19        * platform/chromium-mac/editing/pasteboard/paste-blockquote-3-expected.png: Removed.
     20        * platform/chromium-win/editing/pasteboard/paste-blockquote-2-expected.png: Removed.
     21        * platform/chromium-win/editing/pasteboard/paste-blockquote-2-expected.txt: Removed.
     22        * platform/chromium-win/editing/pasteboard/paste-blockquote-3-expected.png: Removed.
     23        * platform/chromium-win/editing/pasteboard/paste-blockquote-3-expected.txt: Removed.
     24        * platform/gtk/editing/pasteboard/paste-blockquote-2-expected.txt: Removed.
     25        * platform/gtk/editing/pasteboard/paste-blockquote-3-expected.txt: Removed.
     26        * platform/mac-leopard/editing/pasteboard/paste-blockquote-3-expected.png: Removed.
     27        * platform/mac/editing/pasteboard/paste-blockquote-2-expected.png: Removed.
     28        * platform/mac/editing/pasteboard/paste-blockquote-2-expected.txt: Removed.
     29        * platform/mac/editing/pasteboard/paste-blockquote-3-expected.png: Removed.
     30        * platform/mac/editing/pasteboard/paste-blockquote-3-expected.txt: Removed.
     31        * platform/qt/editing/pasteboard/paste-blockquote-2-expected.txt: Removed.
     32        * platform/qt/editing/pasteboard/paste-blockquote-3-expected.txt: Removed.
     33
    1342011-05-17  Ryosuke Niwa  <rniwa@webkit.org>
    235
  • trunk/LayoutTests/editing/pasteboard/paste-blockquote-2.html

    r17832 r86716  
     1<!DOCYTPE html>
     2<html>
     3<head>
    14<style>
    25blockquote {
     
    710}
    811</style>
     12</head>
     13<body>
     14<div id="div" contenteditable="true">&nbsp;This should not be blockquoted.</div>
     15<script src="../../resources/dump-as-markup.js"></script>
     16<script>
     17Markup.description("This tests pasting a blockquote at the start of a paragraph.");
    918
    10 <p>This tests pasting a blockquote at the start of a paragraph.</p>
    11 <div id="div" contenteditable="true">&nbsp;This should not be blockquoted.</div>
    12 
    13 <script>
    1419var sel = window.getSelection();
    1520var div = document.getElementById("div");
     
    1722sel.setPosition(div, 0);
    1823document.execCommand("InsertHTML", false, "<blockquote type='cite'>This should not be blockquoted.</blockquote>");
     24
     25Markup.dump('div');
     26
    1927</script>
     28</body>
     29</html>
  • trunk/LayoutTests/editing/pasteboard/paste-blockquote-3.html

    r17832 r86716  
     1<!DOCTYPE html>
     2<html>
     3<head>
    14<style>
    25blockquote {
     
    710}
    811</style>
     12</head>
     13<body>
     14<div id="div" contenteditable="true">This should not be blockquoted. This should not be blockquoted.</div>
     15<script src="../../resources/dump-as-markup.js"></script>
     16<script>
    917
    10 <p>This tests pasting a blockquote into the middle of a paragraph.</p>
    11 <div id="div" contenteditable="true">This should not be blockquoted. This should not be blockquoted.</div>
     18Markup.description("This tests pasting a blockquote into the middle of a paragraph.");
    1219
    13 <script>
    1420var sel = window.getSelection();
    1521var div = document.getElementById("div");
     
    2329sel.modify("move", "forward", "character");
    2430document.execCommand("InsertHTML", false, "<blockquote type='cite'>&nbsp;This should not be blockquoted.<br>This should be blockquoted.<br>This should not be blockquoted.</blockquote>");
     31
     32Markup.dump('div');
    2533</script>
     34</body>
     35</html>
Note: See TracChangeset for help on using the changeset viewer.