Title: [265671] trunk/LayoutTests
Revision
265671
Author
[email protected]
Date
2020-08-14 08:33:42 -0700 (Fri, 14 Aug 2020)

Log Message

rdar://66995964 (REGRESSION (r265358): [ Win10 wk1 ] animations/steps-transform-rendering-updates.html is a constant failure (215454))
Rebaseline Test - Remore test expectation.

Unreviewed test gardening.

* platform/wincairo/animations/steps-transform-rendering-updates-expected.txt: Added.
* platform/wincairo/animations/steps-transform-rendering-updates.html: Added.

Modified Paths

Added Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (265670 => 265671)


--- trunk/LayoutTests/ChangeLog	2020-08-14 15:27:20 UTC (rev 265670)
+++ trunk/LayoutTests/ChangeLog	2020-08-14 15:33:42 UTC (rev 265671)
@@ -5,6 +5,16 @@
 
         Unreviewed test gardening.
 
+        * platform/wincairo/animations/steps-transform-rendering-updates-expected.txt: Added.
+        * platform/wincairo/animations/steps-transform-rendering-updates.html: Added.
+
+2020-08-14  Karl Rackler  <[email protected]>
+
+        rdar://66995964 (REGRESSION (r265358): [ Win10 wk1 ] animations/steps-transform-rendering-updates.html is a constant failure (215454))
+        Rebaseline Test - Remore test expectation.
+
+        Unreviewed test gardening.
+
         * platform/wincairo/TestExpectations:
 
 2020-08-13  Sergio Villar Senin  <[email protected]>

Added: trunk/LayoutTests/platform/wincairo/animations/steps-transform-rendering-updates-expected.txt (0 => 265671)


--- trunk/LayoutTests/platform/wincairo/animations/steps-transform-rendering-updates-expected.txt	                        (rev 0)
+++ trunk/LayoutTests/platform/wincairo/animations/steps-transform-rendering-updates-expected.txt	2020-08-14 15:33:42 UTC (rev 265671)
@@ -0,0 +1,6 @@
+PASS count is 0
+PASS count < 6 is true
+PASS successfullyParsed is true
+
+TEST COMPLETE
+

Added: trunk/LayoutTests/platform/wincairo/animations/steps-transform-rendering-updates.html (0 => 265671)


--- trunk/LayoutTests/platform/wincairo/animations/steps-transform-rendering-updates.html	                        (rev 0)
+++ trunk/LayoutTests/platform/wincairo/animations/steps-transform-rendering-updates.html	2020-08-14 15:33:42 UTC (rev 265671)
@@ -0,0 +1,51 @@
+<!DOCTYPE HTML>
+<html>
+<head>
+    <script src=""
+    <style>
+        #box {
+            width: 100px;
+            height: 100px;
+            background-color: silver;
+        }
+        
+        #box.animating {
+            animation: spinner 0.25s steps(2) 1;     
+        }
+
+        @keyframes spinner {
+            from { transform:rotate(0deg); }
+            to   { transform:rotate(360deg); }
+        }
+    </style>
+    <script>
+        window.jsTestIsAsync = true;
+
+        let count = 0;
+        window.addEventListener('load', () => {
+            if (!window.internals) {
+                finishJSTest();
+                return;
+            }
+
+            let box = document.getElementById('box');
+            box.addEventListener('animationstart', () => {
+                internals.startTrackingRenderingUpdates();
+                shouldBe('count', '0');
+            }, false);
+            box.addEventListener('animationend', () => {
+                count = internals.renderingUpdateCount();
+                shouldBeTrue('count < 6');
+                finishJSTest();
+            }, false);
+            
+            box.classList.add('animating');
+        }, false);
+    </script>
+</head>
+<body>
+    <div id="box"></div>
+    <div id="console"></div>
+    <script src=""
+</body>
+</html>
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to