Fri, 16 Jan 2015 18:13:44 +0100
Integrate suggestion from review to improve consistency with existing code.
1 <!doctype html>
2 <html class="reftest-wait"><head>
3 <title>border-image, only middle part, table cell, testcase</title>
4 <style>
5 table {
6 width: 48px;
7 height: 48px;
8 border-collapse: separate;
9 border-width: 0;
10 border-style: solid;
11 border-image: url(3x3green-1DD813.png) 0 fill;
12 }
13 </style>
14 </head><body>
15 <iframe src="3x3green-1DD813.png" width="48" height="48"></iframe>
16 <table>
17 </table>
18 <script>
19 // This is a wallpaper for bug 688897 until bug 697230 is fixed.
20 // MozReftestInvalidate is called after onload of all frames so it
21 // delays the snapshot until the used border image is loaded.
22 window.addEventListener("MozReftestInvalidate",
23 function() {
24 document.getElementsByTagName("iframe")[0].style.display = "none";
25 document.documentElement.className = "";
26 }, false);
27 </script>
28 </body></html>