diff options
author | Aliaksandr Kalenik <kalenik.aliaksandr@gmail.com> | 2023-02-24 01:07:00 +0300 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2023-02-24 20:55:40 +0100 |
commit | 87fa1c5e662cb767c629d4cc5474f3681a8a321e (patch) | |
tree | abc8a940cf6276038d962425cedd0bcbc654f8f3 /Userland/Libraries/LibGfx/Painter.h | |
parent | 8f3c343b88dcafabd0f548a0e434dbb22d7a119a (diff) | |
download | serenity-87fa1c5e662cb767c629d4cc5474f3681a8a321e.zip |
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).
Diffstat (limited to 'Userland/Libraries/LibGfx/Painter.h')
-rw-r--r-- | Userland/Libraries/LibGfx/Painter.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/Userland/Libraries/LibGfx/Painter.h b/Userland/Libraries/LibGfx/Painter.h index 2f72cbd3ea..9e5efec043 100644 --- a/Userland/Libraries/LibGfx/Painter.h +++ b/Userland/Libraries/LibGfx/Painter.h @@ -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; } |