Files
servo/tests/wpt/css-tests/css21_dev/html4/reference/absolute-replaced-width-020-ref.htm

37 lines
836 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
{
border: black solid medium;
height: 288px;
width: 192px;
}
img
{
display: block;
height: 96px;
left: 96px;
position: relative;
width: 96px;
}
</style>
</head>
<body>
<p>Test passes if the blue and orange squares have the same width and the blue square is in the upper-right corner of an hollow black rectangle.</p>
<div><img src="support/blue15x15.png" alt="Image download support must be enabled"><img src="support/swatch-orange.png" alt="Image download support must be enabled"></div>
</body>
</html>