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

Unified Diff: third_party/WebKit/LayoutTests/fast/table/percent-height-content-in-percent-height-cell-with-height-from-row.html

Issue 2441373002: Percent height content should respect the height of its containing cell (Closed)
Patch Set: bug 637811 Created 4 years, 1 month 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/percent-height-content-in-percent-height-cell-with-height-from-row.html
diff --git a/third_party/WebKit/LayoutTests/fast/table/percent-height-content-in-percent-height-cell-with-height-from-row.html b/third_party/WebKit/LayoutTests/fast/table/percent-height-content-in-percent-height-cell-with-height-from-row.html
new file mode 100644
index 0000000000000000000000000000000000000000..f0873da4d0b2ed7c69ed769a539a4aad47a601a6
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fast/table/percent-height-content-in-percent-height-cell-with-height-from-row.html
@@ -0,0 +1,38 @@
+<!DOCTYPE HTML>
+<style>
+#test {
+ background-color: green;
+ padding: 0px;
+ margin: 0px;
+}
+.full {
+ height: 100%;
+ width: 100%;
+}
+</style>
+<p>crbug.com/637811: There should be a green box below.</p>
+<table style="width: 100px;">
+ <tr>
+ <td>
+ <div style="height: 50px; width: 50px;"></div>
+ </td>
+ <td class="full">
+ <table id="test" class="full" data-expected-height=50 data-expected-width=40></table>
+ </td>
+ </tr>
+</table>
+<p>crbug.com/637811: There should be a green box below.</p>
+<table style="width: 100px;">
+ <tr>
+ <td>
+ <div style="height: 50px; width: 50px;"></div>
+ </td>
+ <td class="full">
+ <div id="test" class="full" data-expected-height=50 data-expected-width=40></div>
+ </td>
+ </tr>
+</table>
+<script src="../../resources/check-layout.js"></script>
+<script>
+ checkLayout("#test");
+</script>

Powered by Google App Engine
This is Rietveld 408576698