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.


_______________________________________________
tbb-commits mailing list
[email protected]
https://lists.torproject.org/cgi-bin/mailman/listinfo/tbb-commits

Reply via email to