diff --git a/mozilla/xpfe/appshell/src/nsWebShellWindow.cpp b/mozilla/xpfe/appshell/src/nsWebShellWindow.cpp index c0f2f7108ba..37c0a4f474a 100644 --- a/mozilla/xpfe/appshell/src/nsWebShellWindow.cpp +++ b/mozilla/xpfe/appshell/src/nsWebShellWindow.cpp @@ -1038,7 +1038,7 @@ nsWebShellWindow::CreatePopup(nsIDOMElement* aElement, nsIDOMElement* aPopupCont } else if (anAnchorAlignment == "bottomleft") { aXPos = rect.x + aXPos; - aYPos = rect.y + rect.height + aXPos; + aYPos = rect.y + rect.height + aYPos; } else { aXPos = rect.x + rect.width + aXPos;