[WK2] selection does not disappear after coping the text
[framework/web/webkit-efl.git] / LayoutTests / fast / html / details-remove-child-1.html
1 <script>
2 var createNewElement = function (tag, id, text) {
3     var result = document.createElement(tag);
4     result.setAttribute('id',id);
5     result.innerHTML = text;
6     return result;
7 };
8
9 var runTests = function () {
10     document.getElementById("detail").removeChild(document.getElementById("toremove"));
11 };
12 </script>
13
14 <body onload="runTests()">
15     <details id="detail" open>
16         <summary id="summary">summary </summary>
17         <b id="toremove">this should be removed</b>
18         should have no bold test.
19     </details>
20 </body>