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

Unified Diff: third_party/WebKit/LayoutTests/fragmentation/tbody-before-thead.html

Issue 2421613002: Lay out table children in visual order, and set position and size. (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/tbody-before-thead.html
diff --git a/third_party/WebKit/LayoutTests/fragmentation/tbody-before-thead.html b/third_party/WebKit/LayoutTests/fragmentation/tbody-before-thead.html
new file mode 100644
index 0000000000000000000000000000000000000000..41a5d2d19c075a50f8235bebe69da53d1e6d8c4e
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fragmentation/tbody-before-thead.html
@@ -0,0 +1,30 @@
+<!DOCTYPE html>
+<style>
+ body { overflow:scroll; } /* A second layout pass might hide bugs. */
+</style>
+<p>There should be a blue, a cyan, and another blue square below, stacked vertically.</p>
+<div id="multicol" style="columns:3; column-gap:0; column-fill:auto; width:60px; height:99px; line-height:20px; orphans:1; widows:1;">
+ <br>
+ <br>
+ <br>
+ <table cellspacing="0" cellpadding="0">
+ <tbody>
+ <tr data-expected-height="60">
+ <td data-expected-height="60"><br><br><br></td>
+ <td data-expected-height="60" style="background:blue;">
+ <div data-offset-y="20" data-expected-height="20" style="width:20px; background:cyan;"><br></div>
+ </td>
+ </tr>
+ </tbody>
+ <thead>
+ <tr>
+ <td style="vertical-align:top;"><br><br></td>
+ <td style="vertical-align:top;"><br><br></td>
+ </tr>
+ </thead>
+ </table>
+</div>
+<script src="../resources/check-layout.js"></script>
+<script>
+ checkLayout("#multicol");
+</script>

Powered by Google App Engine
This is Rietveld 408576698