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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/compositing/overflow/composited-nested-sticky-table-expected.html
diff --git a/third_party/WebKit/LayoutTests/compositing/overflow/composited-nested-sticky-table-expected.html b/third_party/WebKit/LayoutTests/compositing/overflow/composited-nested-sticky-table-expected.html
new file mode 100644
index 0000000000000000000000000000000000000000..53be703c94f1ea186674baf06d0203cb03729f0c
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/compositing/overflow/composited-nested-sticky-table-expected.html
@@ -0,0 +1,38 @@
+<style>
+body {
+ margin: 0;
+}
+
+.scroller {
+ overflow: auto;
+ width: 100px;
+ height: 200px;
+ outline: 2px solid black;
+}
+
+.container {
+ height: 500px;
+ width: 50px;
+ background: red;
+}
+
+.marker {
+ height: 50px;
+ width: 50px;
+ position: relative;
+ top: 225px;
+ background: green;
+}
+</style>
+
+<script>
+window.addEventListener('load', function() {
+ document.querySelector('.scroller').scrollTop = 200;
+});
+</script>
+
+<div class="scroller">
+ <div class="container">
+ <div class="marker"></div>
+ </div>
+</div>

Powered by Google App Engine
This is Rietveld 408576698