Changeset 87468 in webkit


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

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

Reviewed by Eric Seidel.

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

Renamed 5027857.html to paste-code-in-pre.html and converted it to a dump-as-markup test.

  • editing/pasteboard/5027857.html: Removed.
  • editing/pasteboard/paste-code-in-pre-expected.txt: Added.
  • editing/pasteboard/paste-code-in-pre.html: Copied from LayoutTests/editing/pasteboard/5027857.html.
  • platform/chromium-linux/editing/pasteboard/5027857-expected.png: Removed.
  • platform/chromium-win/editing/pasteboard/5027857-expected.png: Removed.
  • platform/chromium-win/editing/pasteboard/5027857-expected.txt: Removed.
  • platform/chromium-win/editing/pasteboard/paste-code-in-pre-expected.txt: Added.
  • platform/gtk/editing/pasteboard/5027857-expected.png: Removed.
  • platform/gtk/editing/pasteboard/5027857-expected.txt: Removed.
  • platform/mac-leopard/editing/pasteboard/5027857-expected.png: Removed.
  • platform/mac/editing/pasteboard/5027857-expected.png: Removed.
  • platform/mac/editing/pasteboard/5027857-expected.txt: Removed.
  • platform/qt/editing/pasteboard/5027857-expected.txt: Removed.
Location:
trunk/LayoutTests
Files:
2 added
9 deleted
1 edited
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

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

    r87467 r87468  
    1 <p>This tests a bug when copying HTML markup inside &lt;pre&gt; tags.  When pasted, this content would appear as the rendered form of that markup.  You should see markup in the editable region below.</p>
    2 <pre id="pre" contenteditable="true">&lt;input type='button'&gt;foo&lt;br&gt;bar&lt;b&gt;baz&lt;/b&gt;</pre>
     1<!DOCTYPE html>
     2<html>
     3<body>
     4<p>This tests a bug when copying HTML markup inside &lt;pre&gt; tags. When pasted, this content would appear as the rendered form of that markup.
     5You should see markup in the editable region below. See &lt;rdar://5027857&gt;.</p>
     6<div><pre id="pre" contenteditable="true">&lt;input type='button'&gt;foo&lt;br&gt;bar&lt;b&gt;baz&lt;/b&gt;</pre></div>
     7<script src="../../resources/dump-as-markup.js"></script>
     8<script>
    39
    4 <script>
    510var pre = document.getElementById("pre");
    611pre.focus();
     
    813document.execCommand("Cut");
    914document.execCommand("Paste");
     15
     16Markup.description(document.getElementsByTagName('p')[0].textContent);
     17Markup.dump(pre.parentNode);
     18
    1019</script>
     20</body>
     21</html>
Note: See TracChangeset for help on using the changeset viewer.