Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / pasteboard / paste-after-inline-style-element.html
blob4133cd270edb7aae697b459a0a354f860ece6768
1 <!DOCTYPE html>
2 <html>
3 <body>
4 <div id="test" contenteditable><blockquote type="cite"><b>line 1 <br></b>&nbsp;</blockquote></div>
5 <script src="../../resources/dump-as-markup.js"></script>
6 <script>
8 Markup.description('This test ensures WebKit does not crash when pasting content immediately after an inline style element.\n'
9 + 'This test exhibits a bug. The inserted content should be on a separate line but it is not.');
11 window.getSelection().collapse(document.getElementById('test').firstChild, 1);
12 document.execCommand('InsertHTML', false, '<blockquote type="cite">line 2</blockquote>');
14 Markup.dump('test');
16 </script>
17 </body>
18 </html>