| <!DOCTYPE html> |
| <style> |
| table { |
| font-size: 16px; |
| border-collapse: collapse; |
| } |
| td, th { |
| background-color: #ddd; |
| } |
| 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> |
| </tbody> |
| <tfoot> |
| <tr> |
| <th>Ft 1</th> |
| <th>Ft 2</th> |
| </tr> |
| </tfoot> |
| </table> |
| </div> |
| |