1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 22:47:44 +00:00

Revert "LibWeb: Fix clip of hidden overflow..."

This reverts commit eb1ef59603c13c43b87c099c43c4d118dc8441f6.

The idea of saving clip box to apply it to handle `overflow: hidden`
turned out to break painting if box is painted before it's containing
block (it is possible if box has negative z-index).
This commit is contained in:
Aliaksandr Kalenik 2023-02-24 01:07:00 +03:00 committed by Linus Groh
parent 8f3c343b88
commit 87fa1c5e66
4 changed files with 24 additions and 23 deletions

View file

@ -177,7 +177,6 @@ public:
}
IntRect clip_rect() const { return state().clip_rect; }
void set_clip_rect(IntRect const&);
int scale() const { return state().scale; }