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

Unified Diff: LayoutTests/fast/css/sticky/sticky-vertically-overconstrained.html

Issue 267063007: Fix overconstrained behaviour for position: sticky. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Updated by review comments. Created 6 years, 7 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: LayoutTests/fast/css/sticky/sticky-vertically-overconstrained.html
diff --git a/LayoutTests/fast/css/sticky/sticky-top.html b/LayoutTests/fast/css/sticky/sticky-vertically-overconstrained.html
similarity index 87%
copy from LayoutTests/fast/css/sticky/sticky-top.html
copy to LayoutTests/fast/css/sticky/sticky-vertically-overconstrained.html
index 947536d852de49ee139922d98433c23021b628e7..4f551048c6c48f2a81c3deb9bd73b86c554f17ca 100644
--- a/LayoutTests/fast/css/sticky/sticky-top.html
+++ b/LayoutTests/fast/css/sticky/sticky-vertically-overconstrained.html
@@ -30,6 +30,7 @@
.sticky {
position: sticky;
top: 100px;
+ bottom: 500px;
background-color: green;
}
@@ -69,5 +70,9 @@
<div class="sticky box"></div>
</div>
</div>
+ <div style="position: absolute; top: 620px;">
+ This test checks that sticky positioned table theads are contained by their table.
+ There should be no red.
+ </div>
</body>
</html>

Powered by Google App Engine
This is Rietveld 408576698