mirror of
https://github.com/servo/servo.git
synced 2025-06-24 00:54:32 +01:00
49 lines
No EOL
1,003 B
HTML
49 lines
No EOL
1,003 B
HTML
<!DOCTYPE html>
|
|
<html><head>
|
|
<title>CSS Reftest Reference</title>
|
|
<link href="mailto:mibalan@adobe.com" rel="author" title="Mihai Balan">
|
|
<style>
|
|
#content {
|
|
font-family: Ahem;
|
|
font-size: 20px;
|
|
line-height: 1em;
|
|
}
|
|
.translucent {
|
|
color: #5555FF;
|
|
opacity: 0.5;
|
|
}
|
|
.opaque {
|
|
color: blue;
|
|
/*a light-ish blue, to give us a nice purple when alpha-blended with red*/
|
|
opacity: 1;
|
|
}
|
|
#region {
|
|
width: 100px;
|
|
height: 180px;
|
|
background-color: red;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<ol>
|
|
<li>You should see no red.</li>
|
|
<li>Test passes if you see four alternating purple and blue rectangles below.</li>
|
|
</ol>
|
|
<div id="region">
|
|
<div id="content">
|
|
<div class="translucent">
|
|
xxxxx<br>xxxxx<br>xxxxx
|
|
</div>
|
|
<div class="opaque">
|
|
xxxxx<br>xxxxx<br>xxxxx
|
|
</div>
|
|
<div class="translucent">
|
|
xxxxx<br>xxxxx<br>xxxxx
|
|
</div>
|
|
<div class="opaque">
|
|
xxxxx<br>xxxxx<br>xxxxx
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
</body></html> |