2012-09-30 06:42:29 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<!--
|
|
|
|
Any copyright is dedicated to the Public Domain.
|
|
|
|
http://creativecommons.org/publicdomain/zero/1.0/
|
|
|
|
-->
|
|
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
|
|
<head>
|
|
|
|
<style>
|
|
|
|
div.flexbox {
|
|
|
|
height: 50px;
|
|
|
|
width: 50px;
|
|
|
|
border: 2px dotted black;
|
2012-10-15 19:42:43 +00:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2012-09-30 06:42:29 +00:00
|
|
|
}
|
|
|
|
fieldset {
|
|
|
|
width: 50px;
|
|
|
|
height: 50px;
|
|
|
|
background: purple;
|
2012-12-05 00:47:43 +00:00
|
|
|
border: 1px dotted green;
|
2013-03-28 06:33:20 +00:00
|
|
|
/* min-height: min-content isn't supported yet (bug 852367), but we'd
|
|
|
|
like this to work when it is supported. */
|
|
|
|
min-height: -moz-min-content;
|
2012-09-30 06:42:29 +00:00
|
|
|
}
|
|
|
|
</style>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<div class="flexbox">
|
|
|
|
<fieldset/>
|
|
|
|
</div>
|
|
|
|
</body>
|
|
|
|
</html>
|