mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-20 16:55:40 +00:00
Bug 1561546
Part 1 - Change scrollbar pref early. r=hiro
Differential Revision: https://phabricator.services.mozilla.com/D46363 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
6bd9ca2b13
commit
5dbbd97138
@ -329,8 +329,6 @@ waitForAllPaints(() => {
|
||||
|
||||
add_task(
|
||||
async function restyling_transform_animations_in_scrolled_out_element() {
|
||||
await SpecialPowers.pushPrefEnv({ set: [["ui.showHideScrollbars", 1]] });
|
||||
|
||||
// Make sure we start from the state right after requestAnimationFrame.
|
||||
await waitForFrame();
|
||||
|
||||
@ -1542,8 +1540,6 @@ waitForAllPaints(() => {
|
||||
|
||||
add_task(
|
||||
async function no_overflow_transform_animations_in_scrollable_element() {
|
||||
await SpecialPowers.pushPrefEnv({ set: [["ui.showHideScrollbars", 1]] });
|
||||
|
||||
const parentElement = addDiv(null,
|
||||
{ style: 'overflow-y: scroll; height: 100px;' });
|
||||
const div = addDiv(null);
|
||||
|
@ -12,6 +12,7 @@ SpecialPowers.pushPrefEnv(
|
||||
set: [
|
||||
['layout.reflow.synthMouseMove', false],
|
||||
['privacy.reduceTimerPrecision', false],
|
||||
["ui.showHideScrollbars", 1],
|
||||
],
|
||||
},
|
||||
function() {
|
||||
|
Loading…
Reference in New Issue
Block a user