The functionality of the window.open
method in the latest Edge browser on Windows 10 preview Build 10130 doesn't seem to align with the expected behavior outlined in the specification.
If you try out the sample code provided at https://msdn.microsoft.com/en-us/library/ms536651(v=vs.85).aspx, and attempt to open a new window, it might actually pop up in the background and not adhere to the specified width and height parameters.
<!DOCTYPE html>
<html>
<head>
<title>window.open()</title>
<style>
html, body {
width: 100%;
height: 100%;
border: 1px solid black;
}
</style>
</head>
<body onclick="myOpen();">
<p>Click this page and window.open() is called.</p>
<script>
function myOpen() {
window.open("Sample.htm", null, "height=200, width=400, status=yes, toolbar=no, menubar=no, location=no");
}
</script>
</body>
</html>
Have you encountered this issue as well? Check out http://jsfiddle.net/TylerH/c91hcoum/2/ for more information.