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

Unified Diff: third_party/WebKit/LayoutTests/fragmentation/single-cell-repeating-thead-break-inside-always-content-first-line.html

Issue 2882043002: Update our treatment of repeating headers in tables (Closed)
Patch Set: bug 720620 Created 3 years, 7 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-cell-repeating-thead-break-inside-always-content-first-line.html
diff --git a/third_party/WebKit/LayoutTests/fragmentation/single-cell-repeating-thead-break-inside-always-content-first-line.html b/third_party/WebKit/LayoutTests/fragmentation/single-cell-repeating-thead-break-inside-always-content-first-line.html
new file mode 100644
index 0000000000000000000000000000000000000000..60a6fbb9dec257a55f20f557480e07429a887951
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fragmentation/single-cell-repeating-thead-break-inside-always-content-first-line.html
@@ -0,0 +1,31 @@
+<!DOCTYPE html>
+<style>
+thead {
+ break-inside: avoid;
+}
+</style>
+<p>crbug.com/720620: The border on a div straddling a page-break doesn't overlap repeating headers.</p>
+<div style="columns:2; line-height:20px; column-fill:auto; height:100px; orphans:1; widows:1; background:yellow;">
+ <table cellspacing="0" cellpadding="0" style="background:pink;">
+ <thead>
+ <tr>
+ <th>repeated header</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td>
+ <div>
+ line1<br>
+ line2<br>
+ line3<br>
+ <div style="break-inside:always; border-top: 40px solid black;">
mstensho (USE GERRIT) 2017/05/30 19:43:55 No such thing as break-inside:always. Guess you sh
+ line4<br>
+ line5<br>
+ </div>
+ </div>
+ </td>
+ </tr>
+ </tbody>
+ </table>
+</div>

Powered by Google App Engine
This is Rietveld 408576698