upload tizen1.0 source
[framework/web/webkit-efl.git] / LayoutTests / editing / execCommand / 5658933-2.html
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>
5
6 <script>
7 if (window.layoutTestController)
8     window.layoutTestController.dumpAsText();
9     
10 td = document.getElementById("td");
11 text = td.firstChild;
12 window.getSelection().setPosition(text, 1);
13 document.execCommand("Indent");
14
15 document.body.innerText = document.getElementById("description").innerText + "\n" + document.getElementById("edit").innerHTML;
16 </script>