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

38 lines
856 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: 288px;
}
img
{
display: block;
height: 100px;
margin-bottom: 10px;
width: 200px;
}
img + img {height: 96px;}
</style>
</head>
<body>
<p>Test passes if the blue and orange rectangles have the same width and the blue rectangle is in the upper-left corner of an hollow black square.</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>