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

Side by Side Diff: third_party/WebKit/LayoutTests/animations/timing-functions-neutral-keyframe.html

Issue 2979503002: Move animation timing tests to subdirectory (Closed)
Patch Set: 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 unified diff | Download patch
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <script src="../resources/testharness.js"></script>
3 <script src="../resources/testharnessreport.js"></script>
4 <style>
5 @keyframes anim {
6 from { animation-timing-function: linear; }
7 to { left: 500px; }
8 }
9
10 #target {
11 animation: anim 10s -1s paused ease-in-out;
12 left: 0px;
13 position: absolute;
14 }
15 </style>
16 <div id="target"></div>
17 <script>
18 test(function() {
19 assert_equals(parseInt(getComputedStyle(target).left), 50, 'left offset'); / / Should be linearly interpolated
20 }, "Check that explicitly specified timing functions in neutral keyframes over ride default");
21 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698