upload tizen1.0 source
[framework/web/webkit-efl.git] / LayoutTests / editing / execCommand / 5483526.html
1 <p>This tests for a hang when making a list out of a selection containing a table with empty cells.  There should be three list items below, one with a table and two empty.</p>
2 <div id="div" contenteditable="true">
3 <div>
4     <div>
5         <table border="1">
6         <tr><td>1</td><td>2</td><td>3</td></tr>
7         <tr><td></td><td></td><td></td></tr>
8         </table>
9         <br>
10     </div>
11     <div><br></div>
12     <div><br></div>
13 </div>
14 </div>
15
16 <script>
17 if (window.layoutTestController)
18     window.layoutTestController.dumpAsText();
19     
20 document.getElementById("div");
21 div.focus();
22 document.execCommand("SelectAll");
23 document.execCommand("InsertUnorderedList");
24 </script>