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

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

Issue 2682603004: Don't animate visibility keyframes that don't include "visible" (Closed)
Patch Set: Review changes Created 3 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/animation/CSSVisibilityInterpolationType.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <body> 2 <body>
3 <script src="resources/interpolation-test.js"></script> 3 <script src="resources/interpolation-test.js"></script>
4 <script> 4 <script>
5 assertInterpolation({ 5 assertInterpolation({
6 property: 'visibility', 6 property: 'visibility',
7 from: 'visible', 7 from: 'visible',
8 to: 'visible' 8 to: 'visible'
9 }, [ 9 }, [
10 {at: -1, is: 'visible'}, 10 {at: -1, is: 'visible'},
(...skipping 11 matching lines...) Expand all
22 {at: -1, is: 'visible'}, 22 {at: -1, is: 'visible'},
23 {at: 0, is: 'visible'}, 23 {at: 0, is: 'visible'},
24 {at: 0.1, is: 'visible'}, 24 {at: 0.1, is: 'visible'},
25 {at: 0.9, is: 'visible'}, 25 {at: 0.9, is: 'visible'},
26 {at: 1, is: 'hidden'}, 26 {at: 1, is: 'hidden'},
27 {at: 1.5, is: 'hidden'}, 27 {at: 1.5, is: 'hidden'},
28 ]); 28 ]);
29 29
30 assertInterpolation({ 30 assertInterpolation({
31 property: 'visibility', 31 property: 'visibility',
32 from: 'hidden',
33 to: 'visible'
34 }, [
35 {at: -1, is: 'hidden'},
36 {at: 0, is: 'hidden'},
37 {at: 0.1, is: 'visible'},
38 {at: 0.9, is: 'visible'},
39 {at: 1, is: 'visible'},
40 {at: 1.5, is: 'visible'},
41 ]);
42
43 assertInterpolation({
44 property: 'visibility',
32 from: 'collapse', 45 from: 'collapse',
33 to: 'visible' 46 to: 'visible'
34 }, [ 47 }, [
35 {at: -1, is: 'collapse'}, 48 {at: -1, is: 'collapse'},
36 {at: 0, is: 'collapse'}, 49 {at: 0, is: 'collapse'},
37 {at: 0.1, is: 'visible'}, 50 {at: 0.1, is: 'visible'},
38 {at: 0.9, is: 'visible'}, 51 {at: 0.9, is: 'visible'},
39 {at: 1, is: 'visible'}, 52 {at: 1, is: 'visible'},
40 {at: 1.5, is: 'visible'}, 53 {at: 1.5, is: 'visible'},
41 ]); 54 ]);
42 55
43 assertNoInterpolation({ 56 assertNoInterpolation({
44 property: 'visibility', 57 property: 'visibility',
45 from: 'collapse', 58 from: 'collapse',
46 to: 'hidden' 59 to: 'hidden'
47 }); 60 });
48 </script> 61 </script>
49 </body> 62 </body>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/animation/CSSVisibilityInterpolationType.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698