mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 688897 - Add MozReftestInvalidate handler to fix orange. r=jmuizelaar
This commit is contained in:
parent
46aef94182
commit
6c06addbe9
@ -1,5 +1,5 @@
|
||||
<!doctype html>
|
||||
<html><head>
|
||||
<html class="reftest-wait"><head>
|
||||
<title>border-image, only middle part, table cell, testcase</title>
|
||||
<style>
|
||||
table {
|
||||
@ -12,6 +12,17 @@ table {
|
||||
}
|
||||
</style>
|
||||
</head><body>
|
||||
<iframe src="3x3green-1DD813.png" width="48" height="48"></iframe>
|
||||
<table>
|
||||
</table>
|
||||
<script>
|
||||
// This is a wallpaper for bug 688897 until bug 697230 is fixed.
|
||||
// MozReftestInvalidate is called after onload of all frames so it
|
||||
// delays the snapshot until the used border image is loaded.
|
||||
window.addEventListener("MozReftestInvalidate",
|
||||
function() {
|
||||
document.getElementsByTagName("iframe")[0].style.display = "none";
|
||||
document.documentElement.className = "";
|
||||
}, false);
|
||||
</script>
|
||||
</body></html>
|
||||
|
Loading…
Reference in New Issue
Block a user