blob: a1a4c82db0e6b35745ae5162d982f8e1de144e1b [file] [log] [blame]
<!DOCTYPE html>
<html>
<body>
<script src="../../resources/dump-as-markup.js"></script>
<div id="div" contenteditable="true"><ul><li>foo</li><li>bar</li></ul></div>
<script>
var div = document.getElementById("div");
div.focus();
document.execCommand("SelectAll");
document.execCommand("RemoveFormat");
Markup.description('This tests to make sure that RemoveFormat destroys lists if they are fully selected.'
+ ' However, because the bug 43017 requires WebKit does not destroy lists, "foo" and "bar" should be in a separate list item.');
Markup.dump(div);
</script>
</body>
</html>