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

Side by Side Diff: third_party/WebKit/LayoutTests/fragmentation/single-line-cells-repeating-thead-cell-straddles-page-unsplittable-div.html

Issue 2584143003: Repeat footers in paginated context (Closed)
Patch Set: bug 656232 Created 3 years, 4 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 border-spacing: 0px;
6 }
7 td, th {
8 background-color: #ddd;
9 }
10 thead, tfoot, tr {
11 break-inside: avoid;
12 }
13 .float {
14 break-inside: avoid;
15 width: 50px;
16 height: 40px;
17 background-color: blue;
18 border: 1px solid black;
19 }
20 .spacer {
21 width: 50px;
22 height: 2px;
23 }
24 </style>
25 <p>crbug.com/675453: Content of a cell that spans multiple pages should avoid th e repeating header.</p>
26 <div style="columns:3; line-height: 20px; column-fill: auto; height:100px; backg round-color: yellow;">
27 <table>
28 <thead>
29 <tr>
30 <th>Col 1</th>
31 </tr>
32 </thead>
33 <tbody>
34 <tr><td>Text</td>
35 <tr>
36 <td>
37 <div class="spacer"></div>
38 <div class="float"></div>
39 <div class="float"></div>
40 </td>
41 </tr>
42 </tbody>
43 <tfoot>
44 <tr>
45 <th>Ft 2</th>
46 </tr>
47 </tfoot>
48 </table>
49 </div>
50
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698