Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / html / details-remove-child-1.html
blobfcd4eabb6a9e9a3140b1811666146a7a0fffbc4c
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("detail").removeChild(document.getElementById("toremove"));
12 </script>
14 <body onload="runTests()">
15 <details id="detail" open>
16 <summary id="summary">summary </summary>
17 <b id="toremove">this should be removed</b>
18 should have no bold test.
19 </details>
20 </body>