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

Unified Diff: third_party/WebKit/LayoutTests/fragmentation/single-line-cells-repeating-thead-tfoot-starts-middle-of-page-expected.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-repeating-thead-tfoot-starts-middle-of-page-expected.html
diff --git a/third_party/WebKit/LayoutTests/fragmentation/single-line-cells-repeating-thead-tfoot-starts-middle-of-page-expected.html b/third_party/WebKit/LayoutTests/fragmentation/single-line-cells-repeating-thead-tfoot-starts-middle-of-page-expected.html
new file mode 100644
index 0000000000000000000000000000000000000000..d0d648a582f94cefbfcf9a40cf5ad27b3cd1f85a
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fragmentation/single-line-cells-repeating-thead-tfoot-starts-middle-of-page-expected.html
@@ -0,0 +1,60 @@
+<!DOCTYPE html>
+<style>
+table {
+ border-collapse: collapse;
+}
+td, th {
+ background-color: #ddd;
+ border: 1px solid black;
+}
+tr {
+ break-inside: avoid;
+}
+.header {
+ font-weight: bold;
+ text-align: center
+}
+</style>
+<p>crbug.com/656232: A table header and footer group repeats on each page, even when the first header starts in the middle of the first page.</p>
+<div style="-webkit-columns:3; line-height: 20px; column-fill: auto; height:190px; background-color: yellow;">
+ <br>
+ <br>
+ <br>
+ <table>
+ <tr><td class="header">Col 1</td><td class="header">Col 2</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>
+ <tr><td class="header">Ft 1</td><td class="header">Ft 2</td></tr>
+ <tr><td class="header">Col 1</td><td class="header">Col 2</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>
+ <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 class="header">Ft 1</td><td class="header">Ft 2</td></tr>
+ <tr><td class="header">Col 1</td><td class="header">Col 2</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>
+ <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 class="header">Ft 1</td><td class="header">Ft 2</td></tr>
+ <tr><td class="header">Col 1</td><td class="header">Col 2</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>
+ <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 class="header">Ft 1</td><td class="header">Ft 2</td></tr>
+ <tr><td class="header">Col 1</td><td class="header">Col 2</td></tr>
+ <tr><td>Te</td><td>xt</td></tr>
+ <tr><td>Te</td><td>xt</td></tr>
+ <tr><td class="header">Ft 1</td><td class="header">Ft 2</td></tr>
+ </tbody>
+ </table>
+</div>
+

Powered by Google App Engine
This is Rietveld 408576698