2 if (window.testRunner) {
3 testRunner.dumpAsText();
4 testRunner.dumpEditingCallbacks();
7 <script type="text/javascript" src="../editing.js"></script>
10 <table style="position: relative; z-index: 0;">
13 <font class="Apple-style-span" color="red">
14 <span class="Apple-style-span" style="text-decoration:underline;">
16 <a href="http://www.cantonrep.com/index.php?ID=373537&Category=17&subCategoryID=30" id=r-11i_1119206349>
17 <img src="" width=80 height=80 alt="" border=1>
19 <font size=-2>Canton Repository (subscription)</font>
23 <a href="http://news.google.com/?ned=us&ncl=1119206349&hl=en&topic=s">
24 <b id="test">all 79 news articles</b>
35 </td></tr></tbody></table>
38 var e = document.getElementById("test").firstChild;
39 var s = window.getSelection();
41 setSelectionCommand(e, 5, e, 5);
42 insertHTMLCommand("hello world")