| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <style> | 2 <style> |
| 3 table { | 3 table { |
| 4 font-size: 16px; | 4 font-size: 16px; |
| 5 } | 5 } |
| 6 td, th { | 6 td, th { |
| 7 background-color: #ddd; | 7 background-color: #ddd; |
| 8 border: 1px solid black; | 8 border: 1px solid black; |
| 9 } | 9 } |
| 10 tr { | 10 tr { |
| 11 break-inside: avoid; | 11 break-inside: avoid; |
| 12 } | 12 } |
| 13 </style> | 13 </style> |
| 14 <p>crbug.com/624814: A row positioned naturally at the top of a column should mo
ve below any repeating table header.</p> | 14 <p>crbug.com/624814: A row positioned naturally at the top of a column should mo
ve below any repeating table header.</p> |
| 15 <div style="columns:3; line-height: 18px; column-fill: auto; height:91px; backgr
ound-color: yellow; position: relative;"> | 15 <div style="columns:3; line-height: 18px; column-fill: auto; height:105px; backg
round-color: yellow; position: relative;"> |
| 16 <br> | 16 <br> |
| 17 <table> | 17 <table> |
| 18 <tr> | 18 <tr> |
| 19 <th>Col 1</th> | 19 <th>Col 1</th> |
| 20 <th>Col 2</th> | 20 <th>Col 2</th> |
| 21 </tr> | 21 </tr> |
| 22 <tr><td>Te</td><td>xt</td></tr> | 22 <tr><td>Te</td><td>xt</td></tr> |
| 23 <tr><td>Te</td><td>xt</td></tr> | 23 <tr><td>Te</td><td>xt</td></tr> |
| 24 </table> | 24 </table> |
| 25 <br> |
| 25 <table style="position: absolute; top: 0px"> | 26 <table style="position: absolute; top: 0px"> |
| 26 <tr> | 27 <tr> |
| 27 <th>Col 1</th> | 28 <th>Col 1</th> |
| 28 <th>Col 2</th> | 29 <th>Col 2</th> |
| 29 </tr> | 30 </tr> |
| 30 <tr><td>Te</td><td>xt</td></tr> | 31 <tr><td>Te</td><td>xt</td></tr> |
| 31 </table> | 32 </table> |
| 32 </div> | 33 </div> |
| 33 | 34 |
| OLD | NEW |