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

Unified Diff: LayoutTests/fast/replaced/available-height-for-content.html

Issue 407753002: Calculate the correct available height for content (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Updated Created 6 years, 5 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 | LayoutTests/fast/replaced/available-height-for-content-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/replaced/available-height-for-content.html
diff --git a/LayoutTests/fast/replaced/available-height-for-content.html b/LayoutTests/fast/replaced/available-height-for-content.html
new file mode 100644
index 0000000000000000000000000000000000000000..fef3c8491ee4a37c616c8b7381d0c6c59e9ba2fe
--- /dev/null
+++ b/LayoutTests/fast/replaced/available-height-for-content.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+ <script src="../../resources/check-layout.js"></script>
+ <style>
+ div { width: 200px; min-height: 1px; height: 20px; border: 1px solid green; padding: 50px;}
+ img { margin:0; padding:0; border:0; width:100%; height: 100%; background: silver}
+ </style>
+<p>Ensure we calculate the available height for replaced content correctly.</p>
+<div>
+ <img src="" data-expected-height=20>
+</div>
+<script>
+ checkLayout('img');
+</script>
+
« no previous file with comments | « no previous file | LayoutTests/fast/replaced/available-height-for-content-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698