<div dir="ltr"><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Am Mi., 8. Juli 2020 um 17:11 Uhr schrieb Tom Ritter <<a href="mailto:tom@mozilla.com">tom@mozilla.com</a>>:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Wed, Jul 8, 2020 at 1:12 PM Dao Gottwald <<a href="mailto:dgottwald@mozilla.com" target="_blank">dgottwald@mozilla.com</a>> wrote:<br>
> Additional note, if you work in browser.xhtml: Instead of looking at `prefers-reduced-motion` through standard APIs, you may want to use the `gReduceMotion` helper. Except for being conveniently shorter than `window.matchMedia("(prefers-reduced-motion)").matches`, this helper is also always `false` for the first second or so when a new browser window is opening, regardless of underlying settings. This can be useful if your animation could degrade window opening performance.<br>
<br>
I think this was a typo, and you meant it's always true in the beginning...<br></blockquote><div> </div><div>This was a test for who would carefully read till the end, and you won.</div><div><br></div><div>Good catch, thanks :)</div></div></div>