mirror of
https://github.com/servo/servo.git
synced 2025-08-02 20:20:14 +01:00
parent
d34641dc3f
commit
e4db0715e1
2 changed files with 28 additions and 1 deletions
27
tests/html/iframe-scroll-stacking.html
Normal file
27
tests/html/iframe-scroll-stacking.html
Normal file
|
@ -0,0 +1,27 @@
|
|||
<!DOCTYPE html>
|
||||
<style>
|
||||
body {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
iframe {
|
||||
display: block;
|
||||
width: 300px;
|
||||
height: 300px;
|
||||
position: absolute;
|
||||
background: white;
|
||||
}
|
||||
|
||||
.i1 {
|
||||
top: 50px;
|
||||
left: 50px;
|
||||
}
|
||||
|
||||
.i2 {
|
||||
top: 100px;
|
||||
left: 100px;
|
||||
}
|
||||
</style>
|
||||
|
||||
<iframe class="i1" src="lipsum.html"></iframe>
|
||||
<iframe class="i2" src="lipsum.html"></iframe>
|
Loading…
Add table
Add a link
Reference in a new issue