mirror of
https://github.com/servo/servo.git
synced 2025-06-24 00:54:32 +01:00
52 lines
No EOL
1.3 KiB
HTML
52 lines
No EOL
1.3 KiB
HTML
<!DOCTYPE html>
|
|
<html><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> |