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

Unified 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 side-by-side diff with in-line comments
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 »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/compositing/overflow/composited-sticky-element-expected.html
diff --git a/third_party/WebKit/LayoutTests/compositing/overflow/composited-sticky-element-expected.html b/third_party/WebKit/LayoutTests/compositing/overflow/composited-sticky-element-expected.html
new file mode 100644
index 0000000000000000000000000000000000000000..356061f630bd1be64805830b73e6f6227cffbb25
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/compositing/overflow/composited-sticky-element-expected.html
@@ -0,0 +1,26 @@
+<script>
+onload = function() {
+ scroller.scrollTop = 100;
+}
+</script>
+<style>
+#scroller {
+ background: white;
+ height: 200px;
+ overflow: auto;
+ width: 200px;
+}
+.sticky {
+ position: relative;
+ top: 100px;
+ height: 50px;
+ background: green;
+}
+.spacer {
+ height: 2000px;
+}
+</style>
+<div id="scroller">
+ <div class="sticky"></div>
+ <div class="spacer"></div>
+</div>
« 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