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

Side by Side Diff: third_party/WebKit/LayoutTests/paint/invalidation/spv2/scroll-fixed-squahed-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 compositing/repaint/scroll-fixed-squahed-layer.html --> 1 <!-- Based on compositing/repaint/scroll-fixed-squahed-layer.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 <style> 6 <style>
7 .main { 7 .main {
8 position: fixed; 8 position: fixed;
9 top: 100px; 9 top: 100px;
10 left: 100px; 10 left: 100px;
11 width: 200px; 11 width: 200px;
12 height: 200px; 12 height: 200px;
13 background-color: lightblue; 13 background-color: lightblue;
14 will-change: transform; 14 will-change: transform;
15 } 15 }
16 16
17 .squahed { 17 .squahed {
18 position: fixed; 18 position: fixed;
19 top: 150px; 19 top: 150px;
20 left: 100px; 20 left: 100px;
21 width: 200px; 21 width: 200px;
22 height: 200px; 22 height: 200px;
23 background-color: lightgreen; 23 background-color: lightgreen;
24 } 24 }
25 </style> 25 </style>
26 <script> 26 <script>
27 if (window.internals) 27 if (window.internals)
28 internals.settings.setPreferCompositingToLCDTextEnabled(false); 28 internals.settings.setPreferCompositingToLCDTextEnabled(false);
29 29
30 window.expectedPaintInvalidationObjects = [
31 ];
32 function paintInvalidationTest() { 30 function paintInvalidationTest() {
33 window.scrollTo(0, 100); 31 window.scrollTo(0, 100);
34 } 32 }
35 </script> 33 </script>
36 </head> 34 </head>
37 <body style="height:2000px" onload="runPaintInvalidationTest()"> 35 <body style="height:2000px" onload="runPaintInvalidationTest()">
38 <div class="main"></div> 36 <div class="main"></div>
39 <div class="squahed"></div> 37 <div class="squahed"></div>
40 </body> 38 </body>
41 </html> 39 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698