blob: 1a32eb1e65f6a110ac35f063ccdf3ae96a929011 [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("summary").appendChild(createNewElement("b", "toadd", "should have bold test"));
};
</script>
<body onload="runTests()">
<details open>
<summary id="summary">summary </summary>
</details>
</body>