blob: 43bc4da3f4920e9d53fb1776f05d223f3486a26a [file] [log] [blame]
<!DOCTYPE html>
<html>
<body>
<p id="description">This tests deleting line break before listing.
WebKit should not cancel styles added by listing by those of document's default style.</p>
<div id="test" contenteditable>
hello
<listing>world</listing>
</div>
</div>
<script src="../editing.js"></script>
<script src="../../resources/dump-as-markup.js"></script>
<script>
function editingTest() {
moveSelectionForwardByLineCommand();
deleteCommand();
Markup.description(document.getElementById('description').textContent);
Markup.dump('test');
}
runEditingTest();
</script>
</body>
</html>