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

Side by Side Diff: third_party/WebKit/LayoutTests/web-animations-api/quirky-keyframes.html

Issue 2135333003: Animations: Fix quirky-keyframes.html test (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/web-animations-api/the-effect-value-of-a-keyframe-effect.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <script src="../resources/testharness.js"></script>
3 <script src="../resources/testharnessreport.js"></script>
4
5 <style>
6 body {
7 color: blue;
8 }
9
10 #target {
11 color: green;
12 }
13 </style>
14
15 <body>
16 <div id="target"></div>
17 </body>
18
19 <script>
20 test(function() {
21 var animation = target.animate([{
22 color: '-webkit-text',
23 }, {
24 color: '-webkit-text',
25 }], 1);
26 animation.pause();
27 animation.currentTime = 0;
28 assert_equals(getComputedStyle(target).color, 'rgb(0, 128, 0)');
29 }, 'KeyframeEffects do not support quirky values.');
30 </script>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/web-animations-api/the-effect-value-of-a-keyframe-effect.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698