Closed
Bug 1181
Opened 26 years ago
Closed 26 years ago
z-index doesn't work
Categories
(Core :: Layout, defect, P2)
Tracking
()
VERIFIED
FIXED
People
(Reporter: angus, Assigned: michaelp)
References
()
Details
We don't yet support z-index
The nsBodyFrame.cpp code (CreateAbsoluteView) is passing the z-index along
to the view nanager:
// Get the z-index to use
PRInt32 zIndex = 0;
if (position->mZIndex.GetUnit() == eStyleUnit_Integer) {
zIndex = position->mZIndex.GetIntValue();
} else if (position->mZIndex.GetUnit() == eStyleUnit_Auto) {
zIndex = 0;
} else if (position->mZIndex.GetUnit() == eStyleUnit_Inherit) {
// XXX need to handle z-index "inherit"
NS_NOTYETIMPLEMENTED("zIndex: inherit");
}
// Initialize the view with a size of (0, 0). When we're done reflowing
// the frame the view will be sized and positioned
view->Init(viewManager, nsRect(0, 0, 0, 0), containingView, nsnull,
nsnull, nsnull, zIndex, pClip);
Status: NEW → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•