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