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

Side by Side Diff: third_party/WebKit/LayoutTests/paint/invalidation/spv2/fixed-scroll-simple.html

Issue 1366763002: Text expectations of paint/invalidation/spv2 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 <!-- Based on fast/repaint/fixed-scroll-simple.html --> 1 <!-- Based on fast/repaint/fixed-scroll-simple.html -->
2 <html> 2 <html>
3 <head> 3 <head>
4 <link rel="stylesheet" href="../../../fast/repaint/resources/default.css"> 4 <link rel="stylesheet" href="../../../fast/repaint/resources/default.css">
5 <script src="resources/paint-invalidation-test.js"></script> 5 <script src="resources/paint-invalidation-test.js"></script>
6 <script> 6 <script>
7 if (window.testRunner) 7 if (window.testRunner)
8 testRunner.dumpAsTextWithPixelResults(); 8 testRunner.dumpAsTextWithPixelResults();
9 9
10 window.expectedPaintInvalidationObjects = [
11 "LayoutBlockFlow (positioned) DIV class='green'",
12 ];
13 function paintInvalidationTest() 10 function paintInvalidationTest()
14 { 11 {
15 window.scrollTo(0, 100); 12 window.scrollTo(0, 100);
16 } 13 }
17 </script> 14 </script>
18 </head> 15 </head>
19 <body style="height:2000px;" onload="runPaintInvalidationTest()"> 16 <body style="height:2000px;" onload="runPaintInvalidationTest()">
20 <!-- Repaint test for https://bugs.webkit.org/show_bug.cgi?id=64650: Layer f ixed position logic needs more basic testing --> 17 <!-- Repaint test for https://bugs.webkit.org/show_bug.cgi?id=64650: Layer f ixed position logic needs more basic testing -->
21 <!-- You should see no red on this page. --> 18 <!-- You should see no red on this page. -->
22 <div style="position: absolute; top: 200px;" class="red"></div> 19 <div style="position: absolute; top: 200px;" class="red"></div>
23 <div style="position: fixed; top: 100px;" class="green"></div> 20 <div style="position: fixed; top: 100px;" class="green"></div>
24 </body> 21 </body>
25 </html> 22 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698