summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/parser/style-in-create-contextual-fragment-head.html
blob: bf143483c14555df480cc70625d716cf84ec6909 (plain)
1
2
3
4
5
6
7
8
9
<script src="../../resources/dump-as-markup.js"></script>
<body>
<script>
var range = document.createRange();
range.selectNode(document.head);
var documentFragment = range.createContextualFragment("<title>hi</title><style></style><body>XXX<div>ttt</div></body>");
document.head.appendChild(documentFragment);
</script>
</body>