Bug 1890397 - Rework tab preview panel to make it not part of the shadow dom. r=desktop-theme-reviewers,tabbrowser-reviewers,dao,emilio

This moves the panel to the light dom so that it works like every other
panel, but it seems simpler in general too?

Differential Revision: https://phabricator.services.mozilla.com/D207133
This commit is contained in:
Emilio Cobos Álvarez
2024-04-10 21:07:55 +00:00
parent e439c13666
commit f77a04e463
11 changed files with 282 additions and 464 deletions

View File

@@ -415,7 +415,19 @@
<hbox id="ctrlTab-showAll-container" pack="center"/>
</panel>
<html:tab-preview id="tabbrowser-tab-preview" hidden="true" />
<!-- TODO: create lazily? -->
<panel id="tab-preview-panel"
type="arrow"
orient="vertical"
norolluponanchor="true"
rolluponmousewheel="true"
consumeoutsideclicks="false">
<html:div class="tab-preview-text-container">
<html:div class="tab-preview-title"></html:div>
<html:div class="tab-preview-uri"></html:div>
</html:div>
<html:div class="tab-preview-thumbnail-container"></html:div>
</panel>
<html:template id="pageActionPanelTemplate">
<panel id="pageActionPanel"