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

Side by Side Diff: third_party/WebKit/LayoutTests/paint/invalidation/spv2/scroll-fixed-layer-no-content.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 compositing/repaint/scroll-fixed-layer-no-content.html --> 1 <!-- Based on compositing/repaint/scroll-fixed-layer-no-content.html -->
2 <!DOCTYPE html> 2 <!DOCTYPE html>
3 <html> 3 <html>
4 <head> 4 <head>
5 <script src="resources/paint-invalidation-test.js"></script> 5 <script src="resources/paint-invalidation-test.js"></script>
6 <script type="text/javascript"> 6 <script type="text/javascript">
7 if (window.internals) 7 if (window.internals)
8 internals.settings.setPreferCompositingToLCDTextEnabled(true); 8 internals.settings.setPreferCompositingToLCDTextEnabled(true);
9 window.expectedPaintInvalidationObjects = [
10 ];
11 function paintInvalidationTest() 9 function paintInvalidationTest()
12 { 10 {
13 window.scrollTo(0, 1000); 11 window.scrollTo(0, 1000);
14 window.scrollTo(0, 100); 12 window.scrollTo(0, 100);
15 } 13 }
16 </script> 14 </script>
17 </head> 15 </head>
18 <body style="height:2000px" onload="runPaintInvalidationTest()"> 16 <body style="height:2000px" onload="runPaintInvalidationTest()">
19 <div style="position: fixed; top: 100px; left: 100px; width: 200px; height: 200px"></div> 17 <div style="position: fixed; top: 100px; left: 100px; width: 200px; height: 200px"></div>
20 There should be no repaints here: 18 There should be no repaints here:
21 </body> 19 </body>
22 </html> 20 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698