[tbb-commits] [Git][tpo/applications/tor-browser][base-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:32 UTC 2024



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


Commits:
35b22106 by Henry Wilkes at 2024-08-30T00:13:00+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/tor-browser/-/commit/35b22106a6441a0bef7e91b47b8345814b25b5ad

-- 
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/35b22106a6441a0bef7e91b47b8345814b25b5ad
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/tbb-commits/attachments/20240829/24df5aa5/attachment-0001.htm>


More information about the tbb-commits mailing list