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

Unified Diff: LayoutTests/transitions/color-transition-rounding.html

Issue 15738009: Beat the transition tests with a sanity stick. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Pass presubmit. Created 7 years, 7 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: LayoutTests/transitions/color-transition-rounding.html
diff --git a/LayoutTests/transitions/color-transition-rounding.html b/LayoutTests/transitions/color-transition-rounding.html
index caaa11579f9b0df86e08194c0d90f1ddf8b50317..3366b61d67d891d12b54e87ae0b7fdd8bcdde165 100644
--- a/LayoutTests/transitions/color-transition-rounding.html
+++ b/LayoutTests/transitions/color-transition-rounding.html
@@ -5,20 +5,20 @@
<style>
#test {
color: #00F;
- -webkit-transition: color 1s linear;
+ -webkit-transition: color 10s linear;
}
#test.changed {
color: #F00;
}
</style>
- <script src="resources/transition-test-helpers.js"></script>
+ <script src="../animations/resources/animation-test-helpers.js"></script>
<script type="text/javascript">
const expectedValues = [
// [time, element-id, property, expected-value, tolerance, post-completion callback, should-be-transitioning]
- [0.4998, 'test', 'color', [127, 0, 128], 0],
- [0.5000, 'test', 'color', [128, 0, 128], 0],
- [0.5002, 'test', 'color', [128, 0, 127], 0],
+ [4.998, 'test', 'color', [127, 0, 128], 0],
+ [5.000, 'test', 'color', [128, 0, 128], 0],
+ [5.002, 'test', 'color', [128, 0, 127], 0],
];
function setupTest()
@@ -37,4 +37,4 @@
<div id="result"></div>
</body>
-</html>
+</html>

Powered by Google App Engine
This is Rietveld 408576698