зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1211635 - Popups should be treated as top-level windows, allowing XUL alerts translucency. r=MattN r=roc
--HG-- extra : rebase_source : 9fd3b1eb57b54fcb33b0012cbd7555674eb9b913
This commit is contained in:
Родитель
7fc565c303
Коммит
e70da30f79
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
|
|
Загрузка…
Ссылка в новой задаче