Monday, May 20, 2024
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

 Answers
6

This is now resolved in windows build 10162


[#36705] Monday, June 1, 2015, 9 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
lucianod

Total Points: 667
Total Questions: 106
Total Answers: 92

Location: Jordan
Member since Thu, Aug 5, 2021
3 Years ago
;