[WK2] selection does not disappear after coping the text
[framework/web/webkit-efl.git] / LayoutTests / fast / html / details-remove-summary-child-2.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     var toremove = document.getElementById("toremove");
11     toremove.parentNode.removeChild(toremove);
12 };
13 </script>
14
15 <body onload="runTests()">
16     <details open>
17         <summary>summary <span><b id="toremove">to be removed</b> shouldn't have any bold text.</span></summary>
18     </details>
19 </body>