Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / pasteboard / pasting-object.html
blob05fe9f11b9f0e802cc9854bd05f24f8943197fc1
1 <script>
2 if (window.testRunner)
3 testRunner.dumpEditingCallbacks();
4 </script>
5 <body>
6 <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>
7 <div id="test" contenteditable="true">Hello World!</div>
8 </body>
10 <script>
11 if (window.internals)
12 internals.settings.setEditingBehavior('mac');
13 var s = window.getSelection();
14 s.collapse(document.getElementById("test"), 0);
16 s.modify("move", "forward", "word");
18 document.execCommand("InsertHTML", false, "<object style='border: 1px solid #aaa;'></object>");
19 </script>