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

Unified Diff: third_party/WebKit/LayoutTests/fast/table/percent-height-overflow-auto-content-in-cell.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-overflow-auto-content-in-cell.html
diff --git a/third_party/WebKit/LayoutTests/fast/table/percent-height-overflow-auto-content-in-cell.html b/third_party/WebKit/LayoutTests/fast/table/percent-height-overflow-auto-content-in-cell.html
new file mode 100644
index 0000000000000000000000000000000000000000..a833cb73de152235fa12241a4f9c97079b149f84
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fast/table/percent-height-overflow-auto-content-in-cell.html
@@ -0,0 +1,22 @@
+<!DOCTYPE html>
+<style>
+table {
+ height: 100px;
+}
+#content {
+ height: 100%;
+ width: 100%;
+ overflow: auto;
+}
+</style>
+<table class="test" data-expected-height=100>
+ <tr>
+ <td class="test" data-expected-height=96><div id="content" class="test" data-expected-height=94><img src="../images/resources/green-256x256.jpg"></div></td>
+ </tr>
+</table>
+<script src="../../resources/check-layout.js"></script>
+<p> crbug.com/637811: Percent height overflow auto content in a cell should not flex the height of the cell. </p>
+<div id="output"></div>
+<script>
+checkLayout('.test', output);
+</script>

Powered by Google App Engine
This is Rietveld 408576698