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 tr { |
| 11 break-inside: avoid; |
| 12 } |
| 13 .header { |
| 14 font-weight: bold; |
| 15 text-align: center |
| 16 } |
| 17 </style> |
| 18 <p>crbug.com/656232: A table header and footer group repeats on each page.</p> |
| 19 <div style="-webkit-columns:3; line-height: 20px; column-fill: auto; height:190p
x; background-color: yellow;"> |
| 20 <table> |
| 21 <tr><td class="header">Col 1</td><td class="header">Col 2</td></tr> |
| 22 <tr><td>Te</td><td>xt</td></tr> |
| 23 <tr><td>Te</td><td>xt</td></tr> |
| 24 <tr><td>Te</td><td>xt</td></tr> |
| 25 <tr><td>Te</td><td>xt</td></tr> |
| 26 <tr><td>Te</td><td>xt</td></tr> |
| 27 <tr><td>Te</td><td>xt</td></tr> |
| 28 <tr><td class="header">Ft 1</td><td class="header">Ft 2</td></tr> |
| 29 <tr><td class="header">Col 1</td><td class="header">Col 2</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 class="header">Ft 1</td><td class="header">Ft 2</td></tr> |
| 37 <tr><td class="header">Col 1</td><td class="header">Col 2</td></tr> |
| 38 <tr><td style="line-height: 30px;">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 class="header">Ft 1</td><td class="header">Ft 2</td></tr> |
| 44 <tr><td class="header">Col 1</td><td class="header">Col 2</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 <tr><td>Te</td><td>xt</td></tr> |
| 51 <tr><td class="header">Ft 1</td><td class="header">Ft 2</td></tr> |
| 52 </tbody> |
| 53 </table> |
| 54 </div> |
| 55 |
OLD | NEW |