mirror of
https://github.com/servo/servo.git
synced 2025-06-24 09:04:33 +01:00
56 lines
No EOL
1.5 KiB
HTML
56 lines
No EOL
1.5 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>
|
|
.flow {
|
|
font-family: Ahem;
|
|
font-size: 20px;
|
|
line-height: 1em;
|
|
color: green;
|
|
position: relative;
|
|
top: 20px;
|
|
left: -20px;
|
|
}
|
|
|
|
.container {
|
|
display: inline-block;
|
|
}
|
|
|
|
.region {
|
|
margin: 0 0 0 20px;
|
|
}
|
|
.big {
|
|
width: 100px;
|
|
height: 100px;
|
|
}
|
|
.small {
|
|
width: 60px;
|
|
height: 60px;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<p>Test passes if you see two green squares (one bigger and one smaller) and no red.</p>
|
|
<div class="container">
|
|
<div class="big region">
|
|
<div class="flow">
|
|
xxxxx
|
|
xxxxx
|
|
xxxxx
|
|
xxxxx
|
|
xxxxx
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="container">
|
|
<div class="small region">
|
|
<div class="flow">
|
|
xxx
|
|
xxx
|
|
xxx
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
</body></html> |