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

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: add TODO about table exception 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/table/div-height-inside-auto-table-cell-is-auto-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..0f6dafe908ed037e7529e5d5ca6001bfe87ac21e
--- /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('#parent');
+</script>
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/table/div-height-inside-auto-table-cell-is-auto-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698