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

Side by Side Diff: third_party/WebKit/LayoutTests/animations/composition/border-bottom-right-radius-composition.html

Issue 1682843003: Add additive animation support for border-radius CSS properties (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@_positionInterpolation
Patch Set: Created 4 years, 10 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
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <body> 2 <body>
3 <script src="../interpolation/resources/interpolation-test.js"></script> 3 <script src="../interpolation/resources/interpolation-test.js"></script>
4 <script> 4 <script>
5 assertComposition({ 5 assertComposition({
6 property: 'object-position', 6 property: 'border-bottom-right-radius',
7 underlying: '40px 40px', 7 underlying: '40px 40px',
8 addFrom: '60px 60px', 8 addFrom: '60px 60px',
9 addTo: '160px 160px', 9 addTo: '160px 160px',
10 }, [ 10 }, [
11 {at: -0.25, is: '75px 75px'}, 11 {at: -0.25, is: '75px 75px'},
12 {at: 0, is: '100px 100px'}, 12 {at: 0, is: '100px 100px'},
13 {at: 0.25, is: '125px 125px'}, 13 {at: 0.25, is: '125px 125px'},
14 {at: 0.5, is: '150px 150px'}, 14 {at: 0.5, is: '150px 150px'},
15 {at: 0.75, is: '175px 175px'}, 15 {at: 0.75, is: '175px 175px'},
16 {at: 1, is: '200px 200px'}, 16 {at: 1, is: '200px 200px'},
17 {at: 1.25, is: '225px 225px'}, 17 {at: 1.25, is: '225px 225px'},
18 ]); 18 ]);
19 19
20 assertComposition({ 20 assertComposition({
21 property: 'object-position', 21 property: 'border-bottom-right-radius',
22 underlying: 'top 20% left 40%',
23 addFrom: 'left 60% top 80%',
24 addTo: 'right 80% bottom 40%',
25 }, [
26 {at: -0.25, is: '110% 105%'},
27 {at: 0, is: '100% 100%'},
28 {at: 0.25, is: '90% 95%'},
29 {at: 0.5, is: '80% 90%'},
30 {at: 0.75, is: '70% 85%'},
31 {at: 1, is: '60% 80%'},
32 {at: 1.25, is: '50% 75%'},
33 ]);
34
35 assertComposition({
36 property: 'object-position',
37 underlying: '40px 40px', 22 underlying: '40px 40px',
38 replaceFrom: '100px 100px', 23 replaceFrom: '100px 100px',
39 addTo: '160px 160px', 24 addTo: '160px 160px',
40 }, [ 25 }, [
41 {at: -0.25, is: '75px 75px'}, 26 {at: -0.25, is: '75px 75px'},
42 {at: 0, is: '100px 100px'}, 27 {at: 0, is: '100px 100px'},
43 {at: 0.25, is: '125px 125px'}, 28 {at: 0.25, is: '125px 125px'},
44 {at: 0.5, is: '150px 150px'}, 29 {at: 0.5, is: '150px 150px'},
45 {at: 0.75, is: '175px 175px'}, 30 {at: 0.75, is: '175px 175px'},
46 {at: 1, is: '200px 200px'}, 31 {at: 1, is: '200px 200px'},
47 {at: 1.25, is: '225px 225px'}, 32 {at: 1.25, is: '225px 225px'},
48 ]); 33 ]);
49 34
50 assertComposition({ 35 assertComposition({
51 property: 'object-position', 36 property: 'border-bottom-right-radius',
52 underlying: '40px 40px', 37 underlying: '40px 40px',
53 addFrom: '60px 60px', 38 addFrom: '60px 60px',
54 replaceTo: '200px 200px', 39 replaceTo: '200px 200px',
55 }, [ 40 }, [
56 {at: -0.25, is: '75px 75px'}, 41 {at: -0.25, is: '75px 75px'},
57 {at: 0, is: '100px 100px'}, 42 {at: 0, is: '100px 100px'},
58 {at: 0.25, is: '125px 125px'}, 43 {at: 0.25, is: '125px 125px'},
59 {at: 0.5, is: '150px 150px'}, 44 {at: 0.5, is: '150px 150px'},
60 {at: 0.75, is: '175px 175px'}, 45 {at: 0.75, is: '175px 175px'},
61 {at: 1, is: '200px 200px'}, 46 {at: 1, is: '200px 200px'},
62 {at: 1.25, is: '225px 225px'}, 47 {at: 1.25, is: '225px 225px'},
63 ]); 48 ]);
64 </script> 49 </script>
65 </body> 50 </body>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698