зеркало из https://github.com/mozilla/gecko-dev.git
Bug 686469 - Tab-modal alert can overflow the browser window. r=dolske
This commit is contained in:
Родитель
cd6435bb38
Коммит
0bda59ff75
|
@ -213,10 +213,8 @@
|
|||
<method name="onResize">
|
||||
<body>
|
||||
<![CDATA[
|
||||
// XXX the <notificationbox/>; to be made app-agnostic later
|
||||
let container = this.parentNode.parentNode;
|
||||
let availWidth = container.clientWidth;
|
||||
let availHeight = container.clientHeight;
|
||||
let availWidth = this.clientWidth;
|
||||
let availHeight = this.clientHeight;
|
||||
if (availWidth == this.availWidth && availHeight == this.availHeight)
|
||||
return;
|
||||
this.availWidth = availWidth;
|
||||
|
|
|
@ -1192,5 +1192,6 @@ filefield {
|
|||
/*********** tabmodalprompt ************/
|
||||
tabmodalprompt {
|
||||
-moz-binding: url("chrome://global/content/tabprompts.xml#tabmodalprompt");
|
||||
overflow: hidden;
|
||||
text-shadow: none;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче