106
rated 0 times
[
108]
[
2]
/ answers: 1 / hits: 12164
/ 9 Years ago, mon, june 1, 2015, 12:00:00
I'm on Windows 10 preview Build 10130, and the window.open
method in the new Edge browser isn't behaving as per the specification.
If you use the example code in https://msdn.microsoft.com/en-us/library/ms536651(v=vs.85).aspx, and click to open a new window, it will open a new window in the background, and will completely ignore the width and height.
<!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>
Anyone else see this issue? http://jsfiddle.net/TylerH/c91hcoum/2/
More From » microsoft-edge