Title: [87532] trunk/LayoutTests/platform/chromium-win/editing/pasteboard
Revision
87532
Author
rn...@webkit.org
Date
2011-05-27 11:56:21 -0700 (Fri, 27 May 2011)

Log Message

Add paste-pre-001-expected.txt and paste-pre-002-expected.txt for chromium-win forgotten in the previous commit.

Added Paths

Diff

Added: trunk/LayoutTests/platform/chromium-win/editing/pasteboard/paste-pre-001-expected.txt (0 => 87532)


--- trunk/LayoutTests/platform/chromium-win/editing/pasteboard/paste-pre-001-expected.txt	                        (rev 0)
+++ trunk/LayoutTests/platform/chromium-win/editing/pasteboard/paste-pre-001-expected.txt	2011-05-27 18:56:21 UTC (rev 87532)
@@ -0,0 +1,10 @@
+Tests: 
+Copying and pasting content inside of a PRE tag. This test was created after fixing 3918056.
+Expected Results: 
+The PRE tag and the formatting of the text inside of the PRE should be maintained. Should see this content in the red box below:
+foo
+bar
+foo
+bar
+execCutCommand: <div id="test" class="editing"> <pre><br></pre> </div>
+execPasteCommand: <div id="test" class="editing"> <pre><span class="Apple-style-span" style="font-family: 'times new roman'; white-space: normal; "><pre>foo bar</pre></span></pre> </div>

Added: trunk/LayoutTests/platform/chromium-win/editing/pasteboard/paste-pre-002-expected.txt (0 => 87532)


--- trunk/LayoutTests/platform/chromium-win/editing/pasteboard/paste-pre-002-expected.txt	                        (rev 0)
+++ trunk/LayoutTests/platform/chromium-win/editing/pasteboard/paste-pre-002-expected.txt	2011-05-27 18:56:21 UTC (rev 87532)
@@ -0,0 +1,5 @@
+This is a layout test for rdar://problem/4370209 "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.
+foo
+bar
+execCopyCommand: <div id="test" class="editing"> <pre>foo bar</pre> </div>
+execPasteCommand: <div id="test" class="editing"> <pre><span class="Apple-style-span" style="font-family: 'times new roman'; white-space: normal; "><pre>foo bar</pre></span></pre> </div>
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to