diff options
Diffstat (limited to 'layout/reftests/selection/extend-1-ref.html')
-rw-r--r-- | layout/reftests/selection/extend-1-ref.html | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/layout/reftests/selection/extend-1-ref.html b/layout/reftests/selection/extend-1-ref.html new file mode 100644 index 000000000..a3d5bd9f8 --- /dev/null +++ b/layout/reftests/selection/extend-1-ref.html @@ -0,0 +1,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> |