Files
servo/tests/wpt/css-tests/css21_dev/html4/reference/positioning-float-002-ref.htm

31 lines
583 B
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>CSS Reftest Reference</title>
<link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/">
<style type="text/css">
div {line-height: 1.25;}
div + div
{
margin-top: -1.25em;
text-align: right;
}
</style>
</head>
<body>
<p>Test passes if "Floated element" is on the same line as the "Filler Text".</p>
<div>Filler Text Filler Text</div>
<div>Floated element</div>
</body>
</html>