blob: fcd4eabb6a9e9a3140b1811666146a7a0fffbc4c [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 () {
document.getElementById("detail").removeChild(document.getElementById("toremove"));
};
</script>
<body onload="runTests()">
<details id="detail" open>
<summary id="summary">summary </summary>
<b id="toremove">this should be removed</b>
should have no bold test.
</details>
</body>