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

Side by Side Diff: third_party/WebKit/LayoutTests/compositing/reflections/nested-reflection-animated.html

Issue 2569063002: Tighten expectations for 3 flaky animated compositing tests. (Closed)
Patch Set: New baselines Created 4 years 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 <html> 2 <html>
3 <head> 3 <head>
4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> 4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
5 <style> 5 <style>
6 .outer { 6 .outer {
7 width: 120px; 7 width: 120px;
8 height: 230px; 8 height: 230px;
9 margin: 20px 100px; 9 margin: 20px 100px;
10 border: 1px solid black; 10 border: 1px solid black;
(...skipping 24 matching lines...) Expand all
35 35
36 @-webkit-keyframes swing { 36 @-webkit-keyframes swing {
37 from { transform: rotate(0deg); } 37 from { transform: rotate(0deg); }
38 to { transform: rotate(90deg); } 38 to { transform: rotate(90deg); }
39 } 39 }
40 </style> 40 </style>
41 <script src="../../animations/resources/animation-test-helpers.js" type="text/ javascript" charset="utf-8"></script> 41 <script src="../../animations/resources/animation-test-helpers.js" type="text/ javascript" charset="utf-8"></script>
42 <script type="text/javascript" charset="utf-8"> 42 <script type="text/javascript" charset="utf-8">
43 const expectedValues = [ 43 const expectedValues = [
44 // [time, element-id, property, expected-value, tolerance] 44 // [time, element-id, property, expected-value, tolerance]
45 [0.5, "inner", "webkitTransform.0", 0.76, 0.1], 45 [0.5, "inner", "webkitTransform.0", 0.707107, 0.000001],
46 ]; 46 ];
47 47
48 var pixelTest = true; 48 var pixelTest = true;
49 var disablePauseAPI = false; 49 var disablePauseAPI = false;
50 runAnimationTest(expectedValues, null, null, disablePauseAPI, pixelTest); 50 runAnimationTest(expectedValues, null, null, disablePauseAPI, pixelTest);
51 </script> 51 </script>
52 </head> 52 </head>
53 <body> 53 <body>
54 <p>Animation on original and reflection should both be paused half way through , giving 45deg rotation.</p> 54 <p>Animation on original and reflection should both be paused half way through , giving 45deg rotation.</p>
55 <div class="outer composited"> 55 <div class="outer composited">
56 <div id="inner" class="inner composited animated"> 56 <div id="inner" class="inner composited animated">
57 1 57 1
58 </div> 58 </div>
59 </div> 59 </div>
60 <div id="result"></div> 60 <div id="result"></div>
61 </body> 61 </body>
62 </html> 62 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698