OLD | NEW |
(Empty) | |
| 1 <!DOCTYPE html> |
| 2 <style> |
| 3 table { |
| 4 border-collapse: collapse; |
| 5 font-size: 16px; |
| 6 } |
| 7 td, th { |
| 8 background-color: #ddd; |
| 9 border: 1px solid black; |
| 10 } |
| 11 tr { |
| 12 break-inside: avoid; |
| 13 } |
| 14 .header { |
| 15 font-weight: bold; |
| 16 text-align: center |
| 17 } |
| 18 </style> |
| 19 <p>crbug.com/656232: Headers and footers should repeat correctly in the presend
of differently sized rows.</p> |
| 20 <div style="columns:3; line-height: 20px; column-fill: auto; height:99px; backgr
ound-color: yellow;"> |
| 21 <table> |
| 22 <tr><td class="header">Col 1</td><td class="header">Col 2</td></tr> |
| 23 <tr><td>Te</td><td>xt</td></tr> |
| 24 <tr><td>Te</td><td>xt</td></tr> |
| 25 <tr><td style="background-color: transparent; border: none; height: 3px;
"></td><td style="background-color: transparent; border: none;"></td></tr> |
| 26 <tr><td class="header">Ft 1</td><td class="header">Ft 2</td></tr> |
| 27 <tr><td class="header">Col 1</td><td class="header">Col 2</td></tr> |
| 28 <tr style="line-height: 29px;"><td>Te</td><td>xt</td></tr> |
| 29 <tr><td style="background-color: transparent; border: none; height: 17px
;"></td><td style="background-color: transparent; border: none;"></td></tr> |
| 30 <tr><td class="header">Ft 1</td><td class="header">Ft 2</td></tr> |
| 31 <tr><td class="header">Col 1</td><td class="header">Col 2</td></tr> |
| 32 <tr><td>Te</td><td>xt</td></tr> |
| 33 <tr><td class="header">Ft 1</td><td class="header">Ft 2</td></tr> |
| 34 </table> |
| 35 </div> |
| 36 |
OLD | NEW |