layout/reftests/text-overflow/theme-overflow-ref.html

Tue, 06 Jan 2015 21:39:09 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Tue, 06 Jan 2015 21:39:09 +0100
branch
TOR_BUG_9701
changeset 8
97036ab72558
permissions
-rw-r--r--

Conditionally force memory storage according to privacy.thirdparty.isolate;
This solves Tor bug #9701, complying with disk avoidance documented in
https://www.torproject.org/projects/torbrowser/design/#disk-avoidance.

     1 <!DOCTYPE html>
     2 <html>
     3 <head>
     4   <meta http-equiv="content-type" content="text/html; charset=UTF-8">
     5   <title>Testcase for bug 669284</title>
     7   <style type="text/css">
     8     p {
     9       overflow: hidden;
    10       width: 200px;
    11     }
    12     .r {
    13       direction:rtl;
    14     }
    16 .x0 { margin:0px;}
    17 .x1 { margin:1px;}
    18 .x2 { margin:2px;}
    19 .x3 { margin:3px;}
    20 .x4 { margin-left:-1px; }
    21 .r .x4 { margin-right:-1px;}
    23 f { float:left; width:1px; height:1px; margin-left:-100px; }
    24 .r f { float:right; width:1px; height:1px; margin-right:-100px; }
    25   </style>
    26 </head>
    27 <body>
    28 <p>
    29     <input type="checkbox" class="x0"> 0<f></f><br>
    30     <input type="checkbox" class="x1"> 1<f></f><br>
    31     <input type="checkbox" class="x2"> 2<f></f><br>
    32     <input type="checkbox" class="x3"> 3<f></f><br>
    33     <input type="checkbox" class="x4"><f></f><br>
    34 </p>
    36 <p>
    37     <input type="radio" class="x0"> 0<f></f><br>
    38     <input type="radio" class="x1"> 1<f></f><br>
    39     <input type="radio" class="x2"> 2<f></f><br>
    40     <input type="radio" class="x3"> 3<f></f><br>
    41     <input type="radio" class="x4"><f></f><br>
    42 </p>
    44 <p class="r">
    45     <input type="checkbox" class="x0"> 0<f></f><br>
    46     <input type="checkbox" class="x1"> 1<f></f><br>
    47     <input type="checkbox" class="x2"> 2<f></f><br>
    48     <input type="checkbox" class="x3"> 3<f></f><br>
    49     <input type="checkbox" class="x4"><f></f><br>
    50 </p>
    52 <p class="r">
    53     <input type="radio" class="x0"> 0<f></f><br>
    54     <input type="radio" class="x1"> 1<f></f><br>
    55     <input type="radio" class="x2"> 2<f></f><br>
    56     <input type="radio" class="x3"> 3<f></f><br>
    57     <input type="radio" class="x4"><f></f><br>
    58 </p>
    60 </body>
    61 </html>

mercurial