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

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

Issue 1644883002: Add additive animation support for CSS property translate (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@_propertyInterpolationTypesMapping
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
(Empty)
1 <!DOCTYPE html>
2 <script src="resources/responsive-test.js"></script>
3 <script>
4 assertCSSResponsive({
5 property: 'translate',
6 from: 'inherit',
7 to: '100px 200px 300px',
8 configurations: [{
9 state: {inherited: 'initial'},
10 expect: [
11 {at: 0.25, is: '25px 50px 75px'},
12 {at: 0.75, is: '75px 150px 225px'},
13 ],
14 }, {
15 state: {inherited: '0'},
16 expect: [
17 {at: 0.25, is: '25px 50px 75px'},
18 {at: 0.75, is: '75px 150px 225px'},
19 ],
20 }, {
Eric Willigers 2016/02/17 07:15:50 Perhaps add a test with inherited: '200px 100px'
alancutter (OOO until 2018) 2016/02/17 23:50:22 Done.
21 state: {inherited: '100px 100px 100px'},
22 expect: [
23 {at: 0.25, is: '100px 125px 150px'},
24 {at: 0.75, is: '100px 175px 250px'},
25 ],
26 }],
27 });
28 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698