editor/reftests/selection_visibility_after_reframe.html

Wed, 31 Dec 2014 07:16:47 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 07:16:47 +0100
branch
TOR_BUG_9701
changeset 3
141e0f1194b1
permissions
-rw-r--r--

Revert simplistic fix pending revisit of Mozilla integration attempt.

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

mercurial