mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 22:32:46 +00:00
Bug 686469 - Tab-modal alert can overflow the browser window. r=dolske
This commit is contained in:
parent
cd6435bb38
commit
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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user