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

Unified Diff: third_party/WebKit/LayoutTests/fast/table/layout-section-when-table-height-changes-2.html

Issue 2701163002: Avoid pathological layout on nested percent height tables (Closed)
Patch Set: bug 687061 Created 3 years, 10 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/fast/table/layout-section-when-table-height-changes-2.html
diff --git a/third_party/WebKit/LayoutTests/fast/table/layout-section-when-table-height-changes-2.html b/third_party/WebKit/LayoutTests/fast/table/layout-section-when-table-height-changes-2.html
new file mode 100644
index 0000000000000000000000000000000000000000..a672749ade56204b7220e9571c5acf8f0c5c3469
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fast/table/layout-section-when-table-height-changes-2.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<p>crbug.com/691968: There should be a blue square below.</p>
+<table id="table" style="border-spacing:0; width:100px; height:200px; background:blue;" data-expected-height=100>
+ <tr>
+ <td></td>
+ </tr>
+</table>
+<div id="results"></div>
+<script src="../../resources/testharness.js"></script>
+<script src="../../resources/testharnessreport.js"></script>
+<script src="../../resources/check-layout-th.js"></script>
+<script>
+ document.body.offsetTop;
+ document.getElementById("table").style.height = "100px";
+ checkLayout('#table', results);
+</script>

Powered by Google App Engine
This is Rietveld 408576698