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

Thu, 22 Jan 2015 13:21:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 22 Jan 2015 13:21:57 +0100
branch
TOR_BUG_9701
changeset 15
b8a032363ba2
permissions
-rw-r--r--

Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6

     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