Title: [92539] trunk/LayoutTests
- Revision
- 92539
- Author
- [email protected]
- Date
- 2011-08-05 19:07:55 -0700 (Fri, 05 Aug 2011)
Log Message
r92330 has been rolled out so its rebaseline needs to be reverted as well
https://bugs.webkit.org/show_bug.cgi?id=65805
* platform/chromium-win/editing/pasteboard/paste-pre-001-expected.txt: Added.
* platform/chromium-win/editing/pasteboard/paste-pre-002-expected.txt: Added.
* platform/chromium-win/editing/pasteboard/paste-text-011-expected.txt: Added.
Modified Paths
Added Paths
Diff
Modified: trunk/LayoutTests/ChangeLog (92538 => 92539)
--- trunk/LayoutTests/ChangeLog 2011-08-06 02:00:52 UTC (rev 92538)
+++ trunk/LayoutTests/ChangeLog 2011-08-06 02:07:55 UTC (rev 92539)
@@ -1,3 +1,12 @@
+2011-08-05 Ryosuke Niwa <[email protected]>
+
+ r92330 has been rolled out so its rebaseline needs to be reverted as well
+ https://bugs.webkit.org/show_bug.cgi?id=65805
+
+ * platform/chromium-win/editing/pasteboard/paste-pre-001-expected.txt: Added.
+ * platform/chromium-win/editing/pasteboard/paste-pre-002-expected.txt: Added.
+ * platform/chromium-win/editing/pasteboard/paste-text-011-expected.txt: Added.
+
2011-08-05 Sheriff Bot <[email protected]>
Unreviewed, rolling out r92330.
Added: trunk/LayoutTests/platform/chromium-win/editing/pasteboard/paste-pre-001-expected.txt (0 => 92539)
--- 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-08-06 02:07:55 UTC (rev 92539)
@@ -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 => 92539)
--- 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-08-06 02:07:55 UTC (rev 92539)
@@ -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>
Added: trunk/LayoutTests/platform/chromium-win/editing/pasteboard/paste-text-011-expected.txt (0 => 92539)
--- trunk/LayoutTests/platform/chromium-win/editing/pasteboard/paste-text-011-expected.txt (rev 0)
+++ trunk/LayoutTests/platform/chromium-win/editing/pasteboard/paste-text-011-expected.txt 2011-08-06 02:07:55 UTC (rev 92539)
@@ -0,0 +1,49 @@
+EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 0 of P > BODY > HTML > #document to 0 of P > BODY > HTML > #document toDOMRange:range from 0 of #text > B > FONT > P > BODY > HTML > #document to 5 of #text > B > FONT > P > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 5 of #text > B > FONT > P > BODY > HTML > #document to 5 of #text > B > FONT > P > BODY > HTML > #document toDOMRange:range from 0 of P > BODY > HTML > #document to 0 of P > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
+EDITING DELEGATE: shouldInsertNode:#document-fragment replacingDOMRange:range from 0 of P > BODY > HTML > #document to 0 of P > BODY > HTML > #document givenAction:WebViewInsertActionPasted
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: shouldChangeSelectedDOMRange:(null) toDOMRange:range from 5 of #text > B > FONT > P > SPAN > B > FONT > P > BODY > HTML > #document to 5 of #text > B > FONT > P > SPAN > B > FONT > P > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+There was a bug when pasting at the end of the block.
+The content was inserted at the start of the block instead of the end. This tests the insert-at-end case.
+| "
+"
+| <p>
+| <font>
+| face="Monaco"
+| <b>
+| "hello"
+| "
+"
+| <p>
+| <font>
+| face="Monaco"
+| <b>
+| "there"
+| <p>
+| <font>
+| face="Monaco"
+| <b>
+| <span>
+| class="Apple-style-span"
+| style="font-family: 'times new roman'; font-weight: normal; "
+| <p>
+| <font>
+| face="Monaco"
+| <b>
+| "hello"
+| <p>
+| <font>
+| face="Monaco"
+| <b>
+| "there<#selection-caret>"
+| "
+
+
+"
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes