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

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/selection/extend-1-ref.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,13 @@
     1.4 +<!DOCTYPE html>
     1.5 +<html>
     1.6 +<head>
     1.7 +<body style="white-space:pre">0123456789
     1.8 +<script>
     1.9 +document.body.offsetTop;
    1.10 +var t = document.body.firstChild;
    1.11 +var sel = window.getSelection();
    1.12 +sel.collapse(t, 2);
    1.13 +sel.extend(t, 8);
    1.14 +</script>
    1.15 +</body>
    1.16 +</html>

mercurial