10 border: 2px solid blue;
15 .scenario { margin-bottom: 16px;}
16 .scenario:first-line { font-weight: bold; margin-bottom: 16px;}
17 .expected-results:first-line { font-weight: bold }
19 <script src=../editing.js language="JavaScript" type="text/JavaScript" ></script>
22 function log(message) {
23 var console = document.getElementById("console");
24 var li = document.createElement("li");
25 var text = document.createTextNode(message);
27 console.appendChild(li);
30 function editingTest() {
31 execSelectAllCommand();
39 <title>Editing Test</title>
42 Problem: copy/pasting some HTML including tables can give rise to a <div> element as the first child of the table element. This is invalid.
43 <div contenteditable id="root">
44 <div id="test" class="editing">
47 <div style="text-align: center" >
48 <table><tr><td>foo</td><td>bar</td></tr></table>
60 if (window.testRunner)
61 testRunner.dumpAsText();