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

Unified Diff: third_party/WebKit/LayoutTests/fast/images/percentage-height-image-with-auto-height-container-computes-as-percentage.html

Issue 1868013002: Percent height in auto height containers no longer computes as auto (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@303728-6
Patch Set: Updated Created 4 years, 8 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: third_party/WebKit/LayoutTests/fast/images/percentage-height-image-with-auto-height-container-computes-as-percentage.html
diff --git a/third_party/WebKit/LayoutTests/fast/images/percentage-height-image-with-auto-height-container-computes-as-percentage.html b/third_party/WebKit/LayoutTests/fast/images/percentage-height-image-with-auto-height-container-computes-as-percentage.html
new file mode 100644
index 0000000000000000000000000000000000000000..e62da986255cb6c3f94fde6bf9013a0cece29d38
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fast/images/percentage-height-image-with-auto-height-container-computes-as-percentage.html
@@ -0,0 +1,9 @@
+<!DOCTYPE html>
+<style>
+img {
+ height:100%;
+ max-height:50px;
+}
+</style>
+<p>crbug.com/396717: An image with a percentage height in an auto height container does not treat the height as auto.</p>
+<img src="resources/lenna.png" />
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/images/percentage-height-image-with-auto-height-container-computes-as-percentage-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698