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

Side by Side Diff: third_party/WebKit/LayoutTests/paint/invalidation/spv2/absolute-position-changed.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/absolute-position-changed.html -->
2 <html>
3 <head>
4 <link rel="stylesheet" href="../../../fast/repaint/resources/default.css">
5 <style>
6 ::-webkit-scrollbar {
7 width: 0px;
8 height: 0px;
9 }
10 html {
11 overflow: scroll;
12 }
13 </style>
14 <script src="resources/paint-invalidation-test.js" type="text/javascript"></ script>
15 <script type="text/javascript">
16 window.onload = function() {
17 window.scrollTo(0, 500);
18 runPaintInvalidationTest();
19 };
20
21 function paintInvalidationTest()
22 {
23 document.getElementById('absoluteDiv').style.top = '700px';
24 }
25 </script>
26 </head>
27 <body style="height:2000px;">
28 <!-- You should see 1 green rectangle in the output and no red. -->
29 <div style="top: 200px; left: 100px;" class="fixed red"></div>
30 <div id="absoluteDiv" style="top: 500px; left:100px;" class="absolute green" ></div>
31 </body>
32 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698