gecko/layout/html/tests/block/bugs/4831-a.html

36 lines
992 B
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
<html>
<head>
<title>Bug 4831</title>
<style type="text/css">
p.test { margin: 0; border: 10px solid; }
p.left { float: left; }
p.right { float: right; }
p.half { width: 50%; }
p.quarter { width: 25%; }
</style>
</head>
<body>
<p>
The top of paragraph four should be vertically aligned with the top of
paragraph three.
</p>
<hr>
<p class="test left half">
one one one one one one one one one one one one one one
one one one one one one one one one one one one one one
</p>
<p class="test right half">
two two two two two two two two two two two
two two two two two two two two two two two
</p>
<p class="test right half">
three three three three three three three three three three
three three three three three three three three three three
</p>
<p class="test left quarter">
four four four four four four four four four four
four four four four four four four four four four
</p>
</body>
</html>