fix: Fix video fullscreen rendering when split view is active, b=closes https://github.com/zen-browser/desktop/issues/11559, p=#12733

* Fix video fullscreen rendering when split view is active

Deactivate other split browsers and hide their containers during fullscreen
so Firefox can promote the active browser correctly.

* Address review: simplify fullscreen handling using inDOMFullscreen

* Discard changes to src/zen/split-view/ZenViewSplitter.mjs

* Formatting Changes

* Remove unnecessary empty line in zen-decks.css

Signed-off-by: mr. m <91018726+mr-cheffy@users.noreply.github.com>

---------

Signed-off-by: mr. m <91018726+mr-cheffy@users.noreply.github.com>
Co-authored-by: mr. m <91018726+mr-cheffy@users.noreply.github.com>
This commit is contained in:
S31ZUR3
2026-03-12 02:48:00 +05:30
committed by GitHub
parent 6f9aa2472b
commit cfbf8edfa9

View File

@@ -38,6 +38,16 @@
/* Fix for issue https://github.com/zen-browser/desktop/issues/7564 */
position: absolute;
}
:root[inDOMFullscreen="true"] & {
&:not(.deck-selected) {
-moz-subtree-hidden-only-visually: 1 !important;
}
&.deck-selected {
inset: 0 !important;
}
}
}
.browserSidebarContainer[is-zen-split="true"],
@@ -67,7 +77,7 @@
}
}
#tabbrowser-tabpanels[zen-split-view="true"] .browserSidebarContainer.deck-selected {
:root:not([inDOMFullscreen="true"]) #tabbrowser-tabpanels[zen-split-view="true"] .browserSidebarContainer.deck-selected {
&:not(.zen-glance-overlay) {
outline: 2px solid var(--zen-active-split-outline-color) !important;
}