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

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

Issue 2733633002: Handle nested position:sticky elements correctly (compositor) (Closed)
Patch Set: Revert float changes to unittests too 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: 100px;
9 height: 200px;
10 outline: 2px solid black;
11 }
12
13 .container {
14 height: 500px;
15 width: 50px;
16 background: red;
17 }
18
19 .marker {
20 height: 50px;
21 width: 50px;
22 position: relative;
23 top: 225px;
24 background: green;
25 }
26 </style>
27
28 <script>
29 window.addEventListener('load', function() {
30 document.querySelector('.scroller').scrollTop = 200;
31 });
32 </script>
33
34 <div class="scroller">
35 <div class="container">
36 <div class="marker"></div>
37 </div>
38 </div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698