mirror of
https://github.com/servo/servo.git
synced 2025-06-24 09:04:33 +01:00
52 lines
No EOL
1.4 KiB
HTML
52 lines
No EOL
1.4 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>
|
|
<title>CSS Reftest Reference</title>
|
|
<link href="mailto:mibalan@adobe.com" rel="author" title="Mihai Balan" />
|
|
<style>
|
|
article {
|
|
font-family: Ahem;
|
|
font-size: 20px;
|
|
line-height: 1em;
|
|
color: green;
|
|
}
|
|
.float {
|
|
width: 50%;
|
|
float: right;
|
|
color: blue;
|
|
}
|
|
|
|
.region {
|
|
width: 200px;
|
|
height: 100px;
|
|
border: 10px solid black;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.wide {
|
|
width: 400px;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<p>
|
|
Test passes if you see two black bordered rectangles separated by a small vertical space.
|
|
The bottom rectangle should be twice as wide as the top one and both rectangles should
|
|
have the left half green and the right half blue.<br />
|
|
You should see no red.
|
|
</p>
|
|
|
|
<div class="region">
|
|
<article>
|
|
<div class="float">xxxxx​xxxxx​xxxxx​xxxxx​xxxxx</div>
|
|
xxxxx​xxxxx​xxxxx​xxxxx​xxxxx
|
|
</article>
|
|
</div>
|
|
<div class="wide region">
|
|
<article>
|
|
<div class="float">xxxxx​xxxxx​xxxxx​xxxxx​xxxxx​xxxxx​xxxxx​xxxxx​xxxxx​xxxxx​</div>
|
|
xxxxx​xxxxx​xxxxx​xxxxx​xxxxx​xxxxx​xxxxx​xxxxx​xxxxx​xxxxx​
|
|
</article>
|
|
</div>
|
|
|
|
|
|
</body></html> |