LibWeb: Clip overflowing inline children when overflow != "visible"

We now apply a paint-time clip to the padding rect of a BlockBox before
painting its inline-level children. This covers some of the behavior
we want from "overflow: hidden" etc but is far from a complete solution.
This commit is contained in:
Andreas Kling 2021-02-22 19:19:11 +01:00
commit 53081226e9
Notes: sideshowbarker 2024-07-18 22:00:28 +09:00
2 changed files with 17 additions and 0 deletions

View file

@ -55,6 +55,8 @@ public:
private:
virtual bool is_block_box() const final { return true; }
bool should_clip_overflow() const;
};
template<>