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

Unified Diff: third_party/WebKit/LayoutTests/fragmentation/table-row-dimensions-with-thead.html

Issue 2433473002: Move table row pagination strut insertion to the first layout pass. (Closed)
Patch Set: Rebaseline semi-manually thank you very much. 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/table-row-dimensions-with-thead.html
diff --git a/third_party/WebKit/LayoutTests/fragmentation/table-row-dimensions-with-thead.html b/third_party/WebKit/LayoutTests/fragmentation/table-row-dimensions-with-thead.html
new file mode 100644
index 0000000000000000000000000000000000000000..1914b918c8c4f7ff33ce87f86870967fe3139a55
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fragmentation/table-row-dimensions-with-thead.html
@@ -0,0 +1,35 @@
+<!DOCTYPE html>
+<style>
+body { overflow: scroll; }
+tr { break-inside:avoid; }
+</style>
+<div id="multicol" style="columns:4; column-fill:auto; column-gap:0; height:90px; line-height:20px; orphans:1; widows:1;">
+ <table style="width:50px;" cellspacing="0" cellpadding="0">
+ <thead style="break-inside:avoid;">
+ <!-- This is a table header that repeats in all columns the table occurs. -->
+ <tr data-offset-y="0" data-expected-height="20">
+ <td><br></td>
+ </tr>
+ </thead>
+ <tbody>
+ <tr data-offset-y="20" data-expected-height="60">
+ <td><br><br><br></td>
+ </tr>
+ <tr data-offset-y="110" data-expected-height="60">
+ <td><br><br><br></td>
+ </tr>
+ <tr data-offset-y="200" data-expected-height="60">
+ <td><br><br><br></td>
+ </tr>
+ </tbody>
+ <tfoot>
+ <tr data-offset-y="290" data-expected-height="60">
+ <td><br><br><br></td>
+ </tr>
+ </tfoot>
+ </table>
+</div>
+<script src="../resources/check-layout.js"></script>
+<script>
+ checkLayout("#multicol");
+</script>

Powered by Google App Engine
This is Rietveld 408576698