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

Side by Side Diff: LayoutTests/animations/interpolation/z-index-interpolation.html

Issue 1172583002: Add support for z-index: auto to AnimatableValues (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Remove dumb Created 5 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | Source/core/animation/css/CSSAnimatableValueFactory.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 <meta charset="UTF-8"> 2 <meta charset="UTF-8">
3 <style> 3 <style>
4 body { 4 body {
5 margin-top: 20px; 5 margin-top: 20px;
6 } 6 }
7 .layer-reference { 7 .layer-reference {
8 position: fixed; 8 position: fixed;
9 top: 0px; 9 top: 0px;
10 height: 100vh; 10 height: 100vh;
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 to: '-4' 69 to: '-4'
70 }, [ 70 }, [
71 {at: -0.3, is: '-1'}, 71 {at: -0.3, is: '-1'},
72 {at: 0, is: '-2'}, 72 {at: 0, is: '-2'},
73 {at: 0.1, is: '-2'}, 73 {at: 0.1, is: '-2'},
74 {at: 0.3, is: '-3'}, 74 {at: 0.3, is: '-3'},
75 {at: 0.6, is: '-3'}, 75 {at: 0.6, is: '-3'},
76 {at: 1, is: '-4'}, 76 {at: 1, is: '-4'},
77 {at: 1.5, is: '-5'}, 77 {at: 1.5, is: '-5'},
78 ]); 78 ]);
79 assertNoInterpolation({
80 property: 'z-index',
81 from: 'auto',
82 to: '10',
83 });
79 84
80 afterTest(function() { 85 afterTest(function() {
81 if (window.testRunner) { 86 if (window.testRunner) {
82 [].forEach.call(document.querySelectorAll('.layer-reference'), function(elem ent) { 87 [].forEach.call(document.querySelectorAll('.layer-reference'), function(elem ent) {
83 element.remove(); 88 element.remove();
84 }); 89 });
85 } 90 }
86 }); 91 });
87 </script> 92 </script>
OLDNEW
« no previous file with comments | « no previous file | Source/core/animation/css/CSSAnimatableValueFactory.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698