LibWeb: Add AccumulatedVisualContext debugging infrastructure

This commit is contained in:
Aliaksandr Kalenik
2026-01-13 20:40:48 +01:00
committed by Alexander Kalenik
parent 009ddd4823
commit a87b5c722d
Notes: github-actions[bot] 2026-01-15 18:52:19 +00:00
45 changed files with 1065 additions and 111 deletions

View File

@@ -0,0 +1,35 @@
<!DOCTYPE html>
<script src="../include.js"></script>
<style>
.fixed-box {
position: fixed;
top: 20px;
left: 20px;
width: 200px;
height: 150px;
background: lightgray;
border: 2px solid black;
}
.scroll-container {
width: 180px;
height: 100px;
margin: 10px;
overflow: auto;
border: 1px solid blue;
}
.scroll-content {
width: 300px;
height: 200px;
background: lightcoral;
}
</style>
<div class="fixed-box">
<div class="scroll-container">
<div class="scroll-content">Scrollable inside fixed</div>
</div>
</div>
<script>
test(() => {
println(internals.dumpDisplayList());
});
</script>