Bug 1966586 - Reuse other browser windows when opening _blank links in Taskbar Tabs windows. r=nrishel
This doesn't affect other tab additions, nor does it stop the tab bar
from appearing altogether. The idea is that _if_ another tab is somehow
made, the user should see it; but we should not create new tabs if we
can avoid it.
This also adds tests for opening URIs in popups and taskbar tabs to make
it less likely that this breaks in future.
Differential Revision: https://phabricator.services.mozilla.com/D253726
<!DOCTYPE html><linkrel="help"href="https://drafts.csswg.org/css-values-5/#calc-size"><linkrel="help"href="https://drafts.csswg.org/css-sizing-4/#aspect-ratio"><linkrel="match"href="../../reference/ref-filled-green-100px-square-only.html"><p>Test passes if there is a filled green square.</p><!-- The auto width is 50px, the auto min-size is 150px, which passing through the calc-size() yields 100px. --><divstyle="aspect-ratio: 1/2; height: 100px; min-width: calc-size(auto, size - 50px); background: green;"><divstyle="width: 150px;"></div></div>