mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-25 19:25:43 +00:00
Bug 1420791 - Drop explicit flushing styles before calling waitForPaintsFlushed(). r=boris
waitForPaintsFlushed() flushes styles inside it, so we don't need the explicit flush. MozReview-Commit-ID: KcQYRDWyhU0 --HG-- extra : rebase_source : 9adeaa107f358d9beb717a6d1fa96bbfd4c05416
This commit is contained in:
parent
126931ab2d
commit
d606b7a73d
@ -262,8 +262,6 @@ function runOMTATest(aTestFunction, aOnSkip, specialPowersForPrefs) {
|
||||
utils.advanceTimeAndRefresh(0);
|
||||
div.style.animation = animationName + " 10s";
|
||||
|
||||
// Trigger style flush
|
||||
div.clientTop;
|
||||
return waitForPaintsFlushed();
|
||||
}).then(function() {
|
||||
var opacity = utils.getOMTAStyle(div, "opacity");
|
||||
|
Loading…
Reference in New Issue
Block a user