Files
servo/tests/wpt/css-tests/css21_dev/html4/reference/position-relative-033-ref.htm

31 lines
804 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">
span {font: 20px/1 Ahem;}
div > span {border: blue solid 2px;}
span#yellow-stripe {color: yellow;}
span#orange-stripe {color: orange;}
</style>
</head>
<body>
<p>Test passes if the yellow stripe is on the left-hand side of the hollow blue rectangle and the orange stripe is on the right-hand side of the hollow blue rectangle.</p>
<div>
<span><span id="yellow-stripe">123456</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span id="orange-stripe">123456</span></span>
</div>
</body>
</html>