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

Side by Side Diff: LayoutTests/animations/interpolation/background-color-interpolation-unset.html

Issue 1265873002: Add test coverage for interpolations using CSS wide keywords and neutral keyframes (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased Created 5 years, 4 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <meta charset="UTF-8">
3 <style>
4 .target {
5 width: 60px;
6 height: 60px;
7 display: inline-block;
8 border: 2px solid black;
9 margin-right: 2px;
10 background-color: red;
11 }
12 .expected {
13 background-color: green;
14 margin-right: 15px;
15 }
16 </style>
17 <body>
18 <script src="resources/interpolation-test.js"></script>
19 <script>
20 assertInterpolation({
21 property: 'background-color',
22 from: 'unset',
23 to: 'transparent'
24 }, [
25 {at: -0.3, is: 'transparent'},
26 {at: 0, is: 'transparent'},
27 {at: 0.3, is: 'transparent'},
28 {at: 0.6, is: 'transparent'},
29 {at: 1, is: 'transparent'},
30 {at: 1.5, is: 'transparent'},
31 ]);
32 </script>
33 </body>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698