[tbb-commits] [Git][tpo/applications/tor-browser][tor-browser-102.6.0esr-12.5-1] fixup! Bug 32308: use direct browser sizing for letterboxing.
Pier Angelo Vendrame (@pierov)
git at gitlab.torproject.org
Tue Jan 10 09:39:25 UTC 2023
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/1340b3994bd4329bb362721436f1a04d4e8e70c4
--
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/1340b3994bd4329bb362721436f1a04d4e8e70c4
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/20230110/f64f005c/attachment-0001.htm>
More information about the tbb-commits
mailing list