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

Unified 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, 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
Index: third_party/WebKit/LayoutTests/compositing/overflow/composited-sticky-element-enclosing-layers-expected.html
diff --git a/third_party/WebKit/LayoutTests/compositing/overflow/composited-sticky-element-enclosing-layers-expected.html b/third_party/WebKit/LayoutTests/compositing/overflow/composited-sticky-element-enclosing-layers-expected.html
new file mode 100644
index 0000000000000000000000000000000000000000..c434b5b2fd8355a511379dac12e4b652f1803a25
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/compositing/overflow/composited-sticky-element-enclosing-layers-expected.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;
+}
+
+.relative {
+ position: relative;
+ top: 225px;
+ height: 50px;
+ background: green;
+}
+</style>
+<div id="scroller" class="composited">
+ <div class="composited container">
+ <div class="composited relative"></div>
+ </div>
+</div>

Powered by Google App Engine
This is Rietveld 408576698