blob: 61314b30d86fb98ee84abd65915d63be538994da [file] [log] [blame]
<!DOCTYPE html>
<html>
<body>
<div id="test" contenteditable>
<div><font face="monospace">hello world</font></div><div><font face="monospace">WebKit</font></div>
</div>
<script src="../../resources/dump-as-markup.js"></script>
<script>
Markup.description('This tests deleting a line break between paragraphs with the same inline style.'
+ ' Inline style should be preserved after the merge.');
document.getElementById('test').focus();
window.getSelection().modify('move', 'forward', 'line');
document.execCommand('Delete');
Markup.dump('test');
</script>
</body>
</html>