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

Side by Side Diff: third_party/WebKit/LayoutTests/paint/invalidation/spv2/fixed-scroll-in-empty-root-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/overflow/fixed-scroll-in-empty-root-layer.html -->
2 <!DOCTYPE html>
3 <script src="resources/paint-invalidation-test.js"></script>
4 <script>
5 function paintInvalidationTest() {
6 window.scrollBy(0, 200);
7 }
8 onload = runPaintInvalidationTest;
9 </script>
10 <body style="height: 2000px">
11 Tests invalidation of fixed element when scrolled in a page with empty root la yer. Passes if there is no red.
12 <div style="
13 position: fixed;
14 top: 50px;
15 left: 0;
16 width: 100px;
17 height: 100px;
18 background: green">
19 </div>
20 <!-- This div makes all of the contents of the page be in sublayers of the roo t layer, so root layer is empty. -->
21 <div style="
22 position: absolute;
23 z-index: -1;
24 backface-visibility: hidden;
25 top: 250px;
26 left: 0;
27 background-color: red;
28 width: 100px;
29 height: 100px">
30 </div>
31 </body>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698