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

Fri, 16 Jan 2015 04:50:19 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Fri, 16 Jan 2015 04:50:19 +0100
branch
TOR_BUG_9701
changeset 13
44a2da4a2ab2
permissions
-rw-r--r--

Replace accessor implementation with direct member state manipulation, by
request https://trac.torproject.org/projects/tor/ticket/9701#comment:32

     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