Bug 1169606 - fix OSX margin for label/description and fix test rounding so it doesn't go orange, r=dao

This commit is contained in:
Gijs Kruitbosch 2015-05-29 18:27:57 +01:00
parent f6a91ec7c9
commit b5e1396dec
2 changed files with 6 additions and 6 deletions

View File

@ -38,8 +38,8 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=477754
}, false);
function doTest() {
is(Math.round(testAnchor.getBoundingClientRect().right) -
Math.round(testPopup.getBoundingClientRect().right), 10,
is(Math.round(testAnchor.getBoundingClientRect().right -
testPopup.getBoundingClientRect().right), 10,
"RTL popup's right offset should be equal to the x offset passed to openPopup");
testPopup.hidePopup();
SimpleTest.finish();

View File

@ -176,10 +176,10 @@ separator.groove[orient="vertical"] {
description,
label {
cursor: default;
/* FIXME: On Windows and Linux, we're using -moz-margin-end: 5px, but for
unknown reasons this breaks test_bug477754.xul on OS X.
See bug 1169606. */
margin: 1px 6px 2px;
margin-top: 1px;
margin-bottom: 2px;
-moz-margin-start: 6px;
-moz-margin-end: 5px;
}
description {