Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(42)

Side by Side Diff: third_party/WebKit/LayoutTests/fragmentation/single-line-cells-repeating-thead-tfoot-with-caption.html

Issue 2584143003: Repeat footers in paginated context (Closed)
Patch Set: bug 656232 Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <style> 2 <style>
3 table { 3 table {
4 font-size: 16px; 4 font-size: 16px;
5 border-collapse: collapse;
5 } 6 }
6 td, th { 7 td, th {
7 background-color: #ddd; 8 background-color: #ddd;
8 border: 1px solid black; 9 border: 1px solid black;
9 } 10 }
10 thead, tr { 11 thead, tr , tfoot{
11 break-inside: avoid; 12 break-inside: avoid;
12 } 13 }
13 </style> 14 </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> 15 <p>crbug.com/656232: Rows and headers should repeat correctly in the presence of a top caption.</p>
15 <div style="columns:3; line-height: 18px; column-fill: auto; height:91px; backgr ound-color: yellow;"> 16 <div style="columns:3; line-height: 18px; column-fill: auto; height:91px; backgr ound-color: yellow;">
16 <br>
17 <table> 17 <table>
18 <caption>Caption</caption>
18 <thead> 19 <thead>
19 <tr> 20 <tr>
20 <th>Col 1</th> 21 <th>Col 1</th>
21 <th>Col 2</th> 22 <th>Col 2</th>
22 </tr> 23 </tr>
23 </thead> 24 </thead>
25 <tbody>
24 <tr><td>Te</td><td>xt</td></tr> 26 <tr><td>Te</td><td>xt</td></tr>
25 <tr><td>Te</td><td>xt</td></tr> 27 <tr><td>Te</td><td>xt</td></tr>
26 <tr><td>Te</td><td>xt</td></tr> 28 <tr><td>Te</td><td>xt</td></tr>
29 <tr><td>Te</td><td>xt</td></tr>
30 <tr><td>Te</td><td>xt</td></tr>
31 </tbody>
32 <tfoot>
33 <tr>
34 <th>Ft 1</th>
35 <th>Ft 2</th>
36 </tr>
37 </tfoot>
27 </table> 38 </table>
28 </div> 39 </div>
29 40
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698