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

Side by Side Diff: third_party/WebKit/LayoutTests/paint/invalidation/spv2/fixed-after-scroll.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, 2 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-after-scroll.html --> 1 <!-- Based on fast/repaint/fixed-after-scroll.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 window.onload = function() { 7 window.onload = function() {
8 window.scrollTo(0, 500); 8 window.scrollTo(0, 500);
9 runPaintInvalidationTest(); 9 runPaintInvalidationTest();
10 }; 10 };
11 11
12 window.expectedPaintInvalidationObjects = [
13 "LayoutBlockFlow (positioned) DIV id='t' class='green absolute'",
14 "LayoutBlockFlow (positioned) DIV id='t' class='green absolute'",
15 ];
16 function paintInvalidationTest() 12 function paintInvalidationTest()
17 { 13 {
18 document.getElementById('t').style.position = "fixed"; 14 document.getElementById('t').style.position = "fixed";
19 } 15 }
20 </script> 16 </script>
21 </head> 17 </head>
22 18
23 <body style="height:2000px;"> 19 <body style="height:2000px;">
24 <!-- Repaint test for https://bugs.webkit.org/show_bug.cgi?id=64650: Layer f ixed position logic needs more basic testing --> 20 <!-- Repaint test for https://bugs.webkit.org/show_bug.cgi?id=64650: Layer f ixed position logic needs more basic testing -->
25 <!-- You should see no red on this page. --> 21 <!-- You should see no red on this page. -->
26 <div style="top: 200px;" class="red fixed"></div> 22 <div style="top: 200px;" class="red fixed"></div>
27 <div id="t" style="top: 200px;" class="green absolute"></div> 23 <div id="t" style="top: 200px;" class="green absolute"></div>
28 </body> 24 </body>
29 </html> 25 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698