mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-11-09 17:51:03 +00: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.
12 lines
451 B
HTML
12 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>
|