layout/reftests/w3c-css/submitted/values3/calc-offsets-absolute-top-1-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   <title>CSS Reference: Test for top:calc() on absolutely positioned elements</title>
     5   <link rel="author" title="L. David Baron" href="http://dbaron.org/">
     6   <meta name="flags" content="">
     7 <style type="text/css">
     8 body { margin: 0 }
     9 body > div { float: left; height: 100px; width: 3px; }
    10 div[style] { background: blue; position: relative; height: 10px; }
    11 </style>
    12 </head>
    13 <body>
    15 <!-- tests with a fixed-height container -->
    16 <div><div style="top: 50px"></div></div>
    17 <div><div style="top: 50px"></div></div>
    18 <div><div style="top: 75px"></div></div>
    19 <div><div style="top: 45px"></div></div>
    20 <div><div style="top: 40px"></div></div>
    21 <div><div style="top: 30px"></div></div>
    23 <!-- tests with an auto-top container -->
    24 <div><div style="top: 50px"></div></div>
    25 <div><div style="top: 50px"></div></div>
    26 <div><div style="top: 75px"></div></div>
    27 <div><div style="top: 45px"></div></div>
    28 <div><div style="top: 40px"></div></div>
    29 <div><div style="top: 30px"></div></div>
    30 </body>
    31 </html>

mercurial