OLD | NEW |
(Empty) | |
| 1 <!DOCTYPE html> |
| 2 <style> |
| 3 table { |
| 4 border-collapse: collapse; |
| 5 } |
| 6 td, th { |
| 7 background-color: #ddd; |
| 8 border: 1px solid black; |
| 9 } |
| 10 thead, tr, tfoot { |
| 11 break-inside: avoid; |
| 12 } |
| 13 </style> |
| 14 <p>crbug.com/656232: A table header and footer group repeats on each page, even
when the first header starts in the middle of the first page.</p> |
| 15 <div style="-webkit-columns:3; line-height: 20px; column-fill: auto; height:190p
x; background-color: yellow;"> |
| 16 <br> |
| 17 <br> |
| 18 <br> |
| 19 <table> |
| 20 <thead> |
| 21 <tr> |
| 22 <th>Col 1</th> |
| 23 <th>Col 2</th> |
| 24 </tr> |
| 25 </thead> |
| 26 <tbody> |
| 27 <tr><td>Te</td><td>xt</td></tr> |
| 28 <tr><td>Te</td><td>xt</td></tr> |
| 29 <tr><td>Te</td><td>xt</td></tr> |
| 30 <tr><td>Te</td><td>xt</td></tr> |
| 31 <tr><td>Te</td><td>xt</td></tr> |
| 32 <tr><td>Te</td><td>xt</td></tr> |
| 33 <tr><td>Te</td><td>xt</td></tr> |
| 34 <tr><td>Te</td><td>xt</td></tr> |
| 35 <tr><td>Te</td><td>xt</td></tr> |
| 36 <tr><td>Te</td><td>xt</td></tr> |
| 37 <tr><td>Te</td><td>xt</td></tr> |
| 38 <tr><td>Te</td><td>xt</td></tr> |
| 39 <tr><td>Te</td><td>xt</td></tr> |
| 40 <tr><td>Te</td><td>xt</td></tr> |
| 41 <tr><td>Te</td><td>xt</td></tr> |
| 42 <tr><td>Te</td><td>xt</td></tr> |
| 43 <tr><td>Te</td><td>xt</td></tr> |
| 44 <tr><td>Te</td><td>xt</td></tr> |
| 45 <tr><td>Te</td><td>xt</td></tr> |
| 46 <tr><td>Te</td><td>xt</td></tr> |
| 47 <tr><td>Te</td><td>xt</td></tr> |
| 48 <tr><td>Te</td><td>xt</td></tr> |
| 49 <tr><td>Te</td><td>xt</td></tr> |
| 50 </tbody> |
| 51 <tfoot> |
| 52 <tr> |
| 53 <th>Ft 1</th> |
| 54 <th>Ft 2</th> |
| 55 </tr> |
| 56 </tfoot> |
| 57 </table> |
| 58 </div> |
| 59 |
OLD | NEW |