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

Side by Side Diff: third_party/WebKit/LayoutTests/fragmentation/single-line-cells-repeating-thead-tfoot-starts-middle-of-page-break-after-avoid-expected.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
(Empty)
1 <!DOCTYPE html>
2 <style>
3 table {
4 border-collapse: collapse;
5 }
6 td, th {
7 background-color: #ddd;
8 border: 1px solid black;
9 }
10 tr {
11 break-inside: avoid;
12 }
13 .header {
14 font-weight: bold;
15 text-align: center
16 }
17 </style>
18 <p>crbug.com/656232: The header group should probably repeat on each page here b ut our current heuristic prevents headers that don't fit at least one content ro w below them from doing so.</p>
19 <div style="-webkit-columns:3; line-height: 20px; column-fill: auto; height:190p x; background-color: yellow;">
20 <br>
21 <br>
22 <br>
23 <br>
24 <br>
25 <br>
26 <br>
27 <br>
28 <table>
29 <thead>
30 <tr>
31 <th>Col 1</th>
32 <th>Col 2</th>
33 </tr>
34 </thead>
35 <tbody>
36 <tr><td>Te</td><td>xt</td></tr>
37 <tr><td>Te</td><td>xt</td></tr>
38 <tr><td>Te</td><td>xt</td></tr>
39 <tr><td>Te</td><td>xt</td></tr>
40 <tr><td>Te</td><td>xt</td></tr>
41 <tr><td>Te</td><td>xt</td></tr>
42 <tr><td>Te</td><td>xt</td></tr>
43 <tr><td class="header">Ft 1</td><td class="header">Ft 2</td></tr>
44 <tr><td>Te</td><td>xt</td></tr>
45 <tr><td>Te</td><td>xt</td></tr>
46 <tr><td>Te</td><td>xt</td></tr>
47 <tr><td>Te</td><td>xt</td></tr>
48 <tr><td>Te</td><td>xt</td></tr>
49 <tr><td>Te</td><td>xt</td></tr>
50 <tr><td>Te</td><td>xt</td></tr>
51 <tr><td class="header">Ft 1</td><td class="header">Ft 2</td></tr>
52 <tr><td>Te</td><td>xt</td></tr>
53 <tr><td>Te</td><td>xt</td></tr>
54 <tr><td>Te</td><td>xt</td></tr>
55 <tr><td>Te</td><td>xt</td></tr>
56 <tr><td>Te</td><td>xt</td></tr>
57 <tr><td>Te</td><td>xt</td></tr>
58 <tr><td>Te</td><td>xt</td></tr>
59 <tr><td class="header">Ft 1</td><td class="header">Ft 2</td></tr>
60 <tr><td>Te</td><td>xt</td></tr>
61 <tr><td>Te</td><td>xt</td></tr>
62 <tr><td class="header">Ft 1</td><td class="header">Ft 2</td></tr>
63 </tbody>
64 </table>
65 </div>
66
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698