blob: 20b97e2e54add017f36a96477cc6d65c83dc0e25 [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("dt1").appendChild(createNewElement("summary", "new1", "new 1"));
};
</script>
<body onload="runTests()">
<details open id="dt1">
<summary id="summary1">summary</summary>
</details>
</body>