Index: third_party/WebKit/LayoutTests/fragmentation/single-line-cells-repeating-thead-starts-middle-of-page.html |
diff --git a/third_party/WebKit/LayoutTests/fragmentation/single-line-cells-repeating-thead-starts-middle-of-page.html b/third_party/WebKit/LayoutTests/fragmentation/single-line-cells-repeating-thead-starts-middle-of-page.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..41cc641476840dd66a3c338877df9fe079a44216 |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/fragmentation/single-line-cells-repeating-thead-starts-middle-of-page.html |
@@ -0,0 +1,53 @@ |
+<!DOCTYPE html> |
+<style> |
+table { |
+ border-collapse: collapse; |
+} |
+td, th { |
+ background-color: #ddd; |
+ border: 1px solid black; |
+} |
+thead, tr { |
+ break-inside: avoid; |
+} |
+</style> |
+<p>crbug.com/24826: A table header group repeats on each page, even when the first one 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> |
+ <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><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>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>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>Te</td><td>xt</td></tr> |
+ <tr><td>Te</td><td>xt</td></tr> |
+ <tr><td>Te</td><td>xt</td></tr> |
+ </tbody> |
+ </table> |
+</div> |
+ |