mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-28 23:31:56 +00:00
14 lines
236 B
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>
|