servo/components/layout/fragment_tree
Martin Robinson 4257db643b
Revert "Include the scrollable overflow of a child box if either its parent or child has overflow: visible (#38443)" (#38546)
This reverts commit dcb90bb85e.

This broke scrollable overflow calculation in the following case:

```
<div id="foo" style="width: 200px; height: 200px; outline: solid; overflow: auto;">
    <div style="height: 5000px; background: pink;">hello</div>
</div>
```

In this case the overflow is propagating through the `overflow: auto`
`<div>` and into the parents. When dumping the flow tree I see the root
node being 5000 pixels tall. It's unclear why this change didn't break
any tests, so it's likely that we need to add a test for this case.

Signed-off-by: Martin Robinson <mrobinson@igalia.com>
2025-08-08 13:37:14 +00:00
..
base_fragment.rs Rename script_layout_interface to layout_api (#37591) 2025-06-20 17:13:05 +00:00
box_fragment.rs Revert "Include the scrollable overflow of a child box if either its parent or child has overflow: visible (#38443)" (#38546) 2025-08-08 13:37:14 +00:00
containing_block.rs layout: Combine layout_2020 and layout_thread_2020 into a crate called layout (#36613) 2025-04-19 10:17:03 +00:00
fragment.rs Revert "Include the scrollable overflow of a child box if either its parent or child has overflow: visible (#38443)" (#38546) 2025-08-08 13:37:14 +00:00
fragment_tree.rs Revert "Include the scrollable overflow of a child box if either its parent or child has overflow: visible (#38443)" (#38546) 2025-08-08 13:37:14 +00:00
hoisted_shared_fragment.rs layout: Combine layout_2020 and layout_thread_2020 into a crate called layout (#36613) 2025-04-19 10:17:03 +00:00
mod.rs layout: Limit visibility of some types and removed unused enum variants / data (#38428) 2025-08-02 16:52:00 +00:00
positioning_fragment.rs Revert "Include the scrollable overflow of a child box if either its parent or child has overflow: visible (#38443)" (#38546) 2025-08-08 13:37:14 +00:00