1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/reftests/svg/blend-difference-stacking.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,28 @@ 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 +#b { 1.11 + width: 200px; 1.12 + height: 200px; 1.13 + background-color: rgb(0,255,0); 1.14 +} 1.15 +#c { 1.16 + z-index: 1; 1.17 + position: absolute; 1.18 + top:100px; 1.19 +} 1.20 +</style> 1.21 +<div id="b"> 1.22 +<svg width="100" height="100" viewBox="0 0 100 100" > 1.23 + <rect style="fill:#00FF00;mix-blend-mode:difference;" width="100" height="100"/> 1.24 +</svg> 1.25 +<div id="c"> 1.26 +<svg width="100" height="100" viewBox="0 0 100 100" > 1.27 + <rect style="fill:#00FF00;mix-blend-mode:difference;" width="100" height="100"/> 1.28 +</svg> 1.29 +</div> 1.30 +</div> 1.31 +</html>