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

Side by Side Diff: third_party/WebKit/LayoutTests/paint/invalidation/fixed-and-absolute-position-scrolled.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"> 3 <link rel="stylesheet" href="resources/default.css">
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 window.onload = function() { 9 window.onload = function() {
10 window.scrollTo(0, 500); 10 window.scrollTo(0, 500);
11 runRepaintAndPixelTest(); 11 runRepaintAndPixelTest();
12 } 12 }
13 13
14 function repaintTest() 14 function repaintTest()
15 { 15 {
16 document.getElementById('container').style.position = 'static'; 16 document.getElementById('container').style.position = 'static';
17 } 17 }
18 </script> 18 </script>
19 </head> 19 </head>
20 <body style="height:2000px;"> 20 <body style="height:2000px;">
21 <!-- You should see 1 green rectangle in the output and no red. --> 21 <!-- You should see 1 green rectangle in the output and no red. -->
22 <div style="top: 200px; left: 100px;" class="fixed red"></div> 22 <div style="top: 200px; left: 100px;" class="fixed red"></div>
23 <div id="container" style="top: 5000px;" class="relative"><div id="absoluteD iv" style="top: 700px; left:100px;" class="absolute green"></div></div> 23 <div id="container" style="top: 5000px;" class="relative"><div id="absoluteD iv" style="top: 700px; left:100px;" class="absolute green"></div></div>
24 </body> 24 </body>
25 </html> 25 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698