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

Side by Side Diff: third_party/WebKit/LayoutTests/paint/invalidation/spv2/scroll-fixed-reflected-layer.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/scroll-fixed-reflected-layer.html --> 1 <!-- Based on fast/repaint/scroll-fixed-reflected-layer.html -->
2 <html> 2 <html>
3 <head> 3 <head>
4 <link rel="stylesheet" href="../../../fast/repaint/resources/default.css"></ style> 4 <link rel="stylesheet" href="../../../fast/repaint/resources/default.css"></ style>
5 <script src="resources/paint-invalidation-test.js" type="text/javascript"></ script> 5 <script src="resources/paint-invalidation-test.js" type="text/javascript"></ script>
6 <script type="text/javascript"> 6 <script type="text/javascript">
7 window.onload = function() { 7 window.onload = function() {
8 window.scrollTo(100, 180); 8 window.scrollTo(100, 180);
9 runPaintInvalidationTest(); 9 runPaintInvalidationTest();
10 }; 10 };
11 11
12 window.expectedPaintInvalidationObjects = [
13 "LayoutBlockFlow (positioned) DIV id='hideMe' class='absolute red'",
14 ];
15 function paintInvalidationTest() 12 function paintInvalidationTest()
16 { 13 {
17 document.getElementById("hideMe").style.zIndex = "-5"; 14 document.getElementById("hideMe").style.zIndex = "-5";
18 } 15 }
19 </script> 16 </script>
20 </head> 17 </head>
21 <body style="height:2000px;"> 18 <body style="height:2000px;">
22 <!-- You should see 1 green rectangle rotated in the output and no red. --> 19 <!-- You should see 1 green rectangle rotated in the output and no red. -->
23 <div style="height: 50px; top: 100px; left: 250px;" class="reflected fixed"> 20 <div style="height: 50px; top: 100px; left: 250px;" class="reflected fixed">
24 <div class="absolute green reflected" style="height: 50px;"></div> 21 <div class="absolute green reflected" style="height: 50px;"></div>
25 <div id="hideMe" class="absolute red" style="top: 0px; left: 0px;"></div > 22 <div id="hideMe" class="absolute red" style="top: 0px; left: 0px;"></div >
26 </div> 23 </div>
27 <!-- Make sure we are scrolled --> 24 <!-- Make sure we are scrolled -->
28 <div style="top: 0px; left: 0px;" class="absolute red"></div> 25 <div style="top: 0px; left: 0px;" class="absolute red"></div>
29 </body> 26 </body>
30 </html> 27 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698