summaryrefslogtreecommitdiffstats
path: root/editor/reftests/selection_visibility_after_reframe.html
blob: b72cec8296f57b36621f97255f9ce0320299501e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<!DOCTYPE html>
<html>
  <body>
    <input value="foo">
    <script>
      var i = document.querySelector("input");
      i.selectionStart = 1;
      i.selectionEnd = 2;
      document.body.clientHeight;
      i.style.display = "none";
      document.body.clientHeight;
      i.style.display = "";
    </script>
  </body>
</html>