Bug 1379515 - Set layout.reflow.synthMouseMove false to avoid synthetic mouse move. r?birtles
The synthetic mouse move flushes animation styles during running test cases on
Linux, it breaks these tests!
MozReview-Commit-ID: DOT7m3fhrZi
--- a/dom/animation/test/mozilla/test_restyles.html
+++ b/dom/animation/test/mozilla/test_restyles.html
@@ -3,14 +3,15 @@
<script src="/tests/SimpleTest/SimpleTest.js"></script>
<link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
<div id='log'></div>
<script>
'use strict';
SimpleTest.waitForExplicitFinish();
SimpleTest.expectAssertions(0, 1); // bug 1332970
SpecialPowers.pushPrefEnv(
- { 'set': [['dom.animations-api.core.enabled', true]] },
+ { 'set': [['dom.animations-api.core.enabled', true],
+ ['layout.reflow.synthMouseMove', false]] },
function() {
window.open('file_restyles.html');
});
</script>
</html>