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 thead, tr { | 10 thead, tr, tfoot { |
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/656232: 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;"> | 15 <div style="columns:3; line-height: 18px; column-fill: auto; height:91px; backgr
ound-color: yellow;"> |
16 <br> | 16 <br> |
17 <table> | 17 <table> |
18 <thead> | 18 <thead> |
19 <tr> | 19 <tr> |
20 <th>Col 1</th> | 20 <th>Col 1</th> |
21 <th>Col 2</th> | 21 <th>Col 2</th> |
22 </tr> | 22 </tr> |
23 </thead> | 23 </thead> |
| 24 <tbody> |
24 <tr><td>Te</td><td>xt</td></tr> | 25 <tr><td>Te</td><td>xt</td></tr> |
25 <tr><td>Te</td><td>xt</td></tr> | 26 <tr><td>Te</td><td>xt</td></tr> |
26 <tr><td>Te</td><td>xt</td></tr> | 27 <tr><td>Te</td><td>xt</td></tr> |
| 28 </tbody> |
| 29 <tfoot> |
| 30 <tr> |
| 31 <th>Ft 1</th> |
| 32 <th>Ft 2</th> |
| 33 </tr> |
| 34 </tfoot> |
27 </table> | 35 </table> |
28 </div> | 36 </div> |
29 | 37 |
OLD | NEW |