Bug 32220: Improve the letterboxing experience
CSS and JS changes to alter the UX surrounding letterboxing. The browser element containing page content is now anchored to the bottom of the toolbar, and the remaining letterbox margin is the same color as the firefox chrome. The letterbox margin and border are tied to the currently selected theme. Also adds a 'needsLetterbox' property to tabbrowser.xml to fix a race condition present when using the 'isEmpty' property. Using 'isEmpty' as a proxy for 'needsLetterbox' resulted in over-zealous/unnecessary letterboxing of about:blank tabs.
Showing
- browser/base/content/browser.css 8 additions, 0 deletionsbrowser/base/content/browser.css
- browser/base/content/tabbrowser-tab.js 9 additions, 0 deletionsbrowser/base/content/tabbrowser-tab.js
- browser/themes/shared/tabs.inc.css 6 additions, 0 deletionsbrowser/themes/shared/tabs.inc.css
- toolkit/components/resistfingerprinting/RFPHelper.jsm 82 additions, 12 deletionstoolkit/components/resistfingerprinting/RFPHelper.jsm
Please register or sign in to comment