[tor-commits] [Git][tpo/applications/mullvad-browser][mullvad-browser-128.2.0esr-14.0-1] fixup! Bug 32308: Use direct browser sizing for letterboxing.

ma1 (@ma1) git at gitlab.torproject.org
Thu Aug 29 16:13:41 UTC 2024



ma1 pushed to branch mullvad-browser-128.2.0esr-14.0-1 at The Tor Project / Applications / Mullvad Browser


Commits:
28135e70 by Henry Wilkes at 2024-08-30T00:13:26+08:00
fixup! Bug 32308: Use direct browser sizing for letterboxing.

Bug 42764: Reduce letterboxing jank from find bar.

- - - - -


1 changed file:

- toolkit/themes/shared/findbar.css


Changes:

=====================================
toolkit/themes/shared/findbar.css
=====================================
@@ -39,6 +39,14 @@ xul|findbar {
     transition-duration: 0s;
     transition-delay: 0s;
   }
+
+  /* When letterboxing is in use, we do not transition to avoid layout jank.
+   * This has an additional benefit that the find bar cannot be used to
+   * fingerprint prefers-reduced-motion. See tor-browser#42764. */
+  .letterboxing & {
+    transition-duration: 0s;
+    transition-delay: 0s;
+  }
 }
 
 .findbar-container {



View it on GitLab: https://gitlab.torproject.org/tpo/applications/mullvad-browser/-/commit/28135e7000f996f8be00a6ac79b2c9e653be3d0f

-- 
View it on GitLab: https://gitlab.torproject.org/tpo/applications/mullvad-browser/-/commit/28135e7000f996f8be00a6ac79b2c9e653be3d0f
You're receiving this email because of your account on gitlab.torproject.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.torproject.org/pipermail/tor-commits/attachments/20240829/5174e787/attachment.htm>


More information about the tor-commits mailing list