haikuwebkit/LayoutTests/css2.1/t0905-c5525-fltwidth-02-c-g...

19 lines
878 B
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html>
<head>
<title>CSS 2.1 Test Suite: float</title>
<style type="text/css">
div { background: url(support/pattern-tr.png) top center no-repeat; font-size: 10px; }
p { float: left; width: 50%; margin: 0; font-size: 2em; }
img { float: none; color: red; }
</style>
<link rel="help" href="http://www.w3.org/TR/CSS21/visuren.html#floats" title="9.5 Floats">
<link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#background-properties" title="14.2.1 Background properties: 'background-color', 'background-image', 'background-repeat', 'background-attachment', 'background-position', and 'background'">
</head>
<body>
<div>
<p>There should be a green square to the right, roughly in the middle, horizontally. ⇨</p>
<img alt="FAIL" src="support/swatch-green.png">
</div>
</body>
</html>