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

Unified Diff: LayoutTests/fast/css-intrinsic-dimensions/height-replaced.html

Issue 13674002: Support intrinsic values for height, min-height and max-height (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: CSS table tests Created 7 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: LayoutTests/fast/css-intrinsic-dimensions/height-replaced.html
diff --git a/LayoutTests/fast/css-intrinsic-dimensions/height-replaced.html b/LayoutTests/fast/css-intrinsic-dimensions/height-replaced.html
new file mode 100644
index 0000000000000000000000000000000000000000..596407a5b9d944cd87c3969bba4a846346b07af6
--- /dev/null
+++ b/LayoutTests/fast/css-intrinsic-dimensions/height-replaced.html
@@ -0,0 +1,84 @@
+<!DOCTYPE html>
+<!--
+All divs here should shrinkwrap to fit their content, except for fill-available
+-->
+<style>
+ @import "resources/height-keyword-classes.css";
+
+ body * {
+ border: 2px solid red;
+ padding: 5px;
+ clear: both;
+ }
+
+ .container {
+ height: 500px;
+ border-color: blue;
+
+ display: inline-block;
+ width: 100px;
+ }
+
+ iframe {
+ width: 50px;
+ }
+
+ .small {
+ height: 1px;
+ }
+
+ .big {
+ height: 300px;
+ }
+
+ .really-big {
+ height: 1000px;
+ }
+</style>
+<div class="container">
+ <iframe class="min-content">
+ </iframe>
+
+ <iframe class="max-content">
+ </iframe>
+
+ <iframe class="fit-content">
+ </iframe>
+</div>
+
+<div class="container">
+ <iframe class="fill-available">
+ </iframe>
+</div>
+
+<div class="container">
+ <iframe class="small min-height-min-content">
+ </iframe>
+
+ <iframe class="small min-height-max-content">
+ </iframe>
+
+ <iframe class="small min-height-fit-content">
+ </iframe>
+</div>
+
+<div class="container">
+ <iframe class="small min-height-fill-available">
+ </iframe>
+</div>
+
+<div class="container">
+ <iframe class="big max-height-min-content">
+ </iframe>
+
+ <iframe class="big max-height-max-content">
+ </iframe>
+
+ <iframe class="big max-height-fit-content">
+ </iframe>
+</div>
+
+<div class="container">
+ <iframe class="really-big max-height-fill-available">
+ </iframe>
+</div>

Powered by Google App Engine
This is Rietveld 408576698