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

Unified Diff: third_party/WebKit/LayoutTests/fragmentation/single-line-cells-multiple-tables-caption-repeating-thead-with-border-spacing-at-top-of-row-3-expected.html

Issue 2466253004: Don't paint repeating header if only the border spacing exceeds page height (Closed)
Patch Set: bug 642814 Created 4 years, 1 month 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-multiple-tables-caption-repeating-thead-with-border-spacing-at-top-of-row-3-expected.html
diff --git a/third_party/WebKit/LayoutTests/fragmentation/single-line-cells-repeating-thead-with-border-spacing-at-top-of-row-expected.html b/third_party/WebKit/LayoutTests/fragmentation/single-line-cells-multiple-tables-caption-repeating-thead-with-border-spacing-at-top-of-row-3-expected.html
similarity index 54%
copy from third_party/WebKit/LayoutTests/fragmentation/single-line-cells-repeating-thead-with-border-spacing-at-top-of-row-expected.html
copy to third_party/WebKit/LayoutTests/fragmentation/single-line-cells-multiple-tables-caption-repeating-thead-with-border-spacing-at-top-of-row-3-expected.html
index 55daec894a401aad6ed7d0daecdb528c3b259324..10eb3e30d329229e57b2a9bd3191b1fd07a9008f 100644
--- a/third_party/WebKit/LayoutTests/fragmentation/single-line-cells-repeating-thead-with-border-spacing-at-top-of-row-expected.html
+++ b/third_party/WebKit/LayoutTests/fragmentation/single-line-cells-multiple-tables-caption-repeating-thead-with-border-spacing-at-top-of-row-3-expected.html
@@ -4,26 +4,23 @@ td, th {
background-color: #ddd;
border: 1px solid black;
}
-thead, tr {
+tr {
break-inside: avoid;
}
+.header {
+ font-weight: bold;
+}
</style>
<p>crbug.com/642814: A row positioned naturally at the top of a column should move below any repeating table header.</p>
-<div style="columns:3; line-height: 18px; column-fill: auto; height:72px; background-color: yellow; position:relative;">
+<div style="columns:3; line-height: 18px; column-fill: auto; height:74px; background-color: yellow;">
<table>
- <tr>
- <th>Col 1</th>
- <th>Col 2</th>
- </tr>
- <tr><td>Te</td><td>xt</td></tr>
+ <caption style="caption-side: top;">Caption</caption>
+ <tr><td class="header">Col 1</td><td class="header">Col 2</td></tr>
<tr><td>Te</td><td>xt</td></tr>
</table>
- <table style="position: absolute; top: 0px">
- <tr>
- <th>Col 1</th>
- <th>Col 2</th>
- </tr>
- <tr><td>Te</td><td>xt</td></tr>
+ <table>
+ <caption style="caption-side: top;">Caption</caption>
+ <tr><td class="header">Col 3</td><td class="header">Col 4</td></tr>
<tr><td>Te</td><td>xt</td></tr>
</table>
</div>

Powered by Google App Engine
This is Rietveld 408576698