mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-08 20:47:44 +00:00
a3cb31110c
--HG-- rename : layout/reftests/bugs/solidblue.png => layout/reftests/flexbox/solidblue.png
56 lines
1.2 KiB
HTML
56 lines
1.2 KiB
HTML
<?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: 140px;
|
|
margin-right: 5px;
|
|
font-size: 8px;
|
|
border: 1px dotted black;
|
|
float: left;
|
|
}
|
|
div.flexbox > * {
|
|
margin-bottom: 20px;
|
|
border: 1px dashed green;
|
|
background: lightblue;
|
|
width: 40px;
|
|
}
|
|
div.smallSize { height: 5px; }
|
|
div.smallFlexBasis { height: 2px; }
|
|
div.zeroHeight { height: 0; }
|
|
|
|
</style>
|
|
</head>
|
|
<body>
|
|
|
|
<div class="flexbox">
|
|
<div>a b</div>
|
|
<div>a b</div>
|
|
<div>a b</div>
|
|
</div>
|
|
|
|
<div class="flexbox smallSize">
|
|
<div>a b</div>
|
|
<div>a b</div>
|
|
<div>a b</div>
|
|
</div>
|
|
|
|
<div class="flexbox">
|
|
<div>a b</div>
|
|
<div class="smallSize">a b</div>
|
|
<div class="smallFlexBasis">a b</div>
|
|
</div>
|
|
|
|
<div class="flexbox smallSize">
|
|
<div class="zeroHeight">a b</div>
|
|
<div class="zeroHeight">a b</div>
|
|
<div class="zeroHeight">a b</div>
|
|
</div>
|
|
|
|
</body>
|
|
</html>
|