mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
parent
0bc7ad9b08
commit
6228edfb4c
4 changed files with 60 additions and 0 deletions
23
tests/ref/overflow_position_abs_inline_block_ref.html
Normal file
23
tests/ref/overflow_position_abs_inline_block_ref.html
Normal file
|
@ -0,0 +1,23 @@
|
|||
<style>
|
||||
#d1 {
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
position: absolute;
|
||||
background: green;
|
||||
}
|
||||
#d2 {
|
||||
display: block;
|
||||
width: 100px;
|
||||
background: red;
|
||||
height: 100px;
|
||||
position: relative;
|
||||
top: 20px;
|
||||
left: 20px;
|
||||
}
|
||||
</style>
|
||||
|
||||
<div style="position:fixed"></div>
|
||||
<div id="d1">
|
||||
<div id="d2"></div>
|
||||
</div>
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue