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

Side by Side Diff: third_party/WebKit/LayoutTests/compositing/overflow/mixed-composited-nested-sticky-expected.html

Issue 2754983002: Composite sticky-positioned elements when they have composited descendants (Closed)
Patch Set: Address chrishtr comment Created 3 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 <style>
2 body {
3 margin: 0;
4 }
5
6 .container {
7 width: 200px;
8 height: 2000px;
9 }
10
11 .outerIndicator {
12 position: absolute;
13 top: 250px;
14 background-color: green;
15 width: 200px;
16 height: 200px;
17 }
18
19 .middleIndicator {
20 position: absolute;
21 top: 50px;
22 background-color: yellow;
23 width: 200px;
24 height: 100px;
25 }
26
27 .innerIndicator {
28 position: absolute;
29 top: 25px;
30 background-color: red;
31 width: 200px;
32 height: 50px;
33 }
34 </style>
35
36 <script>
37 if (window.testRunner)
38 testRunner.waitUntilDone();
39
40 function finishTest() {
41 window.scrollTo(0, 200);
42 if (window.testRunner)
43 testRunner.notifyDone();
44 }
45
46 window.addEventListener('load', function() {
47 requestAnimationFrame(function() {
48 requestAnimationFrame(finishTest);
49 });
50 });
51 </script>
52
53 <div class="container">
54 <div class="outerIndicator">
55 <div class="middleIndicator">
56 <div class="innerIndicator"></div>
57 </div>
58 </div>
59 </div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698