Source code
Revision control
Copy as Markdown
Other Tools
<html>
<head>
<title>CSS Reftest Reference</title>
<link rel="author" title="GĂ©rard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/">
<link rel="author" title="Adapted for vertical layout by Simon Montagu" href="http:/mozilla.org/">
<style type="text/css">
div.wrapper {
writing-mode: vertical-lr;
margin-top: 52px;
}
div.stripe
{
display: inline-block;
margin-left: 4px;
margin-top: 8px;
margin-bottom: 7px;
width: 24px;
}
div.fuchsia
{
height: 52px;
background-color: fuchsia;
}
div.olive
{
height: 100px;
background-color: olive;
}
div.orange
{
height: 124px;
background-color: orange;
}
div.lime
{
height: 124px;
background-color: lime;
}
</style>
</head>
<body>
<p>Test passes if the colored (fuchsia, olive, orange and lime) stripes have respectively the same heights and the same vertical positions.</p>
<div class="wrapper">
<div><div class="fuchsia stripe"></div><div class="olive stripe"></div><div class="orange stripe"></div><div class="lime stripe"></div></div>
<div><div class="fuchsia stripe"></div><div class="olive stripe"></div><div class="orange stripe"></div><div class="lime stripe"></div></div>
</div>
</body>
</html>