Index: third_party/WebKit/LayoutTests/fragmentation/single-line-cells-repeating-thead-tfoot-starts-middle-of-page-break-after-avoid-3.html |
diff --git a/third_party/WebKit/LayoutTests/fragmentation/single-line-cells-repeating-thead-tfoot-starts-middle-of-page-break-after-avoid-3.html b/third_party/WebKit/LayoutTests/fragmentation/single-line-cells-repeating-thead-tfoot-starts-middle-of-page-break-after-avoid-3.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..9f19b306e8d7733003933139f4a42c4ff2679402 |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/fragmentation/single-line-cells-repeating-thead-tfoot-starts-middle-of-page-break-after-avoid-3.html |
@@ -0,0 +1,38 @@ |
+<!DOCTYPE html> |
+<style> |
+table { |
+ border-collapse: collapse; |
+ font-size: 16px; |
+} |
+td, th { |
+ background-color: #ddd; |
+ border: 1px solid black; |
+} |
+thead, tr, tfoot { |
+ break-inside: avoid; |
+} |
+</style> |
+<p>crbug.com/656232: Headers and footers should repeat correctly in the presend of differently sized rows.</p> |
+<div style="columns:3; line-height: 20px; column-fill: auto; height:99px; background-color: yellow;"> |
+ <table> |
+ <thead> |
+ <tr> |
+ <th>Col 1</th> |
+ <th>Col 2</th> |
+ </tr> |
+ </thead> |
+ <tbody> |
+ <tr><td>Te</td><td>xt</td></tr> |
+ <tr><td>Te</td><td>xt</td></tr> |
+ <tr style="line-height: 29px;"><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> |
+ </table> |
+</div> |
+ |