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

Unified Diff: LayoutTests/fast/replaced/max-height-percentage-quirks.html

Issue 360613003: Ensure we compute the min and max height of replaced elements to 'none' or 0 when appropriate. (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
Index: LayoutTests/fast/replaced/max-height-percentage-quirks.html
diff --git a/LayoutTests/fast/replaced/max-height-percentage-quirks.html b/LayoutTests/fast/replaced/max-height-percentage-quirks.html
new file mode 100644
index 0000000000000000000000000000000000000000..36875e156fe83a72cd89280e5bfc26a0e719f765
--- /dev/null
+++ b/LayoutTests/fast/replaced/max-height-percentage-quirks.html
@@ -0,0 +1,8 @@
+<style>
+ div#parent {height: 0px;}
+ img {max-height: 100%;}
+</style>
+<p>Test passes if there is a filled blue square.</p>
+<div id="parent">
+ <div id="child"><img src="resources/square-blue-100x100.png"></div>
+</div>

Powered by Google App Engine
This is Rietveld 408576698