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

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

Issue 2733633002: Handle nested position:sticky elements correctly (compositor) (Closed)
Patch Set: Fix unittest Created 3 years, 9 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: 500px;
9 outline: 2px solid black;
10 }
11
12 .first {
13 position: absolute;
14 height: 500px;
15 width: 200px;
16 background-color: red;
17 }
18
19 .second {
20 position: absolute;
21 height: 400px;
22 width: 200px;
23 background-color: blue;
24 }
25
26 .third {
27 position: absolute;
28 height: 300px;
29 width: 200px;
30 background-color: pink;
31 }
32
33 .fourth {
34 position: absolute;
35 height: 200px;
36 width: 200px;
37 background-color: yellow;
38 }
39
40 .fifth {
41 position: absolute;
42 height: 100px;
43 width: 200px;
44 background-color: green;
45 }
46 </style>
47
48 <div class="container">
49 <div class="first">
50 <div class="second">
51 <div class="third">
52 <div class="fourth">
53 <div class="fifth"></div>
54 </div>
55 </div>
56 </div>
57 </div>
58 </div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698