Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / style / designmode.html
blob645d25adefa2ed8a2bc1b435451508a279d1bdf1
1 <script>
2 if (window.testRunner)
3 testRunner.dumpEditingCallbacks();
4 </script>
5 <p>This tests to make sure that rich editing commands like Bold can be performed on text in a document in design mode.</p>
6 <div id="test">This text should be bold.</div>
8 <script>
9 document.designMode = "on";
10 var s = window.getSelection();
11 var e = document.getElementById("test");
12 s.setBaseAndExtent(e, 0, e, e.childNodes.length);
13 document.execCommand("Bold");
14 </script>