Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / html / details-add-summary-1.html
blobb3d87868180e98863f66611a6317696a15df3850
1 <script>
3 var createNewElement = function (tag, id, text) {
4 var result = document.createElement(tag);
5 result.setAttribute('id',id);
6 result.innerHTML = text;
7 return result;
8 };
10 var runTests = function () {
11 document.getElementById("dt1").appendChild(createNewElement("summary", "new1", "new 1"));
14 </script>
16 <body onload="runTests()">
17 <details id="dt1"></details>
18 </body>