Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / execCommand / 4786404-1.html
blob8af47ed2b73d1552157003b67cafbaa9db5f3c86
1 <!DOCTYPE html>
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>
6 <script>
8 var div = document.getElementById("div");
9 div.focus();
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');
17 </script>
18 </body>
19 </html>