Bug 47871

Summary: z-index doesn't work with positon: fixed
Product: [Applications] konqueror Reporter: temp.addr
Component: khtmlAssignee: Konqueror Developers <konq-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: kloecker
Priority: NOR    
Version: 4.0   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description temp.addr 2002-09-15 08:49:57 UTC
Version:           4.0 (using KDE 3.0.3)
Installed from:    SuSE
Compiler:          gcc version 2.95.3 20010315 (SuSE)
OS:          Linux (i686) release 2.4.18-4GB

z-index seems to work for elements that use position: absolute, but if you use position: fixed on an element, that element will always be the top layer in Konqueror - even if the z-index has been set low. In the following example, the #fixed div will be shown as the top layer although it should be at the bottom:

#absolute {
	position: absolute;
	top: 20px;
	left: 20px;
	z-index: 20;
}
#fixed {
	position: fixed;
	top: 20px;
	left: 20px;
	z-index: 10;
}
Comment 1 Ingo Klöcker 2002-09-24 15:14:40 UTC

*** This bug has been marked as a duplicate of 43546 ***