4 <script src=
"../../resources/dump-as-markup.js"></script>
5 <div id=
"container"><div id=
"div" contenteditable=
"true"><u>foo
</u> bar baz
</div></div>
7 var div
= document
.getElementById("div");
10 document
.execCommand("SelectAll");
11 document
.execCommand("RemoveFormat");
13 Markup
.description('This tests for a bug where performing the Remove Format operation on a selection that started in underlined content would underline everything operated on. "foo bar baz" should not have underline.');
14 Markup
.dump('container');