layout/reftests/css-valuesandunits/unit-vh-vw-overflow-scroll-x-iframe.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 <style>
     2   body { overflow-x: scroll }
     3   div {
     4     width: 10px;
     5     height: 10px;
     6     background-color: #d64203;
     7   }
     8 </style>
    10 <body>
    11   <div style="width: 50vw"></div>
    12   <div style="height: 25vh"></div>
    13   <div style="width: 35vmin"></div>
    14   <div style="height: 25vmax"></div>
    16   <!-- Deliberately make scrollbars appear. -->
    17   <div style="width: 500px; height: 500px; background-color: black">
    18 </body>

mercurial