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

Unified Diff: third_party/WebKit/LayoutTests/fragmentation/single-line-cells-repeating-thead-tfoot-with-caption.html

Issue 2584143003: Repeat footers in paginated context (Closed)
Patch Set: bug 656232 Created 3 years, 4 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-repeating-thead-tfoot-with-caption.html
diff --git a/third_party/WebKit/LayoutTests/fragmentation/single-line-cells-repeating-thead-cell-straddles-page.html b/third_party/WebKit/LayoutTests/fragmentation/single-line-cells-repeating-thead-tfoot-with-caption.html
similarity index 52%
copy from third_party/WebKit/LayoutTests/fragmentation/single-line-cells-repeating-thead-cell-straddles-page.html
copy to third_party/WebKit/LayoutTests/fragmentation/single-line-cells-repeating-thead-tfoot-with-caption.html
index a70290a87d9e3a0d707034c1133aabb211b452fc..61d80d86876e39f35e8879ce4da57b446fef21b3 100644
--- a/third_party/WebKit/LayoutTests/fragmentation/single-line-cells-repeating-thead-cell-straddles-page.html
+++ b/third_party/WebKit/LayoutTests/fragmentation/single-line-cells-repeating-thead-tfoot-with-caption.html
@@ -1,19 +1,21 @@
<!DOCTYPE html>
<style>
table {
+ font-size: 16px;
border-collapse: collapse;
}
td, th {
background-color: #ddd;
border: 1px solid black;
}
-thead, tfoot, tr {
+thead, tr , tfoot{
break-inside: avoid;
}
</style>
-<p>crbug.com/675453: Content of a cell that spans multiple pages should avoid the repeating header.</p>
-<div style="columns:3; line-height: 20px; column-fill: auto; height:100px; background-color: yellow;">
+<p>crbug.com/656232: Rows and headers should repeat correctly in the presence of a top caption.</p>
+<div style="columns:3; line-height: 18px; column-fill: auto; height:91px; background-color: yellow;">
<table>
+ <caption>Caption</caption>
<thead>
<tr>
<th>Col 1</th>
@@ -23,22 +25,9 @@ thead, tfoot, tr {
<tbody>
<tr><td>Te</td><td>xt</td></tr>
<tr><td>Te</td><td>xt</td></tr>
- <tr><td>
- Te<br>
- Te<br>
- Te<br>
- Te<br>
- Te<br>
- Te<br>
- </td>
- <td>
- xt<br>
- xt<br>
- xt<br>
- xt<br>
- xt<br>
- xt<br>
- </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>

Powered by Google App Engine
This is Rietveld 408576698