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

Unified Diff: third_party/WebKit/LayoutTests/fragmentation/single-line-cells-repeating-thead-with-caption-expected.html

Issue 2422953003: Repeating header groups should align properly when captions are present (Closed)
Patch Set: 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-with-caption-expected.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-with-caption-expected.html
similarity index 52%
copy from third_party/WebKit/LayoutTests/fragmentation/single-line-cells-repeating-thead-starts-middle-of-page-break-after-avoid-2.html
copy to third_party/WebKit/LayoutTests/fragmentation/single-line-cells-repeating-thead-with-caption-expected.html
index 60de4845b893d5c058267b91f2dbb29177652da4..5dacd4a1df47e05f5ad112bd82ad1d6f8b9a8c48 100644
--- 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-with-caption-expected.html
@@ -2,6 +2,7 @@
<style>
table {
font-size: 16px;
+ border-collapse: collapse;
}
td, th {
background-color: #ddd;
@@ -10,17 +11,19 @@ td, th {
thead, tr {
break-inside: avoid;
}
+.header {
+ font-weight: bold;
+ text-align: -internal-center
+}
</style>
-<p>crbug.com/624814: A row positioned naturally at the top of a column should move below any repeating table header.</p>
+<p>crbug.com/652792: 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:91px; background-color: yellow;">
- <br>
<table>
- <thead>
- <tr>
- <th>Col 1</th>
- <th>Col 2</th>
- </tr>
- </thead>
+ <caption>Caption</caption>
+ <tr><td class="header">Col 1</td><td class="header">Col 2</td></tr>
+ <tr><td>Te</td><td>xt</td></tr>
+ <tr><td>Te</td><td>xt</td></tr>
+ <tr><td class="header">Col 1</td><td class="header">Col 2</td></tr>
<tr><td>Te</td><td>xt</td></tr>
<tr><td>Te</td><td>xt</td></tr>
<tr><td>Te</td><td>xt</td></tr>

Powered by Google App Engine
This is Rietveld 408576698