Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / editing / pasteboard / paste-after-inline-style-element.html
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>
7
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.');
10
11 window.getSelection().collapse(document.getElementById('test').firstChild, 1);
12 document.execCommand('InsertHTML', false, '<blockquote type="cite">line 2</blockquote>');
13
14 Markup.dump('test');
15
16 </script>
17 </body>
18 </html>