Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / pasteboard / paste-blockquote-1.html
blob9cfab6607e00fb3211c2fc17a4dd855ad2506b4a
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <style>
5 blockquote {
6 color: blue;
7 border-left: 2px solid blue;
8 margin: 0px;
9 padding: 0 0 0 20px;
11 </style>
12 </head>
13 <body>
14 <div id="div" contenteditable="true"></div>
15 <script src="../../resources/dump-as-markup.js"></script>
16 <script>
17 var sel = window.getSelection();
18 var div = document.getElementById("div");
20 sel.collapse(div, 0);
21 document.execCommand("InsertHTML", false, "<blockquote type='cite'>This should be blockquoted.</blockquote>");
23 Markup.description('This tests pasting a blockquote into an empty paragraph.');
24 Markup.dump('div');
26 </script>
27 </body>
28 </html>