Changeset 87531 in webkit


Ignore:
Timestamp:
May 27, 2011 11:52:59 AM (13 years ago)
Author:
rniwa@webkit.org
Message:

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

Reviewed by Kent Tamura.

Convert editing/pasteboard/paste-pre-001.html and paste-pre-002.html to dump-as-markup tests
https://bugs.webkit.org/show_bug.cgi?id=61610

Converted paste-pre-001.html and paste-pre-002.html to dump-as-markup tests.

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

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r87526 r87531  
     12011-05-27  Ryosuke Niwa  <rniwa@webkit.org>
     2
     3        Reviewed by Kent Tamura.
     4
     5        Convert editing/pasteboard/paste-pre-001.html and paste-pre-002.html to dump-as-markup tests
     6        https://bugs.webkit.org/show_bug.cgi?id=61610
     7
     8        Converted paste-pre-001.html and paste-pre-002.html to dump-as-markup tests.
     9
     10        * editing/pasteboard/paste-pre-001-expected.txt: Added.
     11        * editing/pasteboard/paste-pre-001.html:
     12        * editing/pasteboard/paste-pre-002-expected.txt: Added.
     13        * editing/pasteboard/paste-pre-002.html:
     14        * platform/chromium-linux/editing/pasteboard/paste-pre-001-expected.png: Removed.
     15        * platform/chromium-linux/editing/pasteboard/paste-pre-002-expected.png: Removed.
     16        * platform/chromium-win/editing/pasteboard/paste-pre-001-expected.png: Removed.
     17        * platform/chromium-win/editing/pasteboard/paste-pre-001-expected.txt:
     18        * platform/chromium-win/editing/pasteboard/paste-pre-002-expected.png: Removed.
     19        * platform/chromium-win/editing/pasteboard/paste-pre-002-expected.txt:
     20        * platform/gtk/editing/pasteboard/paste-pre-001-expected.png: Removed.
     21        * platform/gtk/editing/pasteboard/paste-pre-001-expected.txt: Removed.
     22        * platform/gtk/editing/pasteboard/paste-pre-002-expected.png: Removed.
     23        * platform/gtk/editing/pasteboard/paste-pre-002-expected.txt: Removed.
     24        * platform/mac-leopard/editing/pasteboard/paste-pre-002-expected.png: Removed.
     25        * platform/mac/editing/pasteboard/paste-pre-001-expected.png: Removed.
     26        * platform/mac/editing/pasteboard/paste-pre-001-expected.txt: Removed.
     27        * platform/mac/editing/pasteboard/paste-pre-002-expected.png: Removed.
     28        * platform/mac/editing/pasteboard/paste-pre-002-expected.txt: Removed.
     29        * platform/qt/editing/pasteboard/paste-pre-001-expected.png: Removed.
     30        * platform/qt/editing/pasteboard/paste-pre-001-expected.txt: Removed.
     31        * platform/qt/editing/pasteboard/paste-pre-002-expected.png: Removed.
     32        * platform/qt/editing/pasteboard/paste-pre-002-expected.txt: Removed.
     33
    1342011-05-27  Nikolas Zimmermann  <nzimmermann@rim.com>
    235
  • trunk/LayoutTests/editing/pasteboard/paste-pre-001.html

    r11995 r87531  
     1<!DOCTYPE html>
    12<html>
    23<head>
    3 
    44<style>
    55.editing {
     
    1717.expected-results:first-line { font-weight: bold }
    1818</style>
    19 <script src=../editing.js language="JavaScript" type="text/JavaScript" ></script>
    20 
    21 <script>
    22 
    23 function editingTest() {
    24     extendSelectionForwardByLineCommand();
    25     extendSelectionForwardByLineCommand();
    26     cutCommand();
    27     pasteCommand();
    28 }
    29 
    30 </script>
    31 
    32 <title>Editing Test</title>
    3319</head>
    3420<body>
    35 
    3621<div class="explanation">
    3722<div class="scenario">
     
    5540</div>
    5641</div>
     42<script src="../editing.js"></script>
     43<script>
    5744
    58 <script>
    59 runEditingTest();
     45function editingTest() {
     46    extendSelectionForwardByLineCommand();
     47    extendSelectionForwardByLineCommand();
     48    cutCommand();
     49    pasteCommand();
     50}
     51
     52runDumpAsTextEditingTest();
    6053</script>
    61 
    6254</body>
    6355</html>
  • trunk/LayoutTests/editing/pasteboard/paste-pre-002.html

    r11995 r87531  
    1 <html>
    2 <head>
    3 
    4 <script src=../editing.js language="JavaScript" type="text/JavaScript" ></script>
    5 
     1<!DOCTYPE html>
     2<html>
     3<body>
     4<div class="explanation">
     5This is a layout test for <a href="rdar://problem/4370209">rdar://problem/4370209</a> "Reproducible crash when pasting over whitespace:pre text".
     6The text below is selected, copied, and pasted over itself.  You'll see foo/nbar if successful.
     7</div>
     8<div contenteditable id="root" style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space;">
     9<div id="test" class="editing">
     10<pre>foo
     11bar</pre>
     12</div>
     13</div>
     14<script src="../editing.js"></script>
    615<script>
    716
     
    1221}
    1322
     23runDumpAsTextEditingTest();
    1424</script>
    15 
    16 <title>Editing Test</title>
    17 </head>
    18 <body>
    19 
    20 <div>
    21 This is a layout test for <a href="rdar://problem/4370209">rdar://problem/4370209</a> "Reproducible crash when pasting over whitespace:pre text".  The text below is selected, copied, and pasted over itself.  You'll see foo/nbar if successful.
    22 </div>
    23 
    24 <div contenteditable id="root" style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space;">
    25 <div id="test" class="editing">
    26 <pre>foo
    27 bar</pre>
    28 </div>
    29 </div>
    30 
    31 <script>
    32 runEditingTest();
    33 </script>
    34 
    3525</body>
    3626</html>
Note: See TracChangeset for help on using the changeset viewer.