').hasAttributes());

  const div2 = document.createElement('div');
  div2.innerHTML = '<p id=1 .lit$id=9>a</p>';
  testing.expectEqual('<p id="1" .lit$id="9">a</p>', div2.innerHTML);
  testing.expectEqual(['id', '.lit$id'], div2.childNodes[0].getAttributeNames());
</script>

<script id=children>
  testing.expectEqual(3, content.children.length);
  testing.expectEqual('A', content.firstElementChild.nodeName);
  testing.expectEqual('P', content.lastElementChild.nodeName);
  testing.expectEqual(3, content.chi