+2006-06-30 Justin Garcia <justin.garcia@apple.com>
+
+ Reviewed by levi
+
+ * editing/pasteboard/pasting-object-expected.checksum: Added.
+ * editing/pasteboard/pasting-object-expected.png: Added.
+ * editing/pasteboard/pasting-object-expected.txt: Added.
+ * editing/pasteboard/pasting-object.html: Added.
+
2006-06-30 Justin Garcia <justin.garcia@apple.com>
Reviewed by harrison
--- /dev/null
+EDITING DELEGATE: shouldBeginEditingInDOMRange:range from 0 of DIV > BODY > HTML > #document to 1 of DIV > BODY > HTML > #document
+EDITING DELEGATE: webViewDidBeginEditing:WebViewDidBeginEditingNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: shouldChangeSelectedDOMRange:(null) toDOMRange:range from 2 of DIV > BODY > HTML > #document to 2 of DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
+layer at (0,0) size 800x600
+ RenderView at (0,0) size 800x600
+layer at (0,0) size 800x600
+ RenderBlock {HTML} at (0,0) size 800x600
+ RenderBody {BODY} at (8,8) size 784x584
+ RenderBlock {P} at (0,0) size 784x36
+ RenderText {#text} at (0,0) size 757x36
+ text run at (0,0) width 757: "This tests for a bug where attachments dragged into Mail documents blew all content after the position being pasted into."
+ text run at (0,18) width 319: "You should see \"Hello[black box] World!\" below."
+ RenderBlock {DIV} at (0,52) size 784x156
+ RenderText {#text} at (0,138) size 35x18
+ text run at (0,138) width 35: "Hello"
+ RenderPartObject {OBJECT} at (35,0) size 302x152 [border: (1px solid #AAAAAA)]
+ RenderText {#text} at (337,138) size 49x18
+ text run at (337,138) width 49: " World!"
+caret: position 1 of child 1 {OBJECT} of child 3 {DIV} of child 0 {BODY} of child 0 {HTML} of document
--- /dev/null
+<body>
+<p>This tests for a bug where attachments dragged into Mail documents blew all content after the position being pasted into. You should see "Hello[black box] World!" below.</p>
+<div id="test" contenteditable="true">Hello World!</div>
+</body>
+
+<script>
+var s = window.getSelection();
+s.setPosition(document.getElementById("test"), 0);
+
+s.modify("move", "forward", "word");
+</script>
\ No newline at end of file