layout/reftests/margin-collapsing/block-overflow-3-ref.html

Sat, 03 Jan 2015 20:18:00 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Sat, 03 Jan 2015 20:18:00 +0100
branch
TOR_BUG_3246
changeset 7
129ffea94266
permissions
-rw-r--r--

Conditionally enable double key logic according to:
private browsing mode or privacy.thirdparty.isolate preference and
implement in GetCookieStringCommon and FindCookie where it counts...
With some reservations of how to convince FindCookie users to test
condition and pass a nullptr when disabling double key logic.

     1 <!DOCTYPE html>
     2 <html>
     3 <head>
     4 <style type="text/css">
     5 .separator {
     6  height: 20px;
     7  background-color: blue;
     8 }
     9 #overflow {
    10  overflow-y: scroll;
    11  height: 160px;
    12  margin: 20px 0;
    13  padding-top: 40px;
    14  background-color: lightgreen;
    15 }
    16 #child {
    17  height: 160px;
    18  background-color: green;
    19 }
    20 #margin {
    21  height: 40px;
    22 }
    23 </style>
    24 </head>
    25 <body>
    26 <div class="separator"></div>
    27 <div id="overflow">
    28  <div id="child"></div>
    29  <div id="margin"></div>
    30 </div>
    31 <div class="separator"></div>
    32 </body>
    33 </html>

mercurial