layout/reftests/border-image/470250-2.html

Fri, 16 Jan 2015 18:13:44 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Fri, 16 Jan 2015 18:13:44 +0100
branch
TOR_BUG_9701
changeset 14
925c144e1f1f
permissions
-rw-r--r--

Integrate suggestion from review to improve consistency with existing code.

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

mercurial