mirror of
https://github.com/servo/servo.git
synced 2025-08-12 00:45:33 +01:00
Cargoify servo
This commit is contained in:
parent
db2f642c32
commit
c6ab60dbfc
1761 changed files with 8423 additions and 2294 deletions
40
tests/ref/position_fixed_static_y_a.html
Normal file
40
tests/ref/position_fixed_static_y_a.html
Normal file
|
@ -0,0 +1,40 @@
|
|||
<html>
|
||||
<head>
|
||||
<style>
|
||||
html, body {
|
||||
margin-left: 0px;
|
||||
margin-right: 0px;
|
||||
}
|
||||
body {
|
||||
margin-top: 100px;
|
||||
}
|
||||
#first {
|
||||
position: relative;
|
||||
width: 90px;
|
||||
height: 90px;
|
||||
border: solid 1px;
|
||||
}
|
||||
#second {
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
}
|
||||
#fixed {
|
||||
position: fixed;
|
||||
left: 30px;
|
||||
right: 30px;
|
||||
width: 100px;
|
||||
height: 20px;
|
||||
background: green;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id="first">
|
||||
<div id="second">
|
||||
</div>
|
||||
<!-- This should be at its static y position (inside #first, after #second) -->
|
||||
<div id="fixed">
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue