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

Side by Side Diff: third_party/WebKit/LayoutTests/compositing/reflections/nested-reflection-anchor-point.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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/compositing/reflections/nested-reflection-animated.html » ('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 <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 <script src="../../resources/run-after-layout-and-paint.js"></script>
5 <style> 6 <style>
6 .outer { 7 .outer {
7 width: 120px; 8 width: 120px;
8 height: 230px; 9 height: 230px;
9 margin: 20px 60px; 10 margin: 20px 60px;
10 border: 1px solid black; 11 border: 1px solid black;
11 -webkit-box-reflect: right 10px; 12 -webkit-box-reflect: right 10px;
12 } 13 }
13 14
14 .inner { 15 .inner {
15 margin: 10px; 16 margin: 10px;
16 width: 100px; 17 width: 100px;
17 height: 100px; 18 height: 100px;
18 background-color: green; 19 background-color: green;
19 text-align: center; 20 text-align: center;
20 font-size: 50pt; 21 font-size: 50pt;
21 -webkit-box-reflect: below 10px; 22 -webkit-box-reflect: below 10px;
22 transform: rotate3d(0, 0, 1, 20deg); 23 transform: rotate3d(0, 0, 1, 20deg);
23 } 24 }
24 25
25 .changed { 26 .changed {
26 -webkit-transform-origin: top left; 27 -webkit-transform-origin: top left;
27 } 28 }
28 </style> 29 </style>
29 <script type="text/javascript" charset="utf-8"> 30 <script type="text/javascript" charset="utf-8">
30 if (window.testRunner)
31 testRunner.waitUntilDone();
32
33 function doTest() 31 function doTest()
34 { 32 {
35 window.setTimeout(function() { 33 if (window.testRunner) {
36 document.getElementById('inner').className = 'inner composited changed'; 34 runAfterLayoutAndPaint(function() {
37 if (window.testRunner) 35 document.getElementById('inner').className = 'inner composited changed ';
38 testRunner.notifyDone(); 36 }, true);
39 }, 0); 37 }
40 } 38 }
41 window.addEventListener('load', doTest, false); 39 window.addEventListener('load', doTest, false);
42 </script> 40 </script>
43 </head> 41 </head>
44 <body> 42 <body>
45 <p>Left and right sides should look symmetrical.</p> 43 <p>Left and right sides should look symmetrical.</p>
46 <div class="outer composited"> 44 <div class="outer composited">
47 <div id="inner" class="inner composited"> 45 <div id="inner" class="inner composited">
48 1 46 1
49 </div> 47 </div>
50 </div> 48 </div>
51 </body> 49 </body>
52 </html> 50 </html>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/compositing/reflections/nested-reflection-animated.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698