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

Unified Diff: third_party/WebKit/LayoutTests/fragmentation/table-disable-fragmentation.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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fragmentation/table-disable-fragmentation-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/fragmentation/table-disable-fragmentation.html
diff --git a/third_party/WebKit/LayoutTests/fragmentation/table-disable-fragmentation.html b/third_party/WebKit/LayoutTests/fragmentation/table-disable-fragmentation.html
new file mode 100644
index 0000000000000000000000000000000000000000..606ddce8bbcc9ec048a6aef641052ba9d2c962ce
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fragmentation/table-disable-fragmentation.html
@@ -0,0 +1,39 @@
+<!DOCTYPE html>
+<style>
+ thead, tr { break-inside:avoid; }
+</style>
+<p>There should be hotpink, lime, cyan, yellow and blue squares below, stacked vertically.</p>
+<div id="container" style="columns:5; column-fill:auto; height:85px; line-height:40px;">
+ <table cellspacing="0" cellpadding="0">
+ <col style="width:40px;">
+ <thead>
+ <tr>
+ <td><br></td>
+ </tr>
+ </thead>
+ <tbody>
+ <tr style="background:hotpink;" data-offset-y="40" data-expected-height="40">
+ <td><br></td>
+ </tr>
+ <tr style="background:lime;" data-offset-y="80" data-expected-height="40">
+ <td><br></td>
+ </tr>
+ <tr style="background:cyan;" data-offset-y="120" data-expected-height="40">
+ <td><br></td>
+ </tr>
+ <tr style="background:yellow;" data-offset-y="160" data-expected-height="40">
+ <td><br></td>
+ </tr>
+ <tr style="background:blue;" data-offset-y="200" data-expected-height="40">
+ <td><br></td>
+ </tr>
+ </tbody>
+ </table>
+</div>
+<script src="../resources/check-layout.js"></script>
+<script>
+ document.body.offsetTop;
+ document.getElementById("container").style.columns = "auto";
+ document.getElementById("container").style.height = "auto";
+ checkLayout("#container");
+</script>
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fragmentation/table-disable-fragmentation-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698