Files
tubestation/layout/reftests/css-display/display-flow-root-disabled-001-ref.html
2016-12-28 15:26:35 +01:00

52 lines
1.1 KiB
HTML

<!DOCTYPE HTML>
<!--
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
-->
<html><head>
<meta charset="utf-8">
<title>Reference: display:flow-root (disabled)</title>
<link rel="author" title="Mats Palmgren" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1322191">
<style type="text/css">
html,body {
color:black; background-color:white; font:16px/1 monospace; padding:0; margin:0;
}
.float {
float: left;
width: 20px;
height: 40px;
background: pink;
}
</style>
</head>
<body>
<div style="border:1px solid">
<span>
<div style="margin: 20px 0">x</div>
</span>
</div>
<div style="border:1px solid">
<span><div class="float"></div></span>
</div>
<div style="border:1px solid">
<div class="float"></div>
<span style="border:1px solid">x</span>
</div>
<span>
<span style="display:inline-block; margin-top:20px"><div>x</div></span>
</span>
<div style="margin-top:20px"></div>
<span style="border:3px solid; height:10px">
<!-- this tests that a flow-root fills the available width, and that 'height' applies -->
</span>
</body>
</html>