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

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

Issue 2698843004: Correct for enclosing layers scroll position in sticky_data->main_thread_offset (Closed)
Patch Set: Address reviewer comments Created 3 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/compositing/overflow/composited-sticky-element-enclosing-layers-expected.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/compositing/overflow/composited-sticky-element-enclosing-layers.html
diff --git a/third_party/WebKit/LayoutTests/compositing/overflow/composited-sticky-element-enclosing-layers.html b/third_party/WebKit/LayoutTests/compositing/overflow/composited-sticky-element-enclosing-layers.html
new file mode 100644
index 0000000000000000000000000000000000000000..e91a0a67d216be50e61c1f1336bb37aa92c3c235
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/compositing/overflow/composited-sticky-element-enclosing-layers.html
@@ -0,0 +1,33 @@
+<script>
+onload = function() {
+ scroller.scrollTop = 200;
+}
+</script>
+<style>
+.composited {
+ will-change: transform;
+}
+
+#scroller {
+ overflow: scroll;
+ height: 200px;
+ width: 200px;
+}
+
+.container {
+ height: 500px;
+ background: red;
+}
+
+.sticky {
+ position: sticky;
+ top: 25px;
+ height: 50px;
+ background: green;
+}
+</style>
+<div id="scroller" class="composited">
+ <div class="composited container">
+ <div class="composited sticky"></div>
+ </div>
+</div>
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/compositing/overflow/composited-sticky-element-enclosing-layers-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698