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