summaryrefslogtreecommitdiffstats
path: root/layout/reftests/box-sizing/intrinsic-1o.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/box-sizing/intrinsic-1o.html')
-rw-r--r--layout/reftests/box-sizing/intrinsic-1o.html13
1 files changed, 13 insertions, 0 deletions
diff --git a/layout/reftests/box-sizing/intrinsic-1o.html b/layout/reftests/box-sizing/intrinsic-1o.html
new file mode 100644
index 000000000..a46330705
--- /dev/null
+++ b/layout/reftests/box-sizing/intrinsic-1o.html
@@ -0,0 +1,13 @@
+<!DOCTYPE html>
+<body>
+ <div style="display: inline-block; background: blue;
+ box-sizing: border-box; height: 200px;
+ border: 50px transparent solid">
+ <div style="height: 100%; box-sizing: border-box;
+ border: 30px 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>
+ </div>
+</body>