mirror of
https://github.com/servo/servo.git
synced 2025-06-24 00:54:32 +01:00
38 lines
No EOL
795 B
HTML
38 lines
No EOL
795 B
HTML
<!DOCTYPE html>
|
|
<html><head>
|
|
<title>CSS Reftest Reference</title>
|
|
<link href="mailto:mibalan@adobe.com" rel="author" title="Mihai Balan">
|
|
<style>
|
|
.float {
|
|
width: 50px;
|
|
height: 50px;
|
|
}
|
|
.right {
|
|
float: right;
|
|
background: lightgreen;
|
|
}
|
|
.left {
|
|
float: left;
|
|
background: lightblue;
|
|
}
|
|
.region {
|
|
width: 150px;
|
|
margin: 5px;
|
|
background: yellow;
|
|
overflow: hidden;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<p>
|
|
Test passes if you see three squares, side by side, as follows: from left
|
|
to right, a light blue square, a yellow square and a light green square,
|
|
all flush to each other.<br>
|
|
Test fails is you see any red.
|
|
</p>
|
|
<div class="region">
|
|
<div class="flow float right"></div>
|
|
<div class="flow float left"></div>
|
|
</div>
|
|
|
|
</body></html> |