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

Side by Side Diff: LayoutTests/animations/interpolation/clip-interpolation.html

Issue 22799020: Web Animations CSS: Support Animation of StyleImage and LengthBox (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix baselines for new test. Created 7 years, 3 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 <body>
3 <style>
4 .target {
5 width: 80px;
6 height: 80px;
7 background-color: blue;
8 display: inline-block;
9 position: absolute;
10 clip: rect(auto, auto, auto, auto);
11 top: 200px;
12 }
13 #test0 { left: 0px; }
14 #test1 { left: 100px; }
15 #test2 { left: 200px; }
16 #test3 { left: 300px; }
17 #test4 { left: 400px; }
18
19 #test5 { left: 510px; background: orange; }
20 #test6 { left: 610px; background: orange; }
21 </style>
22 <script src="resources/interpolation-test.js"></script>
23 <script>
24 testInterpolationAt([-1, 0, 0.5, 1, 1.5], {
25 property: 'clip',
26 from: 'rect(0px, 75px, 80px, 10px)',
27 to: 'rect(0px, 100px, 90px, 5px)'
28 });
29
30 testInterpolationAt([0.4, 0.6], {
31 property: 'clip',
32 from: 'rect(auto, auto, auto, 10px)',
33 to: 'rect(20px, 50px, 50px, auto)'
34 });
35 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698