| <!DOCTYPE html> |
| <style> |
| td, th { |
| background-color: #ddd; |
| border: 1px solid black; |
| } |
| thead, tr { |
| break-inside: avoid; |
| } |
| </style> |
| <p>crbug.com/642814: 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:74px; background-color: yellow;"> |
| <table> |
| <caption style="caption-side: top;">Caption</caption> |
| <thead> |
| <tr> |
| <th>Col 1</th> |
| <th>Col 2</th> |
| </tr> |
| </thead> |
| <tr><td>Te</td><td>xt</td></tr> |
| </table> |
| <table> |
| <caption style="caption-side: top;">Caption</caption> |
| <thead> |
| <tr> |
| <th>Col 3</th> |
| <th>Col 4</th> |
| </tr> |
| </thead> |
| <tr><td>Te</td><td>xt</td></tr> |
| </table> |
| </div> |
| |