Index: third_party/WebKit/LayoutTests/fragmentation/single-line-cells-repeating-thead-cell-straddles-page-unsplittable-div.html |
diff --git a/third_party/WebKit/LayoutTests/fragmentation/single-line-cells-repeating-thead-cell-straddles-page-unsplittable-div.html b/third_party/WebKit/LayoutTests/fragmentation/single-line-cells-repeating-thead-cell-straddles-page-unsplittable-div.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..f3cd720e701808e8315502e5f77fd425faad268b |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/fragmentation/single-line-cells-repeating-thead-cell-straddles-page-unsplittable-div.html |
@@ -0,0 +1,50 @@ |
+<!DOCTYPE html> |
+<style> |
+table { |
+ border-collapse: collapse; |
+ border-spacing: 0px; |
+} |
+td, th { |
+ background-color: #ddd; |
+} |
+thead, tfoot, tr { |
+ break-inside: avoid; |
+} |
+.float { |
+ break-inside: avoid; |
+ width: 50px; |
+ height: 40px; |
+ background-color: blue; |
+ border: 1px solid black; |
+} |
+.spacer { |
+ width: 50px; |
+ height: 2px; |
+} |
+</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;"> |
+ <table> |
+ <thead> |
+ <tr> |
+ <th>Col 1</th> |
+ </tr> |
+ </thead> |
+ <tbody> |
+ <tr><td>Text</td> |
+ <tr> |
+ <td> |
+ <div class="spacer"></div> |
+ <div class="float"></div> |
+ <div class="float"></div> |
+ </td> |
+ </tr> |
+ </tbody> |
+ <tfoot> |
+ <tr> |
+ <th>Ft 2</th> |
+ </tr> |
+ </tfoot> |
+ </table> |
+</div> |
+ |