gecko/layout/reftests/selection/extend-1-ref.html

14 lines
236 B
HTML

<!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>