Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / execCommand / 5658933-2.html
blobaee40399dc76ab378000e95c15b6773f8b81005e
1 <div id="description">This tests to see if indenting inside a table cell breaks the table structure. The indented blockquote should be placed inside the table cell where the Indent operation was performed and the table structure should remain unchanged.</div>
2 <div id="edit" contenteditable="true">
3 <table border="1"><tr><td id="td">hello</td></tr></table>
4 </div>
6 <script>
7 if (window.testRunner)
8 window.testRunner.dumpAsText();
10 td = document.getElementById("td");
11 text = td.firstChild;
12 window.getSelection().collapse(text, 1);
13 document.execCommand("Indent");
15 document.body.innerText = document.getElementById("description").innerText + "\n" + document.getElementById("edit").innerHTML;
16 </script>