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

Side by Side Diff: third_party/WebKit/LayoutTests/paint/invalidation/fixed-after-scroll.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"></script> 4 <script src="resources/text-based-repaint.js"></script>
5 <script> 5 <script>
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('t').style.position = "fixed"; 16 document.getElementById('t').style.position = "fixed";
17 } 17 }
18 </script> 18 </script>
19 </head> 19 </head>
20 20
21 <body style="height:2000px;"> 21 <body style="height:2000px;">
22 <!-- Repaint test for https://bugs.webkit.org/show_bug.cgi?id=64650: Layer f ixed position logic needs more basic testing --> 22 <!-- Repaint test for https://bugs.webkit.org/show_bug.cgi?id=64650: Layer f ixed position logic needs more basic testing -->
23 <!-- You should see no red on this page. --> 23 <!-- You should see no red on this page. -->
24 <div style="top: 200px;" class="red fixed"></div> 24 <div style="top: 200px;" class="red fixed"></div>
25 <div id="t" style="top: 200px;" class="green absolute"></div> 25 <div id="t" style="top: 200px;" class="green absolute"></div>
26 </body> 26 </body>
27 </html> 27 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698