[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



Title: GitLab

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:

Changes:

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

  • _______________________________________________
    tor-commits mailing list
    tor-commits@xxxxxxxxxxxxxxxxxxxx
    https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits