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

Side by Side Diff: third_party/WebKit/LayoutTests/paint/invalidation/scroll-with-transformed-parent-layer.html

Issue 2321183002: Move repaint tests (except for svg/) to paint/invalidation (Closed)
Patch Set: - Created 4 years, 3 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 <html> 1 <html>
2 <head> 2 <head>
3 <link rel="stylesheet" href="resources/default.css"></style> 3 <link rel="stylesheet" href="resources/default.css"></style>
4 <script src="resources/text-based-repaint.js" type="text/javascript"></scrip t> 4 <script src="resources/text-based-repaint.js" type="text/javascript"></scrip t>
5 <script type="text/javascript"> 5 <script type="text/javascript">
6 if (window.testRunner) 6 if (window.testRunner)
7 testRunner.dumpAsTextWithPixelResults(); 7 testRunner.dumpAsTextWithPixelResults();
8 8
9 function repaintTest() 9 function repaintTest()
10 { 10 {
11 var moveMeElement = document.getElementById('moveMe'); 11 var moveMeElement = document.getElementById('moveMe');
12 moveMeElement.scrollTop = 100; 12 moveMeElement.scrollTop = 100;
13 moveMeElement.scrollLeft = 50; 13 moveMeElement.scrollLeft = 50;
14 } 14 }
15 </script> 15 </script>
16 </head> 16 </head>
17 <body style="height:2000px;" onload="runRepaintAndPixelTest()"> 17 <body style="height:2000px;" onload="runRepaintAndPixelTest()">
18 <!-- You should see 1 green rectangle rotated in the output and no red. --> 18 <!-- You should see 1 green rectangle rotated in the output and no red. -->
19 <div style="top: 150px; left: 100px" class="absolute clipped rotated"> 19 <div style="top: 150px; left: 100px" class="absolute clipped rotated">
20 <div id="moveMe" class="absolute clipped" style="top: 0px; left: 0px;"> 20 <div id="moveMe" class="absolute clipped" style="top: 0px; left: 0px;">
21 <div class="absolute green" style="top: 100px; left: 50px"></div> 21 <div class="absolute green" style="top: 100px; left: 50px"></div>
22 <div class="absolute red" style="top: 0px; left: 0px;"></div> 22 <div class="absolute red" style="top: 0px; left: 0px;"></div>
23 </div> 23 </div>
24 </div> 24 </div>
25 </body> 25 </body>
26 </html> 26 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698