blob: 04d1a5aeea740caa392259726c36eb3f9fb24d4b [file] [log] [blame]
<html>
<body>
<p>This tests for a bug where performing the Remove Format operation on a selection that started in underlined content would underline everything operated on.</p>
<div id="div" contenteditable="true"><u>foo</u> bar baz</div>
<script>
var div = document.getElementById("div");
div.focus();
document.execCommand("RemoveFormat");
</script>
</body>