layout/base/tests/bug966992-3-ref.html

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

     1 <!DOCTYPE HTML>
     2 <html><head>
     3     <meta charset="utf-8">
     4     <title>Testcases for overflow-clip-box:content-box</title>
     5     <style type="text/css">
     6         html,body {
     7             color:black; background-color:white; font:16px monospace; padding:0; margin:7px;
     8         }
     9     div {
    10       width: 100px; padding-right:50px; overflow-clip-box:padding-box;
    11       overflow:hidden;
    12     }
    13 .rel { position:relative; }
    14 .mask5 { position:absolute; height:40px; background:white; top:3px; left:0px; width:50px; }
    15     </style>
    16 </head>
    17 <body>
    19 <div contenteditable=true spellcheck=false tabindex=0 id=x class="block"><span style="padding-right:50px">XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX</span></div>
    21 <script>
    22 var x = document.getElementById('x');
    23 x.focus();
    24 x.scrollLeft=100000
    25 window.getSelection().collapse(x,1);
    26 </script>
    27 </body>
    28 </html>

mercurial