summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibGfx/Painter.h
diff options
context:
space:
mode:
authorAliaksandr Kalenik <kalenik.aliaksandr@gmail.com>2023-02-24 01:07:00 +0300
committerLinus Groh <mail@linusgroh.de>2023-02-24 20:55:40 +0100
commit87fa1c5e662cb767c629d4cc5474f3681a8a321e (patch)
treeabc8a940cf6276038d962425cedd0bcbc654f8f3 /Userland/Libraries/LibGfx/Painter.h
parent8f3c343b88dcafabd0f548a0e434dbb22d7a119a (diff)
downloadserenity-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.h1
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; }