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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user