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

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

Issue 2326303002: Don't repeat headers if at least one row of content doesn't fit (Closed)
Patch Set: bug 624814 Created 4 years, 3 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-expected.html
diff --git a/third_party/WebKit/LayoutTests/fragmentation/single-line-cells-repeating-thead-starts-middle-of-page.html b/third_party/WebKit/LayoutTests/fragmentation/single-line-cells-repeating-thead-starts-middle-of-page-break-after-avoid-expected.html
similarity index 88%
copy from third_party/WebKit/LayoutTests/fragmentation/single-line-cells-repeating-thead-starts-middle-of-page.html
copy to third_party/WebKit/LayoutTests/fragmentation/single-line-cells-repeating-thead-starts-middle-of-page-break-after-avoid-expected.html
index 41cc641476840dd66a3c338877df9fe079a44216..54f5c2f1e307ba2c2041378d806a3ea1c0465bcf 100644
--- a/third_party/WebKit/LayoutTests/fragmentation/single-line-cells-repeating-thead-starts-middle-of-page.html
+++ b/third_party/WebKit/LayoutTests/fragmentation/single-line-cells-repeating-thead-starts-middle-of-page-break-after-avoid-expected.html
@@ -7,15 +7,20 @@ td, th {
background-color: #ddd;
border: 1px solid black;
}
-thead, tr {
+tr {
break-inside: avoid;
}
</style>
-<p>crbug.com/24826: A table header group repeats on each page, even when the first one starts in the middle of the first page.</p>
+<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>
<div style="-webkit-columns:3; line-height: 20px; column-fill: auto; height:190px; background-color: yellow;">
<br>
<br>
<br>
+ <br>
+ <br>
+ <br>
+ <br>
+ <br>
<table>
<thead>
<tr>

Powered by Google App Engine
This is Rietveld 408576698