Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / html / details-add-details-child-1.html
bloba3ad5336c7433070fd52dfc8127c9b6f7f4c6bad
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 };
9 var runTests = function () {
10 document.getElementById("details").appendChild(createNewElement("b", "toadd", "should have bold test"));
12 </script>
14 <body onload="runTests()">
15 <details id="details" open>
16 <summary>summary</summary>
17 </details>
18 </body>