summaryrefslogtreecommitdiff
path: root/dom/base/crashtests/149320-1.html
blob: d09b2c5ada6b7cfbbdeb5cd2e825b4691f4b1a7a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<html>
<head>
</head>
<body>
<div>Selection is HERE only</div>
<script type="text/javascript">
	selectedNode = document.getElementsByTagName("div").item(0);
	testRange = document.createRange();

	testRange.setStart(selectedNode, 13);
	testRange.setEnd(selectedNode, 17);

	document.body.appendChild(document.createTextNode("Text of Range: "+testRange));
</script>
</body>
</html>