Bug 1967340 - Allow 1px difference in test_bug717878_input_scroll.html. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D250087
This commit is contained in:
committed by
hikezoe.birchill@mozilla.com
parent
091243e8f5
commit
1906e8c25f
@@ -79,10 +79,10 @@ function test_scroll(element, scroll, scrollMax, is_overflow) {
|
||||
}
|
||||
|
||||
element[scroll] = element[scrollMax];
|
||||
is(element[scroll], element[scrollMax], element.id + " did not scroll to " + scrollMax);
|
||||
isfuzzy(element[scroll], element[scrollMax], 1, element.id + " did not scroll to " + scrollMax);
|
||||
|
||||
element[scroll] = element[scrollMax] + 10;
|
||||
is(element[scroll], element[scrollMax], element.id + " scrolled past " + scrollMax);
|
||||
isfuzzy(element[scroll], element[scrollMax], 1, element.id + " scrolled past " + scrollMax);
|
||||
}
|
||||
|
||||
var no_overflow = document.getElementById("no-overflow");
|
||||
|
||||
Reference in New Issue
Block a user