<script src="../../resources/dump-as-markup.js"></script>
<body>
<script>
var range = document.createRange();
range.selectNode(document.body);
var documentFragment = range.createContextualFragment("<title>hi</title><style></style><body>XXX<div>ttt</div></body>");
document.body.appendChild(documentFragment);
</script>
</body>
