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

Side by Side Diff: third_party/WebKit/LayoutTests/paint/invalidation/compositing/should-not-clip-composited-viewport-scrolling-layer.html

Issue 2466903003: Fix timeout of paint/invalidation/compositing/should-not-clip*.html (Closed)
Patch Set: Created 4 years, 1 month 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 <!DOCTYPE HTML> 1 <!DOCTYPE HTML>
2 <script src="../resources/text-based-repaint.js"></script> 2 <script src="../resources/text-based-repaint.js"></script>
3 <script> 3 <script>
4 if (window.internals) 4 if (window.internals) {
5 internals.settings.setPreferCompositingToLCDTextEnabled(true); 5 internals.settings.setPreferCompositingToLCDTextEnabled(true);
6 // It's too slow to check under-invalidation.
7 internals.runtimeFlags.paintUnderInvalidationCheckingEnabled = false;
8 }
6 function repaintTest() { 9 function repaintTest() {
7 document.getElementById('content').style.backgroundColor = 'green'; 10 document.getElementById('content').style.backgroundColor = 'green';
8 window.scrollTo(2000, 2000); 11 window.scrollTo(2000, 2000);
9 } 12 }
10 window.onload = runRepaintAndPixelTest; 13 window.onload = runRepaintAndPixelTest;
11 </script> 14 </script>
12 <style> 15 <style>
13 #content { 16 #content {
14 width: 5000px; 17 width: 5000px;
15 height: 5000px; 18 height: 5000px;
16 background-color: red; 19 background-color: red;
17 } 20 }
18 </style> 21 </style>
19 <div id="content"> 22 <div id="content">
20 Tests invalidation of scrolling layer. Passes if the repaint rect is not clipped , 23 Tests invalidation of scrolling layer. Passes if the repaint rect is not clipped ,
21 and there is no red when the scrolling container is scrolled.<br> 24 and there is no red when the scrolling container is scrolled.<br>
22 Note for manual testing: must run with --enable-prefer-compositing-to-lcd-text 25 Note for manual testing: must run with --enable-prefer-compositing-to-lcd-text
23 on non-high-dpi machines to enable composited scrolling. 26 on non-high-dpi machines to enable composited scrolling.
24 </div> 27 </div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698