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

Unified Diff: third_party/WebKit/LayoutTests/fragmentation/single-line-cells-repeating-thead-starts-middle-of-page-break-after-avoid-2.html

Issue 2388613002: Move below headers even when row doesn't require a strut (Closed)
Patch Set: bug 642814 Created 4 years, 2 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/fragmentation/single-line-cells-repeating-thead-starts-middle-of-page-break-after-avoid-2.html
diff --git a/third_party/WebKit/LayoutTests/fragmentation/single-line-cells-repeating-thead-starts-middle-of-page-break-after-avoid-2.html b/third_party/WebKit/LayoutTests/fragmentation/single-line-cells-repeating-thead-starts-middle-of-page-break-after-avoid-2.html
new file mode 100644
index 0000000000000000000000000000000000000000..891e0cc7bdf7e3c02b8d930228d6cd0a39ff9ec2
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fragmentation/single-line-cells-repeating-thead-starts-middle-of-page-break-after-avoid-2.html
@@ -0,0 +1,29 @@
+<!DOCTYPE html>
+<style>
+table {
+ font-size: 12pt;
mstensho (USE GERRIT) 2016/10/04 21:02:38 Would 16px work too?
+}
+td, th {
+ background-color: #ddd;
+ border: 1px solid black;
+}
+thead, tr {
+ break-inside: avoid;
+}
+</style>
+<p>crbug.com/624814: A table header group should not repeat on each page if we can't fit at least one content row below it.</p>
mstensho (USE GERRIT) 2016/10/04 21:02:38 That doesn't seem to be what this test is testing.
+<div style="-webkit-columns:3; line-height: 18px; column-fill: auto; height:91px; background-color: yellow;">
mstensho (USE GERRIT) 2016/10/04 21:02:38 No need for -webkit- prefix.
+ <br>
+ <table>
+ <thead>
+ <tr>
+ <th>Col 1</th>
+ <th>Col 2</th>
+ </tr>
+ </thead>
+ <tr><td>Te</td><td>xt</td></tr>
+ <tr><td>Te</td><td>xt</td></tr>
+ <tr><td>Te</td><td>xt</td></tr>
+ </table>
+</div>
+

Powered by Google App Engine
This is Rietveld 408576698