From 21b11e2ef463d13f5ce1002a5ba2575c2cac3606 Mon Sep 17 00:00:00 2001 From: Sebastian Geerken Date: Thu, 31 Dec 2015 12:40:45 +0100 Subject: SRDOP: temporarily disable stacking context (only used for positioned elements), focus on floats. --- dw/stackingcontextmgr.hh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'dw/stackingcontextmgr.hh') diff --git a/dw/stackingcontextmgr.hh b/dw/stackingcontextmgr.hh index 3a877031..77bc1942 100644 --- a/dw/stackingcontextmgr.hh +++ b/dw/stackingcontextmgr.hh @@ -35,7 +35,8 @@ public: ~StackingContextMgr (); inline static bool isEstablishingStackingContext (Widget *widget) { - return widget->getStyle()->position != style::POSITION_STATIC && + return IMPL_POS && + widget->getStyle()->position != style::POSITION_STATIC && widget->getStyle()->zIndex != style::Z_INDEX_AUTO; } -- cgit v1.2.3