layout/reftests/z-index/overlayscrollbar-sorting-4.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 <!--
     2      Any copyright is dedicated to the Public Domain.
     3      http://creativecommons.org/publicdomain/zero/1.0/
     4 -->
     5 <!DOCTYPE html>
     6 <meta charset="utf-8">
     7 <title>Test that overlay scrollbars are covered by positioned siblings with higher z-index even when the scrollable frame has a positioned descendant</title>
     9 <style>
    11 #outer {
    12   width: 200px;
    13   height: 200px;
    14   overflow: auto;
    15 }
    17 #content {
    18   height: 400px;
    19   background: cyan;
    20   position: relative;
    21   z-index: 1;
    22 }
    24 #cover {
    25   width: 200px;
    26   height: 200px;
    27   background: cyan;
    28   position: absolute;
    29   z-index: 2;
    30 }
    32 </style>
    34 <div id="cover"></div>
    35 <div id="outer"><div id="content"></div></div>

mercurial