Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / execCommand / 5432254-1.html
blob0ae72d9f6c011f41b09266e2f34da56c26fcea8a
1 <p>This tests for a deletion bug. Only the second paragraph inside the table should be deleted. You should see a table with 'foo' in it below.</p>
2 <div id="div" contenteditable="true"><table id="table" border="1"><tr><td id="td"><div>foo</div>bar</td></tr></table></div>
3 <p id="console"></p>
5 <script>
7 if (window.testRunner)
8 testRunner.dumpAsText();
10 function log(message) {
11 var console = document.getElementById("console");
12 var text = document.createTextNode(message);
13 console.appendChild(text);
16 table = document.getElementById("table");
17 td = document.getElementById("td");
18 text = td.firstChild.nextSibling;
19 s = window.getSelection();
20 s.setBaseAndExtent(text, 0, table, 1);
21 document.execCommand("Delete");
23 log(document.getElementById('div').innerHTML);
25 </script>