Chromium Code Reviews| Index: third_party/WebKit/LayoutTests/fragmentation/single-line-cells-repeating-thead-tfoot-starts-middle-of-page-break-after-avoid-2.html |
| diff --git a/third_party/WebKit/LayoutTests/fragmentation/single-line-cells-repeating-thead-starts-middle-of-page-break-after-avoid-2.html b/third_party/WebKit/LayoutTests/fragmentation/single-line-cells-repeating-thead-tfoot-starts-middle-of-page-break-after-avoid-2.html |
| similarity index 72% |
| copy from third_party/WebKit/LayoutTests/fragmentation/single-line-cells-repeating-thead-starts-middle-of-page-break-after-avoid-2.html |
| copy to third_party/WebKit/LayoutTests/fragmentation/single-line-cells-repeating-thead-tfoot-starts-middle-of-page-break-after-avoid-2.html |
| index 60de4845b893d5c058267b91f2dbb29177652da4..b5a19038056828258b0bd07fae15469ff0dd3e7e 100644 |
| --- a/third_party/WebKit/LayoutTests/fragmentation/single-line-cells-repeating-thead-starts-middle-of-page-break-after-avoid-2.html |
| +++ b/third_party/WebKit/LayoutTests/fragmentation/single-line-cells-repeating-thead-tfoot-starts-middle-of-page-break-after-avoid-2.html |
| @@ -7,11 +7,11 @@ td, th { |
| background-color: #ddd; |
|
mstensho (USE GERRIT)
2017/05/10 10:59:03
This test lacks an expectation. I assume you want
|
| border: 1px solid black; |
| } |
| -thead, tr { |
| +thead, tr, tfoot { |
| break-inside: avoid; |
| } |
| </style> |
| -<p>crbug.com/624814: A row positioned naturally at the top of a column should move below any repeating table header.</p> |
| +<p>crbug.com/656232: A row positioned naturally at the top of a column should move below any repeating table header.</p> |
| <div style="columns:3; line-height: 18px; column-fill: auto; height:91px; background-color: yellow;"> |
| <br> |
| <table> |
| @@ -21,9 +21,17 @@ thead, tr { |
| <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> |
| + </tbody> |
| + <tfoot> |
| + <tr> |
| + <th>Ft 1</th> |
| + <th>Ft 2</th> |
| + </tr> |
| + </tfoot> |
| </table> |
| </div> |