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

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

Issue 2486393006: Include the source_to_parent offset when removing offset applied by main. (Closed)
Patch Set: Add unit test LayerTreeHostCommonTest.StickyPositionTopScrollParent Created 4 years, 1 month 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
« no previous file with comments | « third_party/WebKit/LayoutTests/compositing/overflow/composited-sticky-element.html ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <script>
2 onload = function() {
3 scroller.scrollTop = 100;
4 }
5 </script>
6 <style>
7 #scroller {
8 background: white;
9 height: 200px;
10 overflow: auto;
11 width: 200px;
12 }
13 .sticky {
14 position: relative;
15 top: 100px;
16 height: 50px;
17 background: green;
18 }
19 .spacer {
20 height: 2000px;
21 }
22 </style>
23 <div id="scroller">
24 <div class="sticky"></div>
25 <div class="spacer"></div>
26 </div>
OLDNEW
« no previous file with comments | « third_party/WebKit/LayoutTests/compositing/overflow/composited-sticky-element.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698