Bug 686469 - Tab-modal alert can overflow the browser window. r=dolske

This commit is contained in:
Dão Gottwald 2011-10-01 21:40:36 +02:00
parent cd6435bb38
commit 0bda59ff75
2 changed files with 3 additions and 4 deletions

View File

@ -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;

View File

@ -1192,5 +1192,6 @@ filefield {
/*********** tabmodalprompt ************/
tabmodalprompt {
-moz-binding: url("chrome://global/content/tabprompts.xml#tabmodalprompt");
overflow: hidden;
text-shadow: none;
}