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

Unified Diff: third_party/WebKit/LayoutTests/fragmentation/single-line-cells-repeating-thead-cell-straddles-page.html

Issue 2587673003: Content of cell should avoid repeating headers when it straddles multiple pages (Closed)
Patch Set: bug 675453 Created 4 years 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fragmentation/single-line-cells-repeating-thead-cell-straddles-page-expected.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/fragmentation/single-line-cells-repeating-thead-cell-straddles-page.html
diff --git a/third_party/WebKit/LayoutTests/fragmentation/single-line-cells-repeating-thead-cell-straddles-page.html b/third_party/WebKit/LayoutTests/fragmentation/single-line-cells-repeating-thead-cell-straddles-page.html
new file mode 100644
index 0000000000000000000000000000000000000000..a70290a87d9e3a0d707034c1133aabb211b452fc
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fragmentation/single-line-cells-repeating-thead-cell-straddles-page.html
@@ -0,0 +1,51 @@
+<!DOCTYPE html>
+<style>
+table {
+ border-collapse: collapse;
+}
+td, th {
+ background-color: #ddd;
+ border: 1px solid black;
+}
+thead, tfoot, tr {
+ break-inside: avoid;
+}
+</style>
+<p>crbug.com/675453: Content of a cell that spans multiple pages should avoid the repeating header.</p>
+<div style="columns:3; line-height: 20px; column-fill: auto; height:100px; background-color: yellow;">
+ <table>
+ <thead>
+ <tr>
+ <th>Col 1</th>
+ <th>Col 2</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr><td>Te</td><td>xt</td></tr>
+ <tr><td>Te</td><td>xt</td></tr>
+ <tr><td>
+ Te<br>
+ Te<br>
+ Te<br>
+ Te<br>
+ Te<br>
+ Te<br>
+ </td>
+ <td>
+ xt<br>
+ xt<br>
+ xt<br>
+ xt<br>
+ xt<br>
+ xt<br>
+ </td></tr>
+ </tbody>
+ <tfoot>
+ <tr>
+ <th>Ft 1</th>
+ <th>Ft 2</th>
+ </tr>
+ </tfoot>
+ </table>
+</div>
+
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fragmentation/single-line-cells-repeating-thead-cell-straddles-page-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698