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

Unified Diff: third_party/WebKit/LayoutTests/compositing/overflow/composited-nested-sticky-deep-expected.html

Issue 2733633002: Handle nested position:sticky elements correctly (compositor) (Closed)
Patch Set: Addressed the easier reviewer comments. 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-deep-expected.html
diff --git a/third_party/WebKit/LayoutTests/compositing/overflow/composited-nested-sticky-deep-expected.html b/third_party/WebKit/LayoutTests/compositing/overflow/composited-nested-sticky-deep-expected.html
new file mode 100644
index 0000000000000000000000000000000000000000..178745ad276797abb4693f51b12ba149f643aa42
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/compositing/overflow/composited-nested-sticky-deep-expected.html
@@ -0,0 +1,58 @@
+<style>
+body {
+ margin: 0;
+}
+
+.container {
+ width: 200px;
+ height: 500px;
+ outline: 2px solid black;
+}
+
+.first {
+ position: absolute;
+ height: 500px;
+ width: 200px;
+ background-color: red;
+}
+
+.second {
+ position: absolute;
+ height: 400px;
+ width: 200px;
+ background-color: blue;
+}
+
+.third {
+ position: absolute;
+ height: 300px;
+ width: 200px;
+ background-color: pink;
+}
+
+.fourth {
+ position: absolute;
+ height: 200px;
+ width: 200px;
+ background-color: yellow;
+}
+
+.fifth {
+ position: absolute;
+ height: 100px;
+ width: 200px;
+ background-color: green;
+}
+</style>
+
+<div class="container">
+ <div class="first">
+ <div class="second">
+ <div class="third">
+ <div class="fourth">
+ <div class="fifth"></div>
+ </div>
+ </div>
+ </div>
+ </div>
+</div>

Powered by Google App Engine
This is Rietveld 408576698