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

Unified Diff: LayoutTests/fast/css-intrinsic-dimensions/height-replaced-expected.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-expected.html
diff --git a/LayoutTests/fast/css-intrinsic-dimensions/height-replaced-expected.html b/LayoutTests/fast/css-intrinsic-dimensions/height-replaced-expected.html
new file mode 100644
index 0000000000000000000000000000000000000000..ea6fb393d83a2e59b18e675686f66c9b60cff98e
--- /dev/null
+++ b/LayoutTests/fast/css-intrinsic-dimensions/height-replaced-expected.html
@@ -0,0 +1,85 @@
+<!DOCTYPE html>
+<style>
+ body * {
+ border: 2px solid red;
+ padding: 5px;
+ clear: both;
+ }
+
+ .container {
+ height: 500px;
+ border-color: blue;
+
+ display: inline-block;
+ width: 100px;
+ }
+
+ iframe {
+ width: 50px;
+ }
+
+ .fill-available {
+ height: 100%;
+ width: 64px;
+ box-sizing: border-box;
+ }
+</style>
+<div class="container">
+ <iframe>
+ height: min-content<br>on this box.
+ </iframe>
+
+ <iframe>
+ height: max-content<br>on this box.
+ </iframe>
+
+ <iframe>
+ height: fit-content<br>on this box.
+ </iframe>
+</div>
+
+<div class="container">
+ <iframe class="fill-available">
+ height: fill-available<br> on this box.
+ </iframe>
+</div>
+
+<div class="container">
+ <iframe>
+ min-height: min-content<br>on this box.
+ </iframe>
+
+ <iframe>
+ min-height: max-content<br>on this box.
+ </iframe>
+
+ <iframe>
+ min-height: fit-content<br>on this box.
+ </iframe>
+</div>
+
+<div class="container">
+ <iframe class="fill-available">
+ min-height: fill-available<br> on this box.
+ </iframe>
+</div>
+
+<div class="container">
+ <iframe>
+ max-height: min-content<br>on this box.
+ </iframe>
+
+ <iframe>
+ max-height: max-content<br>on this box.
+ </iframe>
+
+ <iframe>
+ max-height: fit-content<br>on this box.
+ </iframe>
+</div>
+
+<div class="container">
+ <iframe class="fill-available">
+ max-height: fill-available<br> on this box.
+ </iframe>
+</div>

Powered by Google App Engine
This is Rietveld 408576698