OLD | NEW |
---|---|
(Empty) | |
1 <!DOCTYPE html> | |
2 <style> | |
3 table { | |
4 font-size: 16px; | |
5 } | |
6 td, th { | |
7 background-color: #ddd; | |
8 border: 1px solid black; | |
9 } | |
10 thead, tr { | |
11 break-inside: avoid; | |
12 } | |
13 .header { | |
14 font-weight: bold; | |
15 text-align: -internal-center | |
mstensho (USE GERRIT)
2016/10/24 08:39:35
This class is unused. Good thing too, since it use
| |
16 } | |
17 </style> | |
18 <p>crbug.com/652792: A row positioned naturally at the top of a column should mo ve below any repeating table header.</p> | |
19 <div style="columns:3; line-height: 18px; column-fill: auto; height:72px; backgr ound-color: yellow; position:relative;"> | |
20 <table> | |
21 <tr> | |
22 <th>Col 1</th> | |
23 <th>Col 2</th> | |
24 </tr> | |
25 <tr><td>Te</td><td>xt</td></tr> | |
26 <tr><td>Te</td><td>xt</td></tr> | |
27 </table> | |
28 <table style="position: absolute; top: 0px"> | |
29 <tr> | |
30 <th>Col 1</th> | |
31 <th>Col 2</th> | |
32 </tr> | |
33 <tr><td>Te</td><td>xt</td></tr> | |
34 <tr><td>Te</td><td>xt</td></tr> | |
35 </table> | |
36 </div> | |
37 | |
OLD | NEW |