1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/reftests/z-index/stacking-context-common.css Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,26 @@ 1.4 +.contain, .maybesc { 1.5 + width: 100px; 1.6 + height: 100px; 1.7 +} 1.8 +.contain, .maybesc { 1.9 + position: relative; 1.10 +} 1.11 +.inner1, .inner3, .intruder { 1.12 + position: absolute; 1.13 + top: 0; left: 0; bottom: 0; right: 0; 1.14 +} 1.15 +.inner1 { 1.16 + left: 5px; right: 30px; 1.17 + background: rgba(0, 255, 255, 0.5); /* aqua */ 1.18 + z-index: 1; 1.19 +} 1.20 +.inner3 { 1.21 + left: 30px; right: 5px; 1.22 + background: rgba(255, 255, 0, 0.5); /* yellow */ 1.23 + z-index: 3; 1.24 +} 1.25 +.intruder { 1.26 + top: 20px; bottom: 20px; 1.27 + background: rgba(255, 0, 255, 0.5); /* fuchsia */ 1.28 + z-index: 2; 1.29 +}