, h.parentElement);
  testing.expectEqual('HTMLDocument', h.parentNode.__proto__.constructor.name);
</script>

<script id=nodeName>
  testing.expectEqual('A', first_child.nodeName);
  testing.expectEqual('#text', link.firstChild.nodeName);
  testing.expectEqual('#comment', last_child.nodeName);
  testing.expectEqual('#document', document.nodeName);
</script>

<script id=nodeType>
  testing.expectEqual(1, first_child.nodeType)
  testing.expectEqual(3, link.firstChild.nodeType)
  testing.expectEqual(8, last_c