Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / execCommand / 5658933-3.html
blobf794392f62a3d70ba0caea63ec19554a90085cd4
1 <div id="description">This tests to see if indenting several paragraphs inside different table cells puts them into a single cell, as in FireFox (wrong) or indents each paragraph (correct).</div>
2 <div id="edit" contenteditable="true">
3 <table border="1"><tr><td id="start">hello</td><td id="end">world</td></tr></table>
4 </div>
6 <script>
7 if (window.testRunner)
8 window.testRunner.dumpAsText();
10 start = document.getElementById("start");
11 end = document.getElementById("end");
12 window.getSelection().setBaseAndExtent(start, 0, end, end.childNodes.length);
13 document.execCommand("Indent");
15 document.body.innerText = document.getElementById("description").innerText + "\n" + document.getElementById("edit").innerHTML;
16 </script>