mirror of
https://github.com/servo/servo.git
synced 2025-08-10 16:05:43 +01:00
Cargoify servo
This commit is contained in:
parent
db2f642c32
commit
c6ab60dbfc
1761 changed files with 8423 additions and 2294 deletions
38
tests/ref/position_fixed_simple_a.html
Normal file
38
tests/ref/position_fixed_simple_a.html
Normal file
|
@ -0,0 +1,38 @@
|
|||
<html>
|
||||
<head>
|
||||
<style>
|
||||
html, body {
|
||||
margin: 0px;
|
||||
}
|
||||
.box {
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
}
|
||||
#rel-cont {
|
||||
position: relative;
|
||||
}
|
||||
#first {
|
||||
background: red;
|
||||
}
|
||||
#normal {
|
||||
background: blue;
|
||||
}
|
||||
#fixed {
|
||||
position: fixed;
|
||||
left: 0px;
|
||||
top: 0px;
|
||||
background: green;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id="first" class="box">
|
||||
</div>
|
||||
<div id="normal" class="box"></div>
|
||||
<!-- This should become empty -->
|
||||
<div id="rel-cont">
|
||||
<div id="fixed" class="box">
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue