Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / html / details-remove-summary-child-2.html
blob189d19c3df0c0198d91050bc02a2c1b1ab7990fe
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 var toremove = document.getElementById("toremove");
11 toremove.parentNode.removeChild(toremove);
13 </script>
15 <body onload="runTests()">
16 <details open>
17 <summary>summary <span><b id="toremove">to be removed</b> shouldn't have any bold text.</span></summary>
18 </details>
19 </body>