diff --git a/layout/generic/nsContainerFrame.cpp b/layout/generic/nsContainerFrame.cpp index 32fa623902a7..c481cd67b922 100644 --- a/layout/generic/nsContainerFrame.cpp +++ b/layout/generic/nsContainerFrame.cpp @@ -594,8 +594,8 @@ IsTopLevelWidget(nsIWidget* aWidget) nsWindowType windowType = aWidget->WindowType(); return windowType == eWindowType_toplevel || windowType == eWindowType_dialog || + windowType == eWindowType_popup || windowType == eWindowType_sheet; - // popups aren't toplevel so they're not handled here } void diff --git a/toolkit/themes/windows/global/alerts/alert.css b/toolkit/themes/windows/global/alerts/alert.css index 3510354f7586..7473174ea0d0 100644 --- a/toolkit/themes/windows/global/alerts/alert.css +++ b/toolkit/themes/windows/global/alerts/alert.css @@ -10,6 +10,11 @@ @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); +#alertNotification { + -moz-appearance: none; + background: transparent; +} + #alertBox { border: 1px solid ThreeDShadow; border-radius: 1px;