Pier Angelo Vendrame pushed to branch tor-browser-102.6.0esr-12.5-1 at The Tor Project / Applications / Tor Browser
Commits: 1340b399 by hackademix at 2023-01-09T22:50:42+01:00 fixup! Bug 32308: use direct browser sizing for letterboxing.
Bug 45162: do not force letterboxing on API-initiated fullscreen.
- - - - -
2 changed files:
- browser/base/content/browser.css - layout/style/res/ua.css
Changes:
===================================== browser/base/content/browser.css ===================================== @@ -111,8 +111,8 @@ body { outline: initial; }
-.letterboxing-ready .browserStack:not(.exclude-letterboxing) { - place-content: start center; +:root:not([inDOMFullscreen]) .letterboxing-ready .browserStack:not(.exclude-letterboxing) { + place-content: start center; }
/* extend down the toolbar's colors when letterboxing is enabled */
===================================== layout/style/res/ua.css ===================================== @@ -356,8 +356,8 @@ left: 0 !important; right: 0 !important; bottom: 0 !important; - width: 100%; - height: 100%; + width: 100% !important; + height: 100% !important; margin: 0 !important; min-width: 0 !important; max-width: none !important; @@ -368,11 +368,6 @@ transform: none !important; }
-*|*:fullscreen:not(:root, .letterboxing .browserStack:not(.exclude-letterboxing) > browser) { - width: 100% !important; - height: 100% !important; -} - xul|*:fullscreen:not(:root, [hidden="true"]) { /* The position: fixed; property above used to force the computed display * value to block. It is no longer the case now, so we manually set it here to
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/1340b399...
tbb-commits@lists.torproject.org