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

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

Issue 2733633002: Handle nested position:sticky elements correctly (compositor) (Closed)
Patch Set: Addressed the easier reviewer comments. 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 .group {
7 position: relative;
8 width: 350px;
9 height: 200px;
10 }
11
12 .container {
13 width: 350px;
14 height: 180px;
15 outline: 2px solid black;
16 }
17
18 .outerBox {
19 position: absolute;
20 background-color: green;
21 width: 200px;
22 height: 180px;
23 }
24
25 .innerBox {
26 position: absolute;
27 background-color: red;
28 width: 100px;
29 height: 180px;
30 }
31 </style>
32
33 <div class="group">
34 <div class="container">
35 <div class="outerBox" style="left: 50px;">
36 <div class="innerBox" style="left: 0;"></div>
37 </div>
38 </div>
39 </div>
40
41 <div class="group">
42 <div class="container">
43 <div class="outerBox" style="left: 50px;">
44 <div class="innerBox" style="left: 50px;"></div>
45 </div>
46 </div>
47 </div>
48
49 <div class="group">
50 <div class="container">
51 <div class="outerBox" style="left: 50px;">
52 <div class="innerBox" style="left: 100px;"></div>
53 </div>
54 </div>
55 </div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698