mirror of
https://github.com/servo/servo.git
synced 2025-08-07 14:35:33 +01:00
Cargoify servo
This commit is contained in:
parent
db2f642c32
commit
c6ab60dbfc
1761 changed files with 8423 additions and 2294 deletions
43
tests/ref/position_fixed_a.html
Normal file
43
tests/ref/position_fixed_a.html
Normal file
|
@ -0,0 +1,43 @@
|
|||
<html>
|
||||
<head>
|
||||
<style>
|
||||
.container {
|
||||
display: block;
|
||||
background: blue;
|
||||
}
|
||||
.fixed_block {
|
||||
background: green;
|
||||
position: fixed;
|
||||
}
|
||||
.positioned_fixed_block {
|
||||
background: yellow;
|
||||
position: fixed;
|
||||
top: 50%;
|
||||
right: 25px;
|
||||
}
|
||||
.sized_fixed_block {
|
||||
background: red;
|
||||
position: fixed;
|
||||
height: 50px;
|
||||
width: 50px;
|
||||
left: 5px;
|
||||
right: 10px;
|
||||
top: 100px;
|
||||
bottom: 30px;
|
||||
}
|
||||
.stretched_fixed_block {
|
||||
position: fixed;
|
||||
background: black;
|
||||
top: 100px;
|
||||
bottom: 30px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
<div class="fixed_block"> fixed block </div>
|
||||
<div class="positioned_fixed_block"> positioned fixed block </div>
|
||||
<div class="sized_fixed_block"> sized fixed block </div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue