Bug 1440556 - Drop reftest-wait in opacity-animation-in-fixed-opacity-parent.html. r?birtles
This reftest passes without reftest-wait, and fails without reftest-wait if the
fix for
bug 1395151 is backed-out.
MozReview-Commit-ID: GitJkk014yi
--- a/layout/reftests/css-animations/opacity-animation-in-fixed-opacity-parent.html
+++ b/layout/reftests/css-animations/opacity-animation-in-fixed-opacity-parent.html
@@ -1,10 +1,10 @@
<!DOCTYPE html>
-<html class="reftest-wait reftest-no-flush">
+<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title>Testcase, bug 1395151</title>
<style type="text/css">
@keyframes test-anim {
from { opacity : 1 }
to { opacity : 1 }
}
@@ -30,19 +30,10 @@
width : 100%;
}
</style>
</head>
<body>
<div class="ok">
<div class="error"><span></span></div>
</div>
-<script>
-document.addEventListener('MozReftestInvalidate', () => {
- requestAnimationFrame(() => {
- requestAnimationFrame(() => {
- document.documentElement.classList.remove('reftest-wait');
- });
- });
-}, false);
-</script>
</body>
</html>