mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 09:45:06 +02:00
...with inline children. This fixes an issue when we ignore abspos boxes contained by PaintableWithLines while calculating overflow rect size. Lots of layout tests are affected, because now PaintableWithLines has overflow rect. `Text/input/DOM/Element-set-scroll-left.html` is also affected and now matches other browsers.
13 lines
451 B
HTML
13 lines
451 B
HTML
<!DOCTYPE html>
|
|
<script src="../include.js"></script>
|
|
<body>
|
|
<div id="scroller" style="width: 200px; height: 200px; overflow: auto; position: relative">
|
|
<div style="width: 100px; height: 100px; position: absolute; background: green; margin-top: 150px;"></div>
|
|
</div>
|
|
<script>
|
|
test(() => {
|
|
println("#scroller.scrollHeight: " + document.getElementById("scroller").scrollHeight);
|
|
});
|
|
</script>
|
|
</body>
|