editor/reftests/selection_visibility_after_reframe.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/editor/reftests/selection_visibility_after_reframe.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,15 @@
     1.4 +<!DOCTYPE html>
     1.5 +<html>
     1.6 +  <body>
     1.7 +    <input value="foo">
     1.8 +    <script>
     1.9 +      var i = document.querySelector("input");
    1.10 +      i.selectionStart = 1;
    1.11 +      i.selectionEnd = 2;
    1.12 +      document.body.clientHeight;
    1.13 +      i.style.display = "none";
    1.14 +      document.body.clientHeight;
    1.15 +      i.style.display = "";
    1.16 +    </script>
    1.17 +  </body>
    1.18 +</html>

mercurial