layout/reftests/margin-collapsing/scrollable-vertical-margin-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><head>
     3     <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
     4     <title>Testcase for bug 724352</title>
     5     <style type="text/css">
     7         html,body {
     8             color:black; background-color:white; font-size:16px; padding:0; margin:0;
     9         }
    11 x1,x2,x3,x4,x5,x6 { display:block; }
    12 x7 {display:block; height:20px;background:lime;}
    13     </style>
    14 </head>
    15 <body>
    17 <x1><x2 style="overflow:auto; background:grey; height:50px;">
    18   <x3><x4 style="padding:20px 0 10px 0; height:20px;"><x7></x7></x4></x3>
    19 </x2>
    20 <x6 style="padding-top:10px">x</x6></x1>
    24 <x1><x2 style="overflow:auto; background:grey; height:70px;">
    25   <x3 style="padding-bottom:30px"><x4 style="padding-top:20px; height:20px;"><x7></x7></x4></x3>
    26 </x2>
    27 <x6 style="padding-top:10px">x</x6></x1>
    31 <x1><x2 style="overflow:auto; background:grey; height:60px;">
    32   <x3 style="padding-bottom:10px"><x4 style="padding-top:20px; height:20px;"><x7></x7></x4></x3>
    33 </x2>
    34 <x6 style="padding-top:10px">x</x6></x1>
    38 <x1><x2 style="overflow:auto; background:grey; height:50px;">
    39   <x3 style="padding-bottom:10px"><x4 style="padding-top:20px; height:20px;"><x7></x7></x4></x3>
    40 </x2>
    41 <x6 style="padding-top:10px">x</x6></x1>
    45 <x1><x2 style="overflow:auto; background:grey; height:60px;">
    46   <x3><x4 style="padding:20px 0; height:20px;"><x7></x7></x4></x3>
    47 </x2>
    48 <x6 style="padding-top:10px">x</x6></x1>
    52 <x1><x2 style="overflow:auto; background:grey; height:60px;">
    53   <x3><x4 style="padding:20px 0; height:20px;"><x7></x7></x4></x3>
    54 </x2>
    55 <x6 style="padding-top:10px">x</x6></x1>
    59 <x1><x2 style="overflow:auto; background:grey; height:50px;">
    60   <x3><x4 style="padding:10px 0 20px 0; height:20px;"><x7></x7></x4></x3>
    61 </x2>
    62 <x6 style="padding-top:10px">x</x6></x1>
    65 </body>
    66 </html>

mercurial