mirror of
https://github.com/servo/servo.git
synced 2025-08-13 09:25:32 +01:00
Update CSS tests to revision 31d63cc79bd4c929ed582229e936d7b389f3e6ab
This commit is contained in:
parent
1a81b18b9f
commit
2c9faf5363
91915 changed files with 5979820 additions and 0 deletions
|
@ -0,0 +1,58 @@
|
|||
<!DOCTYPE html>
|
||||
<html><head>
|
||||
<title>CSS Test reference</title>
|
||||
<link href="mailto:rhauck@adobe.com" rel="author" title="Rebecca Hauck">
|
||||
<!-- Reviewed on Github on 09-26-2013: https://github.com/w3c/csswg-test/pull/89 -->
|
||||
<link href="mailto:mibalan@adobe.com" rel="reviewer" title="Mihai Balan">
|
||||
<style type="text/css">
|
||||
|
||||
.bar {
|
||||
position: absolute;
|
||||
width: 100px;
|
||||
}
|
||||
.full {
|
||||
height: 200px;
|
||||
}
|
||||
.half {
|
||||
height: 100px;
|
||||
}
|
||||
.green {
|
||||
background-color: green;
|
||||
top: 150px;
|
||||
}
|
||||
.lightgreen {
|
||||
background-color: lightgreen;
|
||||
}
|
||||
#rect-1 {
|
||||
left: 20px;
|
||||
}
|
||||
#rect-2 {
|
||||
left: 150px;
|
||||
}
|
||||
#rect-3 {
|
||||
top: 250px;
|
||||
left: 150px;
|
||||
}
|
||||
#rect-4 {
|
||||
top: 150px;
|
||||
left: 280px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p>The test passes if:
|
||||
</p><ul>
|
||||
<li>There is a dark green vertical rectangle on the left</li>
|
||||
<li>There is a dark green square in the middle with a light green
|
||||
square below it</li>
|
||||
<li>There is a light green vertical rectangle on the right</li>
|
||||
<li>There is no red
|
||||
</li></ul>
|
||||
<p></p>
|
||||
<div id="rect-1" class="green bar full"></div>
|
||||
<div id="rect-2" class="green bar half"></div>
|
||||
<div id="rect-3" class="lightgreen bar half"></div>
|
||||
<div id="rect-4" class="lightgreen bar full"></div>
|
||||
|
||||
|
||||
</body></html>
|
Loading…
Add table
Add a link
Reference in a new issue