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

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: 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..dc9c6c901f5f876f244d4ab6973d71c2203b3cb3
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fast/table/layout-section-when-table-height-changes-2.html
@@ -0,0 +1,14 @@
+<!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/check-layout.js"></script>
mstensho (USE GERRIT) 2017/02/20 13:01:30 Better use check-layout-th.js, to eliminate the -e
+<script>
+ document.body.offsetTop;
+ document.getElementById("table").style.height = "100px";
+ checkLayout('#table', results);
+</script>

Powered by Google App Engine
This is Rietveld 408576698