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

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

Issue 2010243002: Remove paint/invalidation/spv2 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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
(Empty)
1 <!-- Based on compositing/repaint/should-not-clip-composited-overflow-scrolling- layer.html -->
2 <!DOCTYPE HTML>
3 <script src="resources/paint-invalidation-test.js"></script>
4 <script>
5 if (window.internals)
6 internals.settings.setPreferCompositingToLCDTextEnabled(true);
7 function paintInvalidationTest() {
8 document.getElementById('content').style.backgroundColor = 'green';
9 var container = document.getElementById('container');
10 container.scrollLeft = 2000;
11 container.scrollTop = 2000;
12 }
13 window.onload = runPaintInvalidationTest;
14 </script>
15 <style>
16 #container {
17 width: 500px;
18 height: 500px;
19 overflow: scroll;
20 }
21 #content {
22 width: 5000px;
23 height: 5000px;
24 background-color: red;
25 }
26 </style>
27 <div id="container">
28 <div id="content">
29 Tests invalidation of scrolling layer. Passes if the repaint rect is not clipp ed,
30 and there is no red when the scrolling container is scrolled.<br>
31 Note for manual testing: must run with --enable-prefer-compositing-to-lcd-text
32 on non-high-dpi machines to enable composited scrolling.
33 </div>
34 </div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698