mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 08:36:15 +00:00
Move overflow clipping from `before_children_paint` into separate
method and call this method on containing block instead of parent.
Example that got fixed:
```html
<!DOCTYPE html><html><head><style>
* {
border: 2px solid black;
}
body {
overflow: hidden;
}
.inner {
position: absolute;
width: 100px;
height: 100px;
background: lime;
}
</style></head><body><div class=inner></div>
```
7.2 KiB
7.2 KiB