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

Unified Diff: third_party/WebKit/LayoutTests/animations/viewport-unit-animation-responsive.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
Index: third_party/WebKit/LayoutTests/animations/viewport-unit-animation-responsive.html
diff --git a/third_party/WebKit/LayoutTests/animations/viewport-unit-animation-responsive.html b/third_party/WebKit/LayoutTests/animations/viewport-unit-animation-responsive.html
deleted file mode 100644
index 04fc896f4a72ac24c8420d963e9333b0b16610f1..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/animations/viewport-unit-animation-responsive.html
+++ /dev/null
@@ -1,30 +0,0 @@
-<!DOCTYPE html>
-<style>
-#target {
- position: absolute;
- width: 100px;
- height: 100px;
- background: blue;
-}
-</style>
-This box should be located in the center of the page.
-<div id="target"></div>
-<script>
-if (window.testRunner) {
- testRunner.useUnfortunateSynchronousResizeMode();
- testRunner.waitUntilDone();
-}
-function waitForCompositor() {
- return document.body.animate({opacity: [1, 1]}, 1).finished;
-}
-
-var position = 'translate(calc(50vw - 50px), calc(50vh - 50px))';
-var animation = target.animate({transform: [position, position]}, 1e10);
-animation.ready.then(() => {
- window.resizeTo(window.innerWidth / 2, window.innerHeight / 2);
-}).then(waitForCompositor).then(() => {
- if (window.testRunner) {
- testRunner.notifyDone();
- }
-});
-</script>

Powered by Google App Engine
This is Rietveld 408576698