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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/css/sticky/sticky-clip-rel-child-expected.html

Issue 2020103002: Fix sticky constraints and update sticky layer positions recursively after scroll. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Mark sticky positioned objects for positioned movement after frameview scroll. Created 4 years, 6 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 <!DOCTYPE html>
2 <style>
3 body {
4 height: 2000px;
5 margin: 0;
6 }
7 .sticky {
8 background: red;
9 height: 100px;
10 width: 100px;
11 overflow: hidden;
12 position: relative;
13 top: 100px;
14 }
15 .relative {
16 background: green;
17 height: 100px;
18 width: 100px;
19 position: relative;
20 }
21 </style>
22 <script>
23 function doTest() {
24 window.scrollTo(0, 100);
25 }
26 window.addEventListener('load', doTest, false);
27 </script>
28 <div class="sticky">
29 <div class="relative">
30 </div>
31 </div>
32
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698