LibWeb: Use clip rectangles assigned to paintables in hit-testing

This change makes hit-testing more consistent in the handling of hidden
overflow by reusing the same clip-rectangles.

Also, it fixes bugs where the box is visible for hit-testing even
though it is clipped by the hidden overflow of the containing block.
This commit is contained in:
Aliaksandr Kalenik 2024-01-30 10:02:07 +01:00 committed by Andreas Kling
commit 16f1962f10
Notes: sideshowbarker 2024-07-17 03:16:02 +09:00
8 changed files with 64 additions and 28 deletions