mirror of
https://github.com/servo/servo
synced 2026-05-01 11:57:31 +02:00
Update CSS tests to revision d13905941293af83ea8c3c1750dba652e0423fb0
This commit is contained in:
@@ -0,0 +1,59 @@
|
||||
<!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 {
|
||||
float: left;
|
||||
color: blue;
|
||||
}
|
||||
|
||||
.bordered {
|
||||
border: 10px solid black;
|
||||
}
|
||||
|
||||
.region {
|
||||
overflow: hidden;
|
||||
max-width: 100px;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p>
|
||||
Test passes if you see two squares separated by a small vertical space. The squares should
|
||||
have a black outline, the top square should be blue and the bottom one should be green.<br>
|
||||
You should see no red.
|
||||
</p>
|
||||
|
||||
<div class="bordered region">
|
||||
<article>
|
||||
<div class="float">
|
||||
xxxxx
|
||||
xxxxx
|
||||
xxxxx
|
||||
xxxxx
|
||||
xxxxx
|
||||
</div>
|
||||
</article>
|
||||
</div>
|
||||
<div class="bordered region">
|
||||
<article>
|
||||
<div>
|
||||
xxxxx
|
||||
xxxxx
|
||||
xxxxx
|
||||
xxxxx
|
||||
xxxxx
|
||||
</div>
|
||||
</article>
|
||||
</div>
|
||||
|
||||
</body></html>
|
||||
Reference in New Issue
Block a user