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

Side by Side Diff: third_party/WebKit/LayoutTests/animations/interpolation/position-interpolation.html

Issue 1881333002: Use neutralKeyframe sentinal instead of '' for interpolation-test.js tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix composition test code Created 4 years, 8 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 <meta charset="UTF-8"> 2 <meta charset="UTF-8">
3 <style> 3 <style>
4 .parent { 4 .parent {
5 position: relative; 5 position: relative;
6 display: inline-block; 6 display: inline-block;
7 height: 10px; 7 height: 10px;
8 margin: 0px; 8 margin: 0px;
9 } 9 }
10 .target { 10 .target {
(...skipping 16 matching lines...) Expand all
27 <script src="resources/interpolation-test.js"></script> 27 <script src="resources/interpolation-test.js"></script>
28 <script> 28 <script>
29 assertNoInterpolation({ 29 assertNoInterpolation({
30 property: 'position', 30 property: 'position',
31 from: 'absolute', 31 from: 'absolute',
32 to: 'static', 32 to: 'static',
33 }); 33 });
34 34
35 assertInterpolation({ 35 assertInterpolation({
36 property: 'position', 36 property: 'position',
37 from: '', 37 from: neutralKeyframe,
38 to: 'absolute', 38 to: 'absolute',
39 method: 'CSS Animations', 39 method: 'CSS Animations',
40 }, [ 40 }, [
41 {at: -1, is: 'static'}, 41 {at: -1, is: 'static'},
42 {at: 0, is: 'static'}, 42 {at: 0, is: 'static'},
43 {at: 0.25, is: 'static'}, 43 {at: 0.25, is: 'static'},
44 {at: 0.5, is: 'absolute'}, 44 {at: 0.5, is: 'absolute'},
45 {at: 0.75, is: 'absolute'}, 45 {at: 0.75, is: 'absolute'},
46 {at: 1, is: 'absolute'}, 46 {at: 1, is: 'absolute'},
47 {at: 2, is: 'absolute'}, 47 {at: 2, is: 'absolute'},
48 ]); 48 ]);
49 </script> 49 </script>
50 </body> 50 </body>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698