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

Side by Side Diff: third_party/WebKit/LayoutTests/fragmentation/single-line-cells-repeating-thead-tfoot-starts-middle-of-page-break-after-avoid-2-expected.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 font-size: 16px;
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: Headers and footers should repeat correctly in a table that doesn't start at the top of the page.</p>
19 <div style="columns:3; line-height:20px; column-fill: auto; height:120px; backgr ound-color: yellow;">
20 <br>
21 <table>
22 <tr><td class="header">Col 1</td><td class="header">Col 2</td></tr>
23 <tr><td>Te</td><td>xt</td></tr>
24 <tr><td style="background-color: transparent; border: none; height: 14px ;"></td><td style="background-color: transparent; border: none;"></td></tr>
25 <tr><td class="header">Ft 1</td><td class="header">Ft 2</td></tr>
26 </table>
27 <table style="padding-top: 2px;">
28 <tr><td class="header">Col 1</td><td class="header">Col 2</td></tr>
29 <tr><td>Te</td><td>xt</td></tr>
30 <tr><td>Te</td><td>xt</td></tr>
31 <tr><td class="header">Ft 1</td><td class="header">Ft 2</td></tr>
32 </table>
33 </div>
34
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698