1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/reftests/image-element/referenced-from-binding-01.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,22 @@ 1.4 +<!-- 1.5 + Any copyright is dedicated to the Public Domain. 1.6 + http://creativecommons.org/licenses/publicdomain/ 1.7 +--> 1.8 +<!-- From https://bugzilla.mozilla.org/show_bug.cgi?id=587585 --> 1.9 +<!DOCTYPE html> 1.10 +<title>Test -moz-element reference with external binding</title> 1.11 +<style> 1.12 +.paintClient { 1.13 + background: -moz-element(#image-element); 1.14 + width: 100px; 1.15 + height: 100px; 1.16 +} 1.17 +</style> 1.18 + 1.19 +<body style="margin:0"> 1.20 + <div style="-moz-binding: url(referenced-from-binding-01.xbl#insertPaintClient);"></div> 1.21 + <div style="height: 0; overflow: hidden;"> 1.22 + <div id="image-element" 1.23 + style="width: 20px; height: 20px; background: lime;"></div> 1.24 + </div> 1.25 +</body>