The HTML serializer depth can change on each iteration.

This commit is contained in:
Josh Matthews 2015-02-22 12:44:48 -05:00
parent e68d6d2924
commit 4c67acfb4a
3 changed files with 79 additions and 75 deletions

View file

@ -4,7 +4,9 @@
<script>
var a = document.createElement("div");
a.appendChild(document.createElement("pre")).appendChild(new Text(""));
is(a.innerHTML, "<pre></pre>");
var b = document.createElement("div");
b.appendChild(a);
is(b.innerHTML, "<div><pre></pre></div>");
</script>
</head>
</html>