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

Side by Side Diff: third_party/WebKit/LayoutTests/paint/invalidation/spv2/overflow-hidden-in-overflow-hidden-scrolled-expected.html

Issue 2010243002: Remove paint/invalidation/spv2 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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 <!DOCTYPE html>
2 <html>
3 <head>
4 <link rel="stylesheet" href="../../../fast/repaint/resources/default.css">
5 <style>
6 #outer {
7 position: relative;
8 overflow: hidden;
9 height: 200px;
10 }
11
12 section {
13 padding: 192px 0 0 0;
14 width: 200px;
15 }
16
17 div {
18 height: 190px;
19 }
20
21 .innerWrapper {
22 overflow: hidden;
23 }
24
25 .red {
26 background-color: red;
27 }
28
29 .green {
30 background-color: green;
31 }
32 </style>
33 <script>
34 function runTest()
35 {
36 document.getElementById("outer").scrollTop = 1000;
37 }
38 </script>
39 </head>
40 <body onload="runTest()">
41 <!-- Bug 71550 - REGRESSION (r93614): Content remains despite parent element being scrolled off page using javascript. -->
42 <!-- For the test to pass you should not see any RED, only green -->
43 <div id="outer">
44 <section>
45 <div class="innerWrapper">
46 <div id="ucp" class="green"></div>
47 </div>
48 </section>
49 </div>
50 </body>
51 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698