зеркало из https://github.com/mozilla/pjs.git
Bug 652536 - Remove workaround for bug 133527. r=ventron
This commit is contained in:
Родитель
2accf70352
Коммит
aa0bb409fe
|
@ -127,14 +127,6 @@ function onAlertLoad()
|
||||||
var alertBox = document.getElementById("alertBox");
|
var alertBox = document.getElementById("alertBox");
|
||||||
alertBox.orient = (gOrigin & NS_ALERT_HORIZONTAL) ? "vertical" : "horizontal";
|
alertBox.orient = (gOrigin & NS_ALERT_HORIZONTAL) ? "vertical" : "horizontal";
|
||||||
|
|
||||||
// The above doesn't cause the labels in alertTextBox to reflow,
|
|
||||||
// see bug 311557. As the theme's -moz-box-align css rule gets ignored,
|
|
||||||
// we work around the bug by setting the align property.
|
|
||||||
if (gOrigin & NS_ALERT_HORIZONTAL)
|
|
||||||
{
|
|
||||||
document.getElementById("alertTextBox").align = "center";
|
|
||||||
}
|
|
||||||
|
|
||||||
sizeToContent();
|
sizeToContent();
|
||||||
|
|
||||||
// Work around a bug where sizeToContent() leaves a border outside of the content
|
// Work around a bug where sizeToContent() leaves a border outside of the content
|
||||||
|
|
|
@ -90,5 +90,5 @@ label {
|
||||||
-moz-padding-start: 5px;
|
-moz-padding-start: 5px;
|
||||||
-moz-padding-end: 5px;
|
-moz-padding-end: 5px;
|
||||||
margin-bottom: 8px;
|
margin-bottom: 8px;
|
||||||
-moz-box-align: center; /* also hard-coded in alert.js, see bug 311557 */
|
-moz-box-align: center;
|
||||||
}
|
}
|
||||||
|
|
|
@ -95,5 +95,5 @@ label {
|
||||||
-moz-padding-start: 5px;
|
-moz-padding-start: 5px;
|
||||||
-moz-padding-end: 5px;
|
-moz-padding-end: 5px;
|
||||||
margin-bottom: 8px;
|
margin-bottom: 8px;
|
||||||
-moz-box-align: center; /* also hard-coded in alert.js, see bug 311557 */
|
-moz-box-align: center;
|
||||||
}
|
}
|
||||||
|
|
Загрузка…
Ссылка в новой задаче