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 </style> |
| 11 <p>crbug.com/656232: A row positioned naturally at the top of a column should mo
ve below any repeating table header.</p> |
| 12 <div style="columns:3; line-height: 18px; column-fill: auto; height:110px; backg
round-color: yellow; position:relative;"> |
| 13 <table> |
| 14 <tr> |
| 15 <th>Col 1</th> |
| 16 <th>Col 2</th> |
| 17 </tr> |
| 18 <tr><td>Te</td><td>xt</td></tr> |
| 19 <tr><td>Te</td><td>xt</td></tr> |
| 20 <tr><td style="background-color: transparent; border: none; height: 6px;
"></td><td style="background-color: transparent; border: none;"></td></tr> |
| 21 <tr> |
| 22 <th>Ft 1</th> |
| 23 <th>Ft 2</th> |
| 24 </tr> |
| 25 </table> |
| 26 <br> |
| 27 <table style="position: absolute; top: 0px"> |
| 28 <tr> |
| 29 <th>Col 1</th> |
| 30 <th>Col 2</th> |
| 31 </tr> |
| 32 <tr><td>Te</td><td>xt</td></tr> |
| 33 <tr><td>Te</td><td>xt</td></tr> |
| 34 <tr><td style="background-color: transparent; border: none; height: 6px;
"></td><td style="background-color: transparent; border: none;"></td></tr> |
| 35 <tr> |
| 36 <th>Ft 1</th> |
| 37 <th>Ft 2</th> |
| 38 </tr> |
| 39 </table> |
| 40 <br><br><br><br><br><br><br><br><br><br><br> |
| 41 <table style="position: absolute; top: 0px"> |
| 42 <tr> |
| 43 <th>Col 1</th> |
| 44 <th>Col 2</th> |
| 45 </tr> |
| 46 <tr><td>Te</td><td>xt</td></tr> |
| 47 <tr><td>Te</td><td>xt</td></tr> |
| 48 <tr> |
| 49 <th>Ft 1</th> |
| 50 <th>Ft 2</th> |
| 51 </tr> |
| 52 </table> |
| 53 </div> |
| 54 |
OLD | NEW |