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

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

Issue 2422163003: Account for border spacing correctly when repeating header groups (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-with-border-spacing-at-top-of-row-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-repeating-thead-with-border-spacing-at-top-of-row-expected.html
new file mode 100644
index 0000000000000000000000000000000000000000..34ab25dbe668446bafa5f64bd0ec31bd2525cff9
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fragmentation/single-line-cells-repeating-thead-with-border-spacing-at-top-of-row-expected.html
@@ -0,0 +1,37 @@
+<!DOCTYPE html>
+<style>
+table {
+ font-size: 16px;
+}
+td, th {
+ background-color: #ddd;
+ border: 1px solid black;
+}
+thead, tr {
+ break-inside: avoid;
+}
+.header {
+ font-weight: bold;
+ text-align: -internal-center
mstensho (USE GERRIT) 2016/10/24 08:39:35 This class is unused. Good thing too, since it use
+}
+</style>
+<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:72px; background-color: yellow; position:relative;">
+ <table>
+ <tr>
+ <th>Col 1</th>
+ <th>Col 2</th>
+ </tr>
+ <tr><td>Te</td><td>xt</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>
+ <tr><td>Te</td><td>xt</td></tr>
+ </table>
+</div>
+

Powered by Google App Engine
This is Rietveld 408576698