Bug 1440556 - Drop reftest-wait in opacity-animation-in-fixed-opacity-parent.html. r?birtles draft
authorHiroyuki Ikezoe <hikezoe@mozilla.com>
Fri, 23 Feb 2018 14:06:49 +0900
changeset 758869 c123616e3c469ce2b302c3ac59df9ca07d588d0d
parent 758868 66eeda98065ba0a97855658fbbe5bc434133909a
push id100199
push userhikezoe@mozilla.com
push dateFri, 23 Feb 2018 05:07:07 +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>