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

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

Issue 2733633002: Handle nested position:sticky elements correctly (compositor) (Closed)
Patch Set: Add comment referencing crbug.com/702229 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 .scroller {
7 overflow: auto;
8 width: 200px;
9 height: 350px;
10 outline: 2px solid black;
11 }
12
13 .container {
14 width: 200px;
15 height: 700px;
16 }
17
18 .outerInline {
19 display: inline;
20 position: relative;
21 top: 200;
22 }
23
24 .innerInline {
25 display: inline;
26 position: relative;
27 top: 25px;
28 }
29 </style>
30
31 <script>
32 window.addEventListener('load', function() {
33 document.querySelector('.scroller').scrollTop = 200;
34 });
35 </script>
36
37 <div class="scroller">
38 <div class="container">
39 <div class="outerInline">1<div class="innerInline">2</div></div>
40 </div>
41 </div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698