19 lines
643 B
HTML
19 lines
643 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<body>
|
|
<div id="test" contenteditable><blockquote type="cite"><b>line 1 <br></b> </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>
|