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

Unified Diff: LayoutTests/fast/css/sticky/sticky-table-thead-top-expected.html

Issue 143653008: Enable sticky positioning for table elements. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Got better fix for containingBlock() from webkit and updated by review comments. Created 6 years, 11 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
« no previous file with comments | « LayoutTests/fast/css/sticky/sticky-table-thead-top.html ('k') | Source/core/css/resolver/StyleAdjuster.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/css/sticky/sticky-table-thead-top-expected.html
diff --git a/LayoutTests/fast/css/sticky/sticky-top-expected.html b/LayoutTests/fast/css/sticky/sticky-table-thead-top-expected.html
similarity index 83%
copy from LayoutTests/fast/css/sticky/sticky-top-expected.html
copy to LayoutTests/fast/css/sticky/sticky-table-thead-top-expected.html
index eca9bcf536dd40c957c8e1d3c7e86d1d2a43b8ea..ccb6f9173e9d3b2839641472b5bb4a93b6575488 100644
--- a/LayoutTests/fast/css/sticky/sticky-top-expected.html
+++ b/LayoutTests/fast/css/sticky/sticky-table-thead-top-expected.html
@@ -5,21 +5,23 @@
<style>
body {
margin: 0;
+ height: 2000px;
+ overflow: hidden; /* hide scrollbars */
}
-
+
.group {
display: inline-block;
position: relative;
width: 250px;
height: 500px;
}
-
+
.container {
width: 200px;
height: 400px;
outline: 2px solid black;
}
-
+
.box {
width: 200px;
height: 200px;
@@ -29,7 +31,7 @@
position: absolute;
background-color: green;
}
-
+
.indicator {
position: absolute;
top: 0;
@@ -59,5 +61,9 @@
<div class="sticky box" style="top: 0;"></div>
</div>
</div>
+ <div style="position: absolute; top: 520px;">
+ This test checks that sticky positioned table theads are contained by their table.
+ There should be no red.
+ </div>
</body>
</html>
« no previous file with comments | « LayoutTests/fast/css/sticky/sticky-table-thead-top.html ('k') | Source/core/css/resolver/StyleAdjuster.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698