Index: third_party/WebKit/LayoutTests/fragmentation/single-line-cells-self-painting-thead-break-inside-on-thead-only.html |
diff --git a/third_party/WebKit/LayoutTests/fragmentation/single-line-cells-self-painting-thead-break-inside-on-thead-only.html b/third_party/WebKit/LayoutTests/fragmentation/single-line-cells-self-painting-thead-break-inside-on-thead-only.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..321199143f33740291a492cd6a479fc48ddc9ef1 |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/fragmentation/single-line-cells-self-painting-thead-break-inside-on-thead-only.html |
@@ -0,0 +1,51 @@ |
+<!DOCTYPE html> |
+<style> |
+table { |
+ border-collapse: collapse; |
+} |
+td, th { |
+ background-color: #ddd; |
+ border: 1px solid black; |
+} |
+thead { |
+ break-inside: avoid; |
+ position: absolute; |
+} |
+</style> |
+<p>crbug.com/24826: A self-painting table header group does not repeat on each page, even with break-inside:avoid specified.</p> |
+<div style="-webkit-columns:3; line-height: 20px; column-fill: auto; height:190px; 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><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> |
+ |