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

Side by Side Diff: third_party/WebKit/LayoutTests/paint/invalidation/spv2/scroll-in-transformed-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 fast/repaint/scroll-in-transformed-layer.html -->
2 <html>
3 <head>
4 <link rel="stylesheet" href="../../../fast/repaint/resources/default.css"></ style>
5 <script src="resources/paint-invalidation-test.js" type="text/javascript"></ script>
6 <script type="text/javascript">
7 function paintInvalidationTest()
8 {
9 var moveMeElement = document.getElementById('moveMe');
10 moveMeElement.scrollTop = 100;
11 moveMeElement.scrollLeft = 50;
12 var classes = moveMeElement.getAttribute("class");
13 moveMeElement.setAttribute("class", classes + " rotated");
14 }
15 </script>
16 </head>
17 <body style="height:2000px;" onload="runPaintInvalidationTest()">
18 <!-- You should see 1 green rectangle rotated in the output and no red. -->
19 <div id="moveMe" style="top: 150px; left: 100px" class="absolute clipped">
20 <div class="absolute green" style="top: 100px; left: 50px"></div>
21 <div class="absolute red" style="top: 0px; left: 0px;"></div>
22 </div>
23 </body>
24 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698