mirror of
https://github.com/servo/servo
synced 2026-04-29 02:47:55 +02:00
58 lines
1.6 KiB
HTML
58 lines
1.6 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
|
|
<head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
|
|
|
<title>CSS Reftest Reference</title>
|
|
<style type="text/css">
|
|
@page { font: italic 8pt sans-serif; color: gray;
|
|
margin: 7%;
|
|
counter-increment: page;
|
|
@top-left { content: "CSS 2.1 Conformance Test Suite"; }
|
|
@top-right { content: "Test vertical-align-117a-ref"; }
|
|
@bottom-right { content: counter(page); }
|
|
}
|
|
</style>
|
|
|
|
<link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
|
|
|
|
<style type="text/css"><![CDATA[
|
|
div
|
|
{
|
|
background-color: yellow;
|
|
height: 175px;
|
|
position: relative;
|
|
}
|
|
|
|
img {position: absolute;}
|
|
|
|
img#first-black
|
|
{
|
|
left: 0px;
|
|
top: 90px;
|
|
}
|
|
|
|
img#second-blue
|
|
{
|
|
left: 120px;
|
|
top: 45px;
|
|
}
|
|
|
|
img#third-black
|
|
{
|
|
left: 520px;
|
|
top: 90px;
|
|
}
|
|
]]></style>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<p>Test passes if the blue stripe is vertically offset <strong>above the black stripes on both sides</strong>. The blue stripe must be clearly and entirely above the black stripes.</p>
|
|
|
|
<div><img id="first-black" src="../support/black15x15.png" width="160" height="40" alt="Image download support must be enabled" /><img id="second-blue" src="../support/blue15x15.png" width="440" height="40" alt="Image download support must be enabled" /><img id="third-black" src="../support/black15x15.png" width="160" height="40" alt="Image download support must be enabled" />
|
|
</div>
|
|
|
|
</body>
|
|
</html> |