Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / selection / editable-html-element.html
blob8011318dec6d1aec82f552276a1c99244e7ac2df
1 <html contenteditable="true" id="test">
2 <script>
3 if (window.testRunner)
4 testRunner.dumpEditingCallbacks();
5 </script>
7 <script>
8 function runTest() {
9 var s = window.getSelection();
10 var e = document.getElementById("test");
12 e.focus();
13 document.execCommand("InsertText", false, "\t");
14 document.execCommand("InsertText", false, "This tests to see where the selection is set when an html element is focused.");
15 document.execCommand("InsertHTML", false, "<br>We set it inside the body because we don't want to allow editing outside the body. This test also does some editing to make sure it happens in the body.");
17 </script>
18 <body onLoad="runTest();">
19 </body>
20 </html>