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

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

Issue 2584143003: Repeat footers in paginated context (Closed)
Patch Set: bug 656232 Created 3 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: third_party/WebKit/LayoutTests/fragmentation/single-line-cells-multiple-tables-caption-repeating-thead-tfoot-with-border-spacing-at-top-of-row.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-tfoot-with-border-spacing-at-top-of-row.html
similarity index 57%
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-tfoot-with-border-spacing-at-top-of-row.html
index 648e11c6e48eccfb4be25b3a595b17192d077dcc..0a1b3f2d4987799971b114bbc3f835207c94f8f9 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-tfoot-with-border-spacing-at-top-of-row.html
@@ -4,12 +4,12 @@ td, th {
background-color: #ddd;
border: 1px solid black;
}
-thead, tr {
+thead, tr, tfoot {
break-inside: avoid;
}
</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;">
+<p>crbug.com/656232: Headers and Footers should repeat correctly in the presence of bottom captions.</p>
+<div style="columns:3; line-height: 18px; column-fill: auto; height:112px; background-color: yellow;">
<table>
<thead>
<tr>
@@ -17,10 +17,19 @@ thead, tr {
<th>Col 2</th>
</tr>
</thead>
+ <tbody>
<tr><td>Te</td><td>xt</td></tr>
<tr><td>Te</td><td>xt</td></tr>
<tr><td>Te</td><td>xt</td></tr>
<tr><td>Te</td><td>xt</td></tr>
+ </tbody>
+ <tfoot>
+ <tr>
+ <th>Ft 1</th>
+ <th>Ft 2</th>
+ </tr>
+ </tfoot>
+ <caption style="caption-side: bottom;">Caption</caption>
</table>
</div>

Powered by Google App Engine
This is Rietveld 408576698