Bug 1440556 - Drop reftest-wait in opacity-animation-in-fixed-opacity-parent.html. r=birtles
authorHiroyuki Ikezoe <hikezoe@mozilla.com>
Fri, 23 Feb 2018 14:06:49 +0900
changeset 759116 7d73206bcde2886a5be0f99e994ba54d331f32ea
parent 759115 bd876f6cfc077e29607949c1d06bfceca0fcee03
child 759117 4052f793407410421c8c3c9315872ba762dc34ff
push id100272
push userrwood@mozilla.com
push dateFri, 23 Feb 2018 18:27:33 +0000
reviewersbirtles
bugs1440556, 1395151
milestone60.0a1
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
layout/reftests/css-animations/opacity-animation-in-fixed-opacity-parent.html
--- 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>