OLD | NEW |
(Empty) | |
| 1 <!DOCTYPE html> |
| 2 <style> |
| 3 td, th { |
| 4 background-color: #ddd; |
| 5 border: 1px solid black; |
| 6 } |
| 7 tr { |
| 8 break-inside: avoid; |
| 9 } |
| 10 .header { |
| 11 font-weight: bold; |
| 12 text-align: center; |
| 13 } |
| 14 </style> |
| 15 <p>crbug.com/656232: A row positioned naturally at the top of a column should mo
ve below any repeating table header. Footers should repeat at the bottom of each
page.</p> |
| 16 <div style="columns:3; line-height: 18px; column-fill: auto; height:110px; backg
round-color: yellow; position: relative;"> |
| 17 <table> |
| 18 <caption style="caption-side: top;">Caption</caption> |
| 19 <tr><td class="header">Col 1</td><td class="header">Col 2</td></tr> |
| 20 <tr><td>Te</td><td>xt</td></tr> |
| 21 <tr><td class="header">Ft 1</td><td class="header">Ft 2</td></tr> |
| 22 </table> |
| 23 <br> |
| 24 <table style="position: absolute; top: 0px"> |
| 25 <tr><td class="header">Col 1</td><td class="header">Col 2</td></tr> |
| 26 <tr><td>Te</td><td>xt</td></tr> |
| 27 <tr><td class="header">Ft 1</td><td class="header">Ft 2</td></tr> |
| 28 <caption style="caption-side: bottom;">Caption</caption> |
| 29 </table> |
| 30 <br><br><br><br><br> |
| 31 <table> |
| 32 <tr><td class="header">Col 3</td><td class="header">Col 4</td></tr> |
| 33 <tr><td>Te</td><td>xt</td></tr> |
| 34 <tr><td>Te</td><td>xt</td></tr> |
| 35 <tr><td class="header">Ft 3</td><td class="header">Ft 4</td></tr> |
| 36 </table> |
| 37 </div> |
| 38 |
OLD | NEW |