blob: da283353749bbef05d59cc22ed1ad673998eb819 [file] [log] [blame]
<!DOCTYPE html>
<html>
<body>
<div id="test" contenteditable><blockquote type="cite"><b>line 1 <br></b>&nbsp;</blockquote></div>
<script src="../../resources/dump-as-markup.js"></script>
<script>
Markup.description('This test ensures WebKit does not crash when pasting content immediately after an inline style element.\n'
+ 'This test exhibits a bug. The inserted content should be on a separate line but it is not.');
window.getSelection().setPosition(document.getElementById('test').firstChild, 1);
document.execCommand('InsertHTML', false, '<blockquote type="cite">line 2</blockquote>');
Markup.dump('test');
</script>
</body>
</html>