Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1296)

Unified Diff: third_party/WebKit/LayoutTests/animations/zoom-responsive-transform-animation-expected.html

Issue 2973013002: Group all responsive animation tests together (Closed)
Patch Set: Rebase Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/LayoutTests/animations/zoom-responsive-transform-animation.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/animations/zoom-responsive-transform-animation-expected.html
diff --git a/third_party/WebKit/LayoutTests/animations/zoom-responsive-transform-animation-expected.html b/third_party/WebKit/LayoutTests/animations/zoom-responsive-transform-animation-expected.html
deleted file mode 100644
index d35fdf332072bcce721dee37e5178d5fb158664e..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/animations/zoom-responsive-transform-animation-expected.html
+++ /dev/null
@@ -1,67 +0,0 @@
-<!DOCTYPE html>
-<style>
-#container {
- position: absolute;
- top: 0;
- font-size: 10px;
-}
-.target {
- width: 40px;
- height: 40px;
- border-top: solid;
- border-left: solid;
- margin-bottom: 20px;
-}
-</style>
-<div id="container"></div>
-<div id="footer"></div>
-<script>
-'use strict';
-internals.setZoomFactor(2);
-
-[
- 'perspective(200px) translate3D(10px, 10px, 10px)',
- 'matrix(0, 1, 1, 0, 10, 10)',
- 'matrix3d(' +
- '0, 1, 0, 0, ' +
- '1, 0, 0, 0, ' +
- '0, 0, 1, 0, ' +
- '10, 10, 10, 1)',
- 'matrix3d(' +
- '0.707106781186548, 0.000000000000000, -0.707106781186547, 0.003535533905933,' +
- '0.000000000000000, 1.000000000000000, 0.000000000000000, 0.000000000000000,' +
- '0.707106781186547, 0.000000000000000, 0.707106781186548, -0.003535533905933,' +
- '0.000000000000000, 0.000000000000000, 0.000000000000000, 1.000000000000000)', // Equivalent to perspective(200px) rotateY(45deg)
- 'perspective(200px) rotateY(45deg)',
- 'none', // Composited animations fail to zoom the last expectation correctly. ):
-].forEach(transform => {
- var text = document.createElement('div');
- text.textContent = transform;
- container.appendChild(text);
-
- var target = document.createElement('div');
- target.classList.add('target');
- container.appendChild(target);
- target.animate([
- {transform: transform},
- {transform: transform},
- ], 1e8);
-});
-
-// We must wait a frame to let compositor animations render.
-if (window.testRunner)
- testRunner.waitUntilDone();
-
-function waitForCompositor() {
- return footer.animate({opacity: ['1', '1']}, 1).ready;
-}
-
-requestAnimationFrame(() => {
- requestAnimationFrame(() => {
- waitForCompositor().then(() => {
- if (window.testRunner)
- testRunner.notifyDone();
- });
- });
-});
-</script>
« no previous file with comments | « third_party/WebKit/LayoutTests/animations/zoom-responsive-transform-animation.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698