Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / editing / pasteboard / merge-start-blockquote.html
1 <script>
2 if (window.testRunner)
3      testRunner.dumpEditingCallbacks();
4 </script>
5 <style>
6 blockquote {
7     border: 1px solid blue;
8 }
9 </style>
10
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>
13
14 <div id="test" contenteditable="true"></div>
15
16 <script>
17 var s = window.getSelection();
18 var e = document.getElementById("test");
19
20 s.collapse(e, 0);
21
22 document.execCommand("InsertHTML", false , "<blockquote type='cite'>bar</blockquote>");
23 </script>