blob: 9b70a7fd731c70db3fa770269691ba3335f67997 [file] [log] [blame]
<!DOCTYPE html>
<html>
<body>
<p id="description">This tests deleting line break before address.
WebKit should not cancel styles added by address by those of document's default style.</p>
<div id="test" contenteditable>
hello
<address>world</address>
</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');
}
runDumpAsTextEditingTest(true);
</script>
</body>
</html>