turned off negative zindex check to see if it fixes XP menus.

git-svn-id: svn://10.0.0.236/trunk@41765 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
beard%netscape.com
1999-08-01 18:18:42 +00:00
parent 175150a4fe
commit d1758c698d

View File

@@ -2413,11 +2413,13 @@ PRBool nsViewManager::CreateDisplayList(nsIView *aView, PRInt32 *aIndex,
{
nsIView *child = nsnull;
for (aView->GetChild(0, child); child != nsnull; child->GetNextSibling(child)) {
#if 0
child->GetZIndex(zindex);
if (zindex < 0) {
gotNegativeZ = PR_TRUE;
continue;
}
#endif
retval = CreateDisplayList(child, aIndex, aOriginX, aOriginY, aRealView, aTopView, aDamageRect, lrect.x, lrect.y);
if (retval)
break;