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

Side by Side Diff: third_party/WebKit/LayoutTests/animations/responsive/motion-rotation-responsive.html

Issue 1645913002: Add additive animation support for CSS property motion-rotation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@_propertyInterpolationTypesMapping
Patch Set: Rebased 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
(Empty)
1 <!DOCTYPE html>
2 <script src="resources/responsive-test.js"></script>
3 <script>
4 assertCSSResponsive({
5 property: 'motion-rotation',
6 from: 'inherit',
7 to: 'auto 40deg',
8 configurations: [{
9 state: {inherited: '50deg'},
10 expect: [
11 {at: 0.25, is: '50deg'},
12 {at: 0.75, is: 'auto 40deg'},
13 ],
14 }, {
15 state: {inherited: 'auto 20deg'},
16 expect: [
17 {at: 0.25, is: 'auto 25deg'},
18 {at: 0.75, is: 'auto 35deg'},
19 ],
20 }],
21 });
22
23 assertCSSResponsive({
24 property: 'motion-rotation',
25 from: neutralKeyframe,
26 to: '80deg',
27 configurations: [{
28 state: {underlying: 'auto 50deg'},
29 expect: [
30 {at: 0.25, is: 'auto 50deg'},
31 {at: 0.75, is: '80deg'},
32 ],
33 }, {
34 state: {underlying: '40deg'},
35 expect: [
36 {at: 0.25, is: '50deg'},
37 {at: 0.75, is: '70deg'},
38 ],
39 }],
40 });
41 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698