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

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/border-radius/clipping-and-zindex-1.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,19 @@
     1.4 +<!DOCTYPE HTML>
     1.5 +<title>Test for z-index relationship to border-radius clipping of overflow</title>
     1.6 +<style>
     1.7 +
     1.8 +#one { position: absolute; z-index: 2; background: blue;
     1.9 +       top: 50px; left: 50px; width: 100px; height: 100px }
    1.10 +
    1.11 +#twoouter { position: absolute; border-radius: 15px; overflow: hidden;
    1.12 +            top: 25px; left: 75px; width: 100px; height: 100px }
    1.13 +#twoinner { position: relative; z-index: 1; height: 100px; background: fuchsia }
    1.14 +
    1.15 +#three { position: absolute; z-index: 0; background: yellow;
    1.16 +         top: 75px; left: 100px; width: 100px; height: 100px }
    1.17 +
    1.18 +</style>
    1.19 +
    1.20 +<div id="one"></div>
    1.21 +<div id="twoouter"><div id="twoinner"></div></div>
    1.22 +<div id="three"></div>

mercurial