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

Side by Side Diff: third_party/WebKit/LayoutTests/fragmentation/single-line-cells-multiple-tables-caption-repeating-thead-tfoot-with-border-spacing-at-top-of-row.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 td, th { 3 td, th {
4 background-color: #ddd; 4 background-color: #ddd;
5 border: 1px solid black; 5 border: 1px solid black;
6 } 6 }
7 thead, tr { 7 thead, tr, tfoot {
8 break-inside: avoid; 8 break-inside: avoid;
9 } 9 }
10 </style> 10 </style>
11 <p>crbug.com/642814: A row positioned naturally at the top of a column should mo ve below any repeating table header.</p> 11 <p>crbug.com/656232: Headers and Footers should repeat correctly in the presence of bottom captions.</p>
12 <div style="columns:3; line-height: 18px; column-fill: auto; height:72px; backgr ound-color: yellow;"> 12 <div style="columns:3; line-height: 18px; column-fill: auto; height:112px; backg round-color: yellow;">
13 <table> 13 <table>
14 <thead> 14 <thead>
15 <tr> 15 <tr>
16 <th>Col 1</th> 16 <th>Col 1</th>
17 <th>Col 2</th> 17 <th>Col 2</th>
18 </tr> 18 </tr>
19 </thead> 19 </thead>
20 <tbody>
20 <tr><td>Te</td><td>xt</td></tr> 21 <tr><td>Te</td><td>xt</td></tr>
21 <tr><td>Te</td><td>xt</td></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><td>Te</td><td>xt</td></tr>
25 </tbody>
26 <tfoot>
27 <tr>
28 <th>Ft 1</th>
29 <th>Ft 2</th>
30 </tr>
31 </tfoot>
32 <caption style="caption-side: bottom;">Caption</caption>
24 </table> 33 </table>
25 </div> 34 </div>
26 35
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698