dynamic-removal-12.html 754 B

1234567891011121314151617181920212223
  1. <!DOCTYPE HTML>
  2. <html class="reftest-wait">
  3. <head>
  4. <title>CSS 2.1 Test Suite: anonymous table boxes</title>
  5. <link rel="author" title="Boris Zbarsky" href="mailto:bzbarsky@mit.edu" />
  6. <link rel="author" title="Mozilla Corporation" href="http://mozilla.com/" />
  7. <link rel="help" href="http://www.w3.org/TR/CSS21/tables.html#anonymous-boxes"/>
  8. <meta name="flags" content="dom" />
  9. <script>
  10. function doTest() {
  11. var t = document.getElementById("t");
  12. t.parentNode.removeChild(t);
  13. document.documentElement.className = "";
  14. }
  15. </script>
  16. </head>
  17. <body onload="doTest()">
  18. <div>
  19. <span>a b</span><span id="t" style="display: table-row"></span><span>c d</span>
  20. </div>
  21. </body>
  22. </html>