1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/reftests/border-image/470250-2.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,28 @@ 1.4 +<!doctype html> 1.5 +<html class="reftest-wait"><head> 1.6 +<title>border-image, only middle part, table cell, testcase</title> 1.7 +<style> 1.8 +table { 1.9 + width: 48px; 1.10 + height: 48px; 1.11 + border-collapse: separate; 1.12 + border-width: 0; 1.13 + border-style: solid; 1.14 + border-image: url(3x3green-1DD813.png) 0 fill; 1.15 +} 1.16 +</style> 1.17 +</head><body> 1.18 +<iframe src="3x3green-1DD813.png" width="48" height="48"></iframe> 1.19 +<table> 1.20 +</table> 1.21 +<script> 1.22 + // This is a wallpaper for bug 688897 until bug 697230 is fixed. 1.23 + // MozReftestInvalidate is called after onload of all frames so it 1.24 + // delays the snapshot until the used border image is loaded. 1.25 + window.addEventListener("MozReftestInvalidate", 1.26 + function() { 1.27 + document.getElementsByTagName("iframe")[0].style.display = "none"; 1.28 + document.documentElement.className = ""; 1.29 + }, false); 1.30 +</script> 1.31 +</body></html>