2 <html style=
"font-weight: bold;">
3 <body style=
"color: #999;">
4 <script src=
"../../resources/dump-as-markup.js"></script>
5 <div id=
"container"><div id=
"div" contenteditable=
"true" style=
"font-weight: normal; color: black;">foo
<i>bar
</i> baz
</div></div>
8 var div
= document
.getElementById("div");
11 document
.execCommand("SelectAll");
12 document
.execCommand("RemoveFormat");
14 Markup
.description('This tests for a bug where performing the Remove Format operation on content would apply the document\'s style to it, not the editable regions default style. "foo bar baz" should not be bold, and should be black.');
15 Markup
.dump('container');