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