Steps to reproduce:
Play a Youtube video in fullscreen. Press esc to exit fullscreen and cmd+N to open a new page right after pressing esc.
The new page is opened but is placed behind the Youtube page.
Safari does not behave the same way.
I believe this is a timing issue with the fullscreen escape animation that puts the Youtube page in front when it finishes even though a new page was opened after pressing esc.
The new page should be in front of the Youtube page
Orion, OS version; hardware type:
Version 0.99.120.1-beta (WebKit 614.1.20
MacBook Pro 2013 (macOS Monterey 12.6 build 21G115)