mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 09:45:06 +02:00
32 lines
612 B
HTML
32 lines
612 B
HTML
<!DOCTYPE html>
|
|
<script src="../include.js"></script>
|
|
<style>
|
|
.scroll-container {
|
|
width: 200px;
|
|
height: 100px;
|
|
overflow: auto;
|
|
}
|
|
.fixed {
|
|
position: fixed;
|
|
top: 10px;
|
|
left: 10px;
|
|
width: 80px;
|
|
height: 40px;
|
|
background: red;
|
|
}
|
|
.normal {
|
|
width: 150px;
|
|
height: 50px;
|
|
background: green;
|
|
}
|
|
</style>
|
|
<div class="scroll-container">
|
|
<div class="normal">Normal</div>
|
|
<div class="fixed">Fixed</div>
|
|
</div>
|
|
<script>
|
|
test(() => {
|
|
println(internals.dumpDisplayList());
|
|
});
|
|
</script>
|