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