gecko-dev/layout/html/tests/block/bugs/153429c.html

38 строки
823 B
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Testcase, correctness bug fixed by patch to bug 153429</title>
<style type="text/css">
div {
border: medium solid purple;
padding: 0.25em;
margin: 1px;
}
#contain {
width: 400px;
}
#one {
margin-bottom: 100px;
}
#two {
float: left;
width: 370px;
height: 200px;
}
</style>
</head>
<body>
<div id="contain">
<div id="one">This <code>div</code> (1) has a 100 px bottom margin.</div>
<div id="two">This <code>div</code> (2) is floating left and is 200px tall.</div>
This is text that should end up just below <code>div</code> (2) since it
can't fit next to it. There should not be a large gap above it.
</div>