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

Side by Side Diff: third_party/WebKit/LayoutTests/paint/invalidation/spv2/scroll-fixed-layer-with-no-visible-content.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 fast/repaint/scroll-fixed-layer-with-no-visible-content.html -->
2 <html>
3 <head>
4 <title></title>
5 <link rel="stylesheet" href="../../../fast/repaint/resources/default.css"></ style>
6 <script src="resources/paint-invalidation-test.js" type="text/javascript"></ script>
7 <script type="text/javascript">
8 window.onload = function() {
9 window.scrollTo(1000, 1000);
10 runPaintInvalidationTest();
11 };
12
13 function paintInvalidationTest()
14 {
15 var moveMeElement = document.getElementById('moveMe');
16 moveMeElement.style.visibility = "visible";
17 moveMeElement.scrollTop = 100;
18 moveMeElement.scrollLeft = 150;
19 }
20 </script>
21 </head>
22 <body style="height:2000px;">
23 <!-- You should see 1 green rectangle in the output and no red. -->
24 <div id="moveMe" style="top: 150px; left: 100px; visibility: hidden" class=" fixed clipped"><div class="absolute green" style="top: 100px; left: 150px;"></di v></div>
25 <!-- Make sure we are scrolled -->
26 <div style="top: 0px; left: 0px;" class="absolute red"></div>
27 </body>
28 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698