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

Unified Diff: third_party/WebKit/LayoutTests/fast/table/div-height-inside-auto-table-cell-is-auto.html

Issue 1591043002: Treat percent-height boxes inside auto-height cells as auto (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@3_cell_height
Patch Set: make layout tests all pass Created 4 years, 11 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/div-height-inside-auto-table-cell-is-auto.html
diff --git a/third_party/WebKit/LayoutTests/fast/table/div-height-inside-auto-table-cell-is-auto.html b/third_party/WebKit/LayoutTests/fast/table/div-height-inside-auto-table-cell-is-auto.html
new file mode 100644
index 0000000000000000000000000000000000000000..361e307cccc667deebce815cc595b84d611fa893
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fast/table/div-height-inside-auto-table-cell-is-auto.html
@@ -0,0 +1,27 @@
+<!doctype html>
+<style>
+#parent {
+ height: 100px;
+ width: 100px;
+}
+
+#child {
+ height: 100%;
+ width: 100%;
+ background: red;
+}
+</style>
+
+There should be no red square below.
+<table id="parent">
+ <tr>
+ <td>
+ <div id="child" data-expected-height="0"></div>
+ </td>
+ </tr>
+</table>
+
+<script src="../../resources/check-layout.js"></script>
+<script>
+checkLayout('#child');
mstensho (USE GERRIT) 2016/01/21 20:21:33 I suggest that you check #parent instead (which wi
dgrogan 2016/01/22 00:08:09 Good call. Done.
+</script>

Powered by Google App Engine
This is Rietveld 408576698