зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1098151 - Make the test a bit more forgiving to pass on Mac, like the following test.
MANUAL PUSH: Fix orange. CLOSED TREE
This commit is contained in:
Родитель
2e7a5a707a
Коммит
0bd5a5bb55
|
@ -39,7 +39,7 @@ function runTests() {
|
|||
var editor5 = document.getElementById("editor5");
|
||||
var editor6 = document.getElementById("editor6");
|
||||
|
||||
is(editor1.getBoundingClientRect().height, editor0.getBoundingClientRect().height,
|
||||
ok(Math.abs(editor1.getBoundingClientRect().height - editor0.getBoundingClientRect().height) <= 1,
|
||||
"an editor having a <br> element and an empty editor should be same height");
|
||||
ok(Math.abs(editor1.getBoundingClientRect().height - editor2.getBoundingClientRect().height) <= 1,
|
||||
"an editor having only a <br> element and an editor having \"a\" should be same height");
|
||||
|
|
Загрузка…
Ссылка в новой задаче