mirror of
https://github.com/servo/servo.git
synced 2025-08-03 20:50:07 +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,36 @@
|
|||
<!DOCTYPE html>
|
||||
<html><head>
|
||||
<title>CSS Test reference</title>
|
||||
<link href="mailto:rhauck@adobe.com" rel="author" title="Rebecca Hauck">
|
||||
<style type="text/css">
|
||||
.block {
|
||||
position: absolute;
|
||||
top: 70px;
|
||||
width: 60px;
|
||||
}
|
||||
.green {
|
||||
background-color: green;
|
||||
height: 60px;
|
||||
}
|
||||
#square-1 {
|
||||
left: 20px;
|
||||
}
|
||||
#square-2 {
|
||||
left: 90px;
|
||||
}
|
||||
#blue-rect {
|
||||
background-color: blue;
|
||||
height: 120px;
|
||||
left: 190px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p>The test passes if there are two green side by side squares on the left of one blue vertical rectangle.
|
||||
There should be no red.</p>
|
||||
<div id="square-1" class="green block"></div>
|
||||
<div id="square-2" class="green block"></div>
|
||||
<div id="blue-rect" class="block"></div>
|
||||
|
||||
|
||||
</body></html>
|
Loading…
Add table
Add a link
Reference in a new issue