Index: third_party/WebKit/LayoutTests/fragmentation/single-line-cells-repeating-thead-tfoot-with-two-captions.html |
diff --git a/third_party/WebKit/LayoutTests/fragmentation/single-line-cells-repeating-thead-tfoot-with-two-captions.html b/third_party/WebKit/LayoutTests/fragmentation/single-line-cells-repeating-thead-tfoot-with-two-captions.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..bd463b1adb6e503aac1d72651c33347127391763 |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/fragmentation/single-line-cells-repeating-thead-tfoot-with-two-captions.html |
@@ -0,0 +1,41 @@ |
+<!DOCTYPE html> |
+<style> |
+table { |
+ font-size: 16px; |
+ border-collapse: collapse; |
+} |
+td, th { |
+ background-color: #ddd; |
+ border: 1px solid black; |
+} |
+thead, tr, tfoot { |
+ break-inside: avoid; |
+} |
+</style> |
+<p>crbug.com/656232: Table headers and footers should repeat correctly in the presence of multiple top captions.</p> |
+<div style="columns:3; line-height: 18px; column-fill: auto; height:91px; background-color: yellow;"> |
+ <table> |
+ <caption>Caption</caption> |
+ <caption>Caption</caption> |
+ <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> |
+ </tbody> |
+ <tfoot> |
+ <tr> |
+ <th>Ft 1</th> |
+ <th>Ft 2</th> |
+ </tr> |
+ </tfoot> |
+ </table> |
+</div> |
+ |