New issue 35980 by chr...@netscript.com: window size and position set to 0
right after window.open call
http://code.google.com/p/chromium/issues/detail?id=35980
Chrome Version : 5.0.307.7 (Official Build 38400) beta (Mac)
URLs (if applicable) :
Other browsers tested:
Add OK or FAIL after other browsers where you have tested this issue:
Safari 4: ok
Firefox 3.x: ok
IE 7:
IE 8:
What steps will reproduce the problem?
1. w=window.open(...)
2. alert(w.innerHeight)
3.
What is the expected result?
Some valid values for innerHeight, innerWidth, screenX and screenY.
What happens instead?
All values are set to 0.
Please provide any additional information below. Attach a screenshot if
possible.
Run the attachment.
Attachments:
winopen-position-chrome.html 364 bytes
--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
alert("window.innerHeight:"+window.innerHeight);
var thing = document.getElementById('thing');
var dummy=thing.clientHeight;
alert("window.innerHeight:"+window.innerHeight);
For me, this code, in an iframe, will alert "window.innerHeight:0" followed
by "window.innerheight:600" (the iframe has height:600px)
6.0.472.53 (Official Build 57914)
Comment #3 on issue 35980 by rse...@chromium.org: window size and position
set to 0 right after window.open call
http://code.google.com/p/chromium/issues/detail?id=35980
(No comment was entered for this change.)