OLD | NEW |
(Empty) | |
| 1 <!DOCTYPE html> |
| 2 <style> |
| 3 table { |
| 4 border-collapse: collapse; |
| 5 border-spacing: 0px; |
| 6 } |
| 7 td, th { |
| 8 background-color: #ddd; |
| 9 } |
| 10 tr { |
| 11 break-inside: avoid; |
| 12 } |
| 13 .header { |
| 14 font-weight: bold; |
| 15 text-align: center |
| 16 } |
| 17 .float { |
| 18 break-inside: avoid; |
| 19 width: 50px; |
| 20 height: 40px; |
| 21 background-color: blue; |
| 22 border: 1px solid black; |
| 23 } |
| 24 .spacer { |
| 25 width: 50px; |
| 26 height: 2px; |
| 27 } |
| 28 </style> |
| 29 <p>crbug.com/675453: Content of a cell that spans multiple pages should avoid th
e repeating header.</p> |
| 30 <div style="columns:3; line-height: 20px; column-fill: auto; height:100px; backg
round-color: yellow;"> |
| 31 <table> |
| 32 <tr><td class="header">Col 1</td></tr> |
| 33 <tr><td>Text</td></tr> |
| 34 <tr><td style="height: 32px;"></td></tr> |
| 35 <tr><td class="header">Ft 2</td></tr> |
| 36 <tr><td class="header">Col 1</td></tr> |
| 37 <tr><td style="padding-top: 0px;"><div class="float"</td></tr> |
| 38 <tr><td style="height: 11px;"></td></tr> |
| 39 <tr><td class="header">Ft 2</td></tr> |
| 40 <tr><td class="header">Col 1</td></tr> |
| 41 <tr><td style="padding-top: 0px;"><div class="float"</td></tr> |
| 42 <tr><td class="header">Ft 2</td></tr> |
| 43 </table> |
| 44 </div> |
OLD | NEW |