mirror of
https://github.com/servo/servo.git
synced 2025-08-21 13:25:34 +01:00
The HTML serializer depth can change on each iteration.
This commit is contained in:
parent
e68d6d2924
commit
4c67acfb4a
3 changed files with 79 additions and 75 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue