layout/reftests/border-radius/clipping-and-zindex-1.html

Thu, 15 Jan 2015 15:59:08 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 15:59:08 +0100
branch
TOR_BUG_9701
changeset 10
ac0c01689b40
permissions
-rw-r--r--

Implement a real Private Browsing Mode condition by changing the API/ABI;
This solves Tor bug #9701, complying with disk avoidance documented in
https://www.torproject.org/projects/torbrowser/design/#disk-avoidance.

     1 <!DOCTYPE HTML>
     2 <title>Test for z-index relationship to border-radius clipping of overflow</title>
     3 <style>
     5 #one { position: absolute; z-index: 2; background: blue;
     6        top: 50px; left: 50px; width: 100px; height: 100px }
     8 #twoouter { position: absolute; border-radius: 15px; overflow: hidden;
     9             top: 25px; left: 75px; width: 100px; height: 100px }
    10 #twoinner { position: relative; z-index: 1; height: 100px; background: fuchsia }
    12 #three { position: absolute; z-index: 0; background: yellow;
    13          top: 75px; left: 100px; width: 100px; height: 100px }
    15 </style>
    17 <div id="one"></div>
    18 <div id="twoouter"><div id="twoinner"></div></div>
    19 <div id="three"></div>

mercurial