Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / pasteboard / merge-start-blockquote.html
blobe63b0eb0d6ed71fcfdab5d0699d67ee2d66412b5
1 <script>
2 if (window.testRunner)
3 testRunner.dumpEditingCallbacks();
4 </script>
5 <style>
6 blockquote {
7 border: 1px solid blue;
9 </style>
11 <p>This test makes sure that content inside a Mail blockquote in an incoming fragment isn't pulled out of the blockquote during paste.</p>
12 <p><b>You should see 'bar' inside a blockquote (it will have a blue border around it if it is).</b></p>
14 <div id="test" contenteditable="true"></div>
16 <script>
17 var s = window.getSelection();
18 var e = document.getElementById("test");
20 s.collapse(e, 0);
22 document.execCommand("InsertHTML", false , "<blockquote type='cite'>bar</blockquote>");
23 </script>