mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-01 20:17:13 +02:00
LibWeb: Add AccumulatedVisualContext debugging infrastructure
This commit is contained in:
committed by
Alexander Kalenik
parent
009ddd4823
commit
a87b5c722d
Notes:
github-actions[bot]
2026-01-15 18:52:19 +00:00
Author: https://github.com/kalenikaliaksandr Commit: https://github.com/LadybirdBrowser/ladybird/commit/a87b5c722dd Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/7471
@@ -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>
|
||||
Reference in New Issue
Block a user