summaryrefslogtreecommitdiffstats
path: root/layout/reftests/selection/extend-1-ref.html
blob: a3d5bd9f8d25d679c25612a3129317f23c6664f6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
<!DOCTYPE html>
<html>
<head>
<body style="white-space:pre">0123456789
<script>
document.body.offsetTop;
var t = document.body.firstChild;
var sel = window.getSelection();
sel.collapse(t, 2);
sel.extend(t, 8);
</script>
</body>
</html>