summaryrefslogtreecommitdiffstats
path: root/layout/reftests/box-sizing/intrinsic-1n.html
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--layout/reftests/box-sizing/intrinsic-1n.html10
1 files changed, 10 insertions, 0 deletions
diff --git a/layout/reftests/box-sizing/intrinsic-1n.html b/layout/reftests/box-sizing/intrinsic-1n.html
new file mode 100644
index 0000000000..5328e03ab6
--- /dev/null
+++ b/layout/reftests/box-sizing/intrinsic-1n.html
@@ -0,0 +1,10 @@
+<!DOCTYPE html>
+<body>
+ <div style="display: inline-block; background: blue;
+ height: 40px;
+ border: 80px transparent solid">
+ <!-- We need to be shorter than intrinsic height, so use a max-height -->
+ <img src="lime100x100.png"
+ style="max-height: 100%; display: block; visibility: hidden;">
+ </div>
+</body>