- add third_party src.
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / editing / pasteboard / paste-blockquote-into-blockquote-4.html
1 <html>
2 <head>
3 <style>
4 blockquote {
5     color: blue;
6     border-left: 2px solid blue;
7     margin: 0px;
8     padding: 0 0 0 20px;
9 }
10 </style>
11 </head>
12
13 <body>
14 <p>This test passes if nothing is double-quoted, and "Two" and "Four" aren't quoted at all.</p>
15 <div contenteditable="true"><blockquote type='cite' id="block">Paste<br>Here</blockquote></div>
16
17 <script>
18 var sel = window.getSelection();
19 var block = document.getElementById("block");
20
21 sel.setPosition(block, 3);
22 document.execCommand("InsertHTML", false, "<blockquote type='cite'>One</blockquote>Two<blockquote type='cite'>Three</blockquote>Four");
23 </script>
24 </body>
25 </html>