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

Unified Diff: LayoutTests/transitions/cubic-bezier-overflow-shadow.html

Issue 716963002: Remove property-specific handling in animation-test-helpers.js (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@animhelpercleanup
Patch Set: rm whitespace Created 6 years, 1 month 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: LayoutTests/transitions/cubic-bezier-overflow-shadow.html
diff --git a/LayoutTests/transitions/cubic-bezier-overflow-shadow.html b/LayoutTests/transitions/cubic-bezier-overflow-shadow.html
deleted file mode 100644
index 01fba1bbef64575ca3eebe208e9c3c8f0600d3f5..0000000000000000000000000000000000000000
--- a/LayoutTests/transitions/cubic-bezier-overflow-shadow.html
+++ /dev/null
@@ -1,52 +0,0 @@
-<!doctype html>
-<html>
- <head>
- <title>cubic-bezier value overflow: Shadows</title>
- <style>
- .box {
- position: relative;
- left: 0;
- height: 100px;
- width: 100px;
- margin: 10px;
- background-color: blue;
- box-shadow: 5px -5px 5px 5px #404040;
- -webkit-transition: box-shadow 1s linear;
- }
- .animating > .box {
- box-shadow: -5px 20px 15px 15px #c0c0c0;
- }
- </style>
- <script src="../animations/resources/animation-test-helpers.js"></script>
- <script>
- const expectedValues = [
- // [time, element-id, property, expected-value, tolerance]
- [0.50, "box1", "box-shadow", [-7, 25], 5],
- [0.95, "box1", "box-shadow", [-6, 22], 5],
- [0.10, "box2", "box-shadow", [7, -9], 5],
- [0.50, "box2", "box-shadow", [2, 4], 5],
- [0.95, "box2", "box-shadow", [-6, 22], 5],
- [0.10, "box3", "box-shadow", [9, -16], 5],
- [0.50, "box3", "box-shadow", [16, -32], 5],
- [0.15, "box4", "box-shadow", [-8, 27], 5],
- [0.50, "box4", "box-shadow", [0, 8], 5],
- [0.80, "box4", "box-shadow", [8, -11], 5],
- ];
-
- function setupTest() {
- document.getElementById('container').className = 'animating';
- }
-
- runTransitionTest(expectedValues, setupTest);
- </script>
- </head>
- <body>
- <div id="container">
- <div class="box" id="box1" style="-webkit-transition-timing-function: cubic-bezier(0.3, 1.5, 0.8, 1.5);"></div>
- <div class="box" id="box2" style="-webkit-transition-timing-function: cubic-bezier(0.4, -0.8, 0.7, 1.7);"></div>
- <div class="box" id="box3" style="-webkit-transition-timing-function: cubic-bezier(0.7, -2, 1, -1.5);"></div>
- <div class="box" id="box4" style="-webkit-transition-timing-function: cubic-bezier(0, 4, 1, -3);"></div>
- </div>
- <div id="result"></div>
- </body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698