зеркало из https://github.com/mozilla/gecko-dev.git
Bug 43410: Correct z-index ordering of iframes. This PlaceBehind() call is needed on Windows to cause the actual ::SetWindowPos system call that reorders the widgets to be made. Mac and Gtk do not implement PlaceBehind and should not be affected by this change. Fix includes work by beard@netscape.com. r=beard@netscape.com,self sr=jst@netscape.com
This commit is contained in:
Родитель
88d48dc0c5
Коммит
c50a33220f
|
@ -312,6 +312,7 @@ NS_IMETHODIMP nsBaseWidget::SetZIndex(PRInt32 aZIndex)
|
|||
if (NS_SUCCEEDED(childWidget->GetZIndex(&childZIndex))) {
|
||||
if (aZIndex < childZIndex) {
|
||||
parent->mChildren->InsertElementAt(this, index);
|
||||
PlaceBehind(childWidget, PR_FALSE);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче