blob: e092b1f3518a3704ea779cede75e56cc3ad95813 [file] [log] [blame]
<script>
var createNewElement = function (tag, id, text) {
var result = document.createElement(tag);
result.setAttribute('id',id);
result.innerHTML = text;
return result;
};
var runTests = function () {
var toremove = document.getElementById("toremove");
toremove.parentNode.removeChild(toremove);
};
</script>
<body onload="runTests()">
<details open>
<summary>summary <b id="toremove">to be removed</b> shouldn't have only bold text.</summary>
</details>
</body>