[WK2] selection does not disappear after coping the text
[framework/web/webkit-efl.git] / LayoutTests / fast / table / multiple-captions-crash2.xhtml
1 <html xmlns="http://www.w3.org/1999/xhtml">\r
2     <script type="text/javascript">\r
3     function runTest()\r
4     {\r
5         if (window.layoutTestController)\r
6             layoutTestController.dumpAsText();\r
7 \r
8         test = document.getElementById("test");\r
9         test2 = document.getElementById("test2");\r
10         inp = document.createElement("input");\r
11                                         \r
12         document.body.offsetTop;\r
13         test.appendChild(inp);\r
14         test2.appendChild(inp);     \r
15         document.body.offsetTop;\r
16     }\r
17     </script>\r
18     <body onload="runTest()">\r
19         Test passes if it does not crash.\r
20         <caption>Text in caption 1</caption>\r
21         <caption id="test">\r
22             <a>Text in caption 2</a>\r
23         </caption>\r
24         <caption>\r
25             <div id="test2">\r
26                 <a>Text in caption 3</a>\r
27             </div>\r
28         </caption>\r
29     </body>\r
30 </html>\r