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

Unified Diff: third_party/WebKit/LayoutTests/fragmentation/single-line-cells-multiple-tables-caption-repeating-thead-with-border-spacing-at-top-of-row-2.html

Issue 2466253004: Don't paint repeating header if only the border spacing exceeds page height (Closed)
Patch Set: bug 642814 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
Index: third_party/WebKit/LayoutTests/fragmentation/single-line-cells-multiple-tables-caption-repeating-thead-with-border-spacing-at-top-of-row-2.html
diff --git a/third_party/WebKit/LayoutTests/fragmentation/single-line-cells-repeating-thead-with-border-spacing-at-top-of-row.html b/third_party/WebKit/LayoutTests/fragmentation/single-line-cells-multiple-tables-caption-repeating-thead-with-border-spacing-at-top-of-row-2.html
similarity index 63%
copy from third_party/WebKit/LayoutTests/fragmentation/single-line-cells-repeating-thead-with-border-spacing-at-top-of-row.html
copy to third_party/WebKit/LayoutTests/fragmentation/single-line-cells-multiple-tables-caption-repeating-thead-with-border-spacing-at-top-of-row-2.html
index 648e11c6e48eccfb4be25b3a595b17192d077dcc..79281608e6c66e9854bbc14c29f475a51002587b 100644
--- a/third_party/WebKit/LayoutTests/fragmentation/single-line-cells-repeating-thead-with-border-spacing-at-top-of-row.html
+++ b/third_party/WebKit/LayoutTests/fragmentation/single-line-cells-multiple-tables-caption-repeating-thead-with-border-spacing-at-top-of-row-2.html
@@ -9,8 +9,9 @@ thead, tr {
}
</style>
<p>crbug.com/642814: A row positioned naturally at the top of a column should move below any repeating table header.</p>
-<div style="columns:3; line-height: 18px; column-fill: auto; height:72px; background-color: yellow;">
+<div style="columns:3; line-height: 18px; column-fill: auto; height:74px; background-color: yellow;">
<table>
+ <caption style="caption-side: top;">Caption</caption>
<thead>
<tr>
<th>Col 1</th>
@@ -18,8 +19,15 @@ thead, tr {
</tr>
</thead>
<tr><td>Te</td><td>xt</td></tr>
- <tr><td>Te</td><td>xt</td></tr>
- <tr><td>Te</td><td>xt</td></tr>
+ <caption style="caption-side: bottom;">Caption</caption>
+ </table>
+ <table>
+ <thead>
+ <tr>
+ <th>Col 3</th>
+ <th>Col 4</th>
+ </tr>
+ </thead>
<tr><td>Te</td><td>xt</td></tr>
</table>
</div>

Powered by Google App Engine
This is Rietveld 408576698