1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/reftests/css-blending/blend-difference-stacking.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,30 @@ 1.4 +<!-- 1.5 + Any copyright is dedicated to the Public Domain. 1.6 + http://creativecommons.org/publicdomain/zero/1.0/ 1.7 +--> 1.8 +<html> 1.9 +<style> 1.10 +.a { 1.11 + background-color: rgb(0,255,0); 1.12 +} 1.13 +#b { 1.14 + width: 200px; 1.15 + height: 210px; 1.16 +} 1.17 +.c { 1.18 + width: 100px; 1.19 + height: 100px; 1.20 + mix-blend-mode: difference; 1.21 +} 1.22 +#d { 1.23 + z-index: 1; 1.24 + position: absolute; 1.25 + top:80px; 1.26 +} 1.27 +</style> 1.28 +<div id="b" class="a"> 1.29 + <div id="d">. 1.30 + <div class="a c"></div> 1.31 + </div> 1.32 +</div> 1.33 +</html>