[WK2] selection does not disappear after coping the text
[framework/web/webkit-efl.git] / LayoutTests / fast / runin / run-in-parent-add-child.html
1 <!DOCTYPE html>\r
2 <html style="font-family: ahem; font-size: 50px; -webkit-font-smoothing: none;">\r
3 <!-- WebKit bug 86387 - Move run-in handling to addChild, instead of in layout. -->\r
4 <!-- 'A' green box, followed by 'B' orange box, followed by 'C' purple box in the same line. -->\r
5 <style>\r
6 .runin { display: run-in; color: green; }\r
7 </style>\r
8 </head>\r
9 <body>\r
10 <div>\r
11   <div class="runin">A</div>\r
12   <div id="test" style="color: purple">C</div>\r
13 </div>\r
14 </body>\r
15 <script>\r
16 document.body.offsetTop;\r
17 test = document.getElementById('test');\r
18 span = document.createElement('span');\r
19 span.appendChild(document.createTextNode('B'));\r
20 span.style.color = 'orange';\r
21 test.insertBefore(span, test.firstChild);\r
22 </script>\r
23 </html>\r