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

Unified Diff: LayoutTests/fast/css-intrinsic-dimensions/height-positioned-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-positioned-replaced.html
diff --git a/LayoutTests/fast/css-intrinsic-dimensions/height-positioned-replaced.html b/LayoutTests/fast/css-intrinsic-dimensions/height-positioned-replaced.html
new file mode 100644
index 0000000000000000000000000000000000000000..e4bca131152e2e9cdfa006a9318bdd09ebe2feaf
--- /dev/null
+++ b/LayoutTests/fast/css-intrinsic-dimensions/height-positioned-replaced.html
@@ -0,0 +1,119 @@
+<!DOCTYPE html>
+<!--
+iframes have an intrinsic size of 300x150
+-->
+<style>
+ @import "resources/height-keyword-classes.css";
+
+ body * {
+ border: 2px solid red;
+ padding: 5px;
+ clear: both;
+ }
+
+ .container {
+ height: 600px;
+ border-color: blue;
+
+ display: inline-block;
+ width: 100px;
+ }
+
+ .position-container {
+ border-color: green;
+ position: relative;
+ height: 180px;
+ }
+
+ .position-container > * {
+ position: absolute;
+ border: 5px solid pink;
+ width: 50px;
+ }
+
+ .f-a-container {
+ height: 100%;
+ box-sizing: border-box;
+ }
+
+ .small {
+ height: 1px;
+ }
+
+ .big {
+ height: 300px;
+ }
+
+ .really-big {
+ height: 1000px;
+ }
+</style>
+<div class="container">
+ <div class="position-container">
+ <iframe class="min-content">
+ </iframe>
+ </div>
+ <div class="position-container">
+ <iframe class="max-content">
+ </iframe>
+ </div>
+ <div class="position-container">
+ <iframe class="fit-content">
+ </iframe>
+ </div>
+</div>
+
+<div class="container">
+ <div class="position-container f-a-container">
+ <iframe class="fill-available">
+ </iframe>
+ </div>
+</div>
+
+<div class="container">
+ <div class="position-container">
+ <iframe class="small min-height-min-content">
+ </iframe>
+
+ </div>
+ <div class="position-container">
+ <iframe class="small min-height-max-content">
+ </iframe>
+
+ </div>
+ <div class="position-container">
+ <iframe class="small min-height-fit-content">
+ </iframe>
+ </div>
+</div>
+
+<div class="container">
+ <div class="position-container f-a-container">
+ <iframe class="small min-height-fill-available">
+ </iframe>
+ </div>
+</div>
+
+<div class="container">
+ <div class="position-container">
+ <iframe class="big max-height-min-content">
+ </iframe>
+
+ </div>
+ <div class="position-container">
+ <iframe class="big max-height-max-content">
+ </iframe>
+
+ </div>
+ <div class="position-container">
+ <iframe class="big max-height-fit-content">
+ </iframe>
+ </div>
+</div>
+
+<div class="container">
+ <div class="position-container f-a-container">
+ <iframe class="really-big max-height-fill-available">
+ </iframe>
+ </div>
+</div>

Powered by Google App Engine
This is Rietveld 408576698