Index: third_party/WebKit/LayoutTests/fragmentation/single-cell-repeating-thead-break-inside-always-content-first-line.html |
diff --git a/third_party/WebKit/LayoutTests/fragmentation/single-cell-repeating-thead-break-inside-always-content-first-line.html b/third_party/WebKit/LayoutTests/fragmentation/single-cell-repeating-thead-break-inside-always-content-first-line.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..60a6fbb9dec257a55f20f557480e07429a887951 |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/fragmentation/single-cell-repeating-thead-break-inside-always-content-first-line.html |
@@ -0,0 +1,31 @@ |
+<!DOCTYPE html> |
+<style> |
+thead { |
+ break-inside: avoid; |
+} |
+</style> |
+<p>crbug.com/720620: The border on a div straddling a page-break doesn't overlap repeating headers.</p> |
+<div style="columns:2; line-height:20px; column-fill:auto; height:100px; orphans:1; widows:1; background:yellow;"> |
+ <table cellspacing="0" cellpadding="0" style="background:pink;"> |
+ <thead> |
+ <tr> |
+ <th>repeated header</th> |
+ </tr> |
+ </thead> |
+ <tbody> |
+ <tr> |
+ <td> |
+ <div> |
+ line1<br> |
+ line2<br> |
+ line3<br> |
+ <div style="break-inside:always; border-top: 40px solid black;"> |
mstensho (USE GERRIT)
2017/05/30 19:43:55
No such thing as break-inside:always. Guess you sh
|
+ line4<br> |
+ line5<br> |
+ </div> |
+ </div> |
+ </td> |
+ </tr> |
+ </tbody> |
+ </table> |
+</div> |