1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/reftests/image-element/element-paint-recursion.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/licenses/publicdomain/ 1.7 + 1.8 + Test painting elements recursively using each other as background. 1.9 +--> 1.10 +<html> 1.11 +<body> 1.12 + <p id="d" style="width:100px; height:100px; border:10px solid black; 1.13 + background:-moz-element(#d);"></p> 1.14 + <div id="e"> 1.15 + <div style="width:100px; height:100px; border:10px solid blue; 1.16 + background:-moz-element(#e);"></div> 1.17 + </div> 1.18 + <div id="f"></div> 1.19 + <!-- test zero-sized images --> 1.20 + <p style="width:100px; height:100px; border:10px solid green; 1.21 + background:-moz-element(#f) yellow;"></div> 1.22 + <div id="g"> 1.23 + <div style="width:100px; height:100px; border:10px solid cyan; 1.24 + background:-moz-element(#h);"></div> 1.25 + </div> 1.26 + <div id="h"> 1.27 + <div style="width:100px; height:100px; border:10px solid magenta; 1.28 + background:-moz-element(#g);"></div> 1.29 + </div> 1.30 +</body> 1.31 +</html>