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

Wed, 31 Dec 2014 13:27:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 13:27:57 +0100
branch
TOR_BUG_3246
changeset 6
8bccb770b82d
permissions
-rw-r--r--

Ignore runtime configuration files generated during quality assurance.

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

mercurial