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

Side by Side Diff: third_party/WebKit/LayoutTests/compositing/overflow/composited-sticky-element-enclosing-layers-expected.html

Issue 2698843004: Correct for enclosing layers scroll position in sticky_data->main_thread_offset (Closed)
Patch Set: Address 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 <script>
2 onload = function() {
3 scroller.scrollTop = 200;
4 }
5 </script>
6 <style>
7 .composited {
8 will-change: transform;
9 }
10
11 #scroller {
12 overflow: scroll;
13 height: 200px;
14 width: 200px;
15 }
16
17 .container {
18 height: 500px;
19 background: red;
20 }
21
22 .relative {
23 position: relative;
24 top: 225px;
25 height: 50px;
26 background: green;
27 }
28 </style>
29 <div id="scroller" class="composited">
30 <div class="composited container">
31 <div class="composited relative"></div>
32 </div>
33 </div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698