diff --git a/edit.html b/edit.html index 5279bc91..43171866 100644 --- a/edit.html +++ b/edit.html @@ -4,18 +4,6 @@ - - - diff --git a/global.css b/global.css index 46999524..470525b1 100644 --- a/global.css +++ b/global.css @@ -1,3 +1,9 @@ +html#stylus #stylus-manage #header *:not(#\0) { + /* This suppresses transitions on page open. + * WARNING! Must be the first rule here so dom.js can simply call deleteRule for index 0. + * Using an increased specificity to override sane selectors in user styles */ + transition: none !important; +} body { font: normal 12px Arial, system-ui, sans-serif; } diff --git a/js/dom.js b/js/dom.js index 38f44e78..e3ab43f1 100644 --- a/js/dom.js +++ b/js/dom.js @@ -3,9 +3,10 @@ 'use strict'; /* exported - $$remove $createLink $isTextInput + $remove + $$remove animateElement getEventKeyName messageBoxProxy @@ -431,11 +432,13 @@ async function waitForSheet({ }); onDOMready().then(() => { - $remove('#firefox-transitions-bug-suppressor'); debounce(addTooltipsToEllipsized, 500); window.on('resize', () => debounce(addTooltipsToEllipsized, 100)); }); + // Using `load` event as we need transition bug suppressor active until everything loads + window.on('load', () => $('link[href^="global.css"]').sheet.deleteRule(0), {once: true}); + function addFaviconFF() { const iconset = ['', 'light/'][prefs.get('iconset')] || ''; for (const size of [38, 32, 19, 16]) { diff --git a/manage.html b/manage.html index 751f7e80..6b541781 100644 --- a/manage.html +++ b/manage.html @@ -6,16 +6,6 @@ - -