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
Describe the bug
According to mdn window.resizeTo() dynamically changes the size of the outer viewport of the window. Happy-dom doesn't do that.
To Reproduce
import{Window}from'happy-dom'constwindow=newWindow({width: 1920,height: 1080})window.resizeTo(300,300)console.log(window.outerWidth,window.outerHeight)// Still 1920 and 1080
Expected behavior
It should change the width and height of the window.
Device:
OS: Windows 11
Version 14.7.1
The text was updated successfully, but these errors were encountered:
Describe the bug
According to mdn
window.resizeTo()
dynamically changes the size of the outer viewport of the window. Happy-dom doesn't do that.To Reproduce
Expected behavior
It should change the width and height of the window.
Device:
The text was updated successfully, but these errors were encountered: