You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As the title says, it seems that Tauri on Windows does not render the appropriate @media (display-mode: picture-in-picture) CSS rules correctly for documentPictureInPicture pop-outs. It works on Windows both on Edge and Chrome according to the spec, but for some reason Tauri does not load / render the CSS rules correctly.
Reproduction
Run the example from MDN in a Tauri app on Windows: https://mdn.github.io/dom-examples/document-picture-in-picture/
A PiP window will open correctly, but it won't show the "mute" button according to the CSS rules. An even simpler way to reproduce would be opening a documentPiP window with the following CSS code:
@media (display-mode: picture-in-picture) {
body {
background: red;
}
}
Now opening any element in a window.documentPictureInPicture window should have a red background on Tauri, but does not.
Expected behavior
The PiP window should render all @media (display-mode: picture-in-picture) rules, like it does on Chrome & Edge on Windows.
Describe the bug
As the title says, it seems that Tauri on Windows does not render the appropriate
@media (display-mode: picture-in-picture)
CSS rules correctly for documentPictureInPicture pop-outs. It works on Windows both on Edge and Chrome according to the spec, but for some reason Tauri does not load / render the CSS rules correctly.Reproduction
Run the example from MDN in a Tauri app on Windows: https://mdn.github.io/dom-examples/document-picture-in-picture/
A PiP window will open correctly, but it won't show the "mute" button according to the CSS rules. An even simpler way to reproduce would be opening a documentPiP window with the following CSS code:
Now opening any element in a window.documentPictureInPicture window should have a red background on Tauri, but does not.
Expected behavior
The PiP window should render all
@media (display-mode: picture-in-picture)
rules, like it does on Chrome & Edge on Windows.Full
tauri info
outputStack trace
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: