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

Unified Diff: LayoutTests/transitions/svg-text-shadow-transition.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/svg-text-shadow-transition.html
diff --git a/LayoutTests/transitions/svg-text-shadow-transition.html b/LayoutTests/transitions/svg-text-shadow-transition.html
deleted file mode 100644
index d37c91f87cd9e1742869cae29fe9be3975cb164e..0000000000000000000000000000000000000000
--- a/LayoutTests/transitions/svg-text-shadow-transition.html
+++ /dev/null
@@ -1,45 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
- <style>
- .text {
- -webkit-transition-duration: 1s;
- -webkit-transition-timing-function: linear;
- -webkit-transition-property: text-shadow;
- }
-
- #text {
- text-shadow: -25px -5px 15px red;
- }
-
- #text.final {
- text-shadow: 5px 5px 15px green;
- }
- </style>
-
- <script src="../animations/resources/animation-test-helpers.js"></script>
- <script type="text/javascript">
- const expectedValues = [
- // [time, element-id, property, expected-value, tolerance]
- [0, 'text', 'text-shadow', [-25, -5, 0, 15], 4],
- [1, 'text', 'text-shadow', [5, 5, 0, 15], 4]
- ];
-
- function setupTest()
- {
- document.getElementById('text').className.baseVal = 'text final';
- }
-
- var doPixelTest = true;
- runTransitionTest(expectedValues, setupTest, undefined, doPixelTest);
- </script>
-</head>
-<body>
- <svg width="400" height="100">
- <text id="text" class="text" x="10" y="50" style="font-size:30pt; font-weight:bold;">Shadow on texts</text>
- </svg>
-
- <div id="result">
- </div>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698