<!DOCTYPE html>
<html class="reftest-wait">
  <head>
    <style>
      body { font-family: sans-serif; }
    </style>
    <script>
      function runTest() {
        document.getElementById('r').appendChild(document.createTextNode('x'));
        document.getElementById('r').appendChild(document.createTextNode('x'));
        document.getElementById('r').appendChild(document.createTextNode('x'));
        document.body.normalize();
        document.getElementById('t').style.display = "";
        document.documentElement.className = "";
      }
    </script>
  </head>
<body onload="runTest()">

<table style="display: none" border=1 id="t"><tbody><tr id="r"><td id="c">TD</td></tr></tbody></table>

</body>
</html>