New issue
Advanced search Search tips

Issue 599254 link

Starred by 1 user

Issue metadata

Status: Archived
Owner: ----
Closed: Jun 2017
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 3
Type: Bug



Sign in to add a comment

CrOS: window.open is smaller than requested height by 34px

Project Member Reported by mfrederick@google.com, Mar 30 2016

Issue description

Chrome Version       : 49.0.2623.95
OS Version: 7834.60.0
URLs (if applicable) :
Other browsers tested:
Chrome on all other platforms

What steps will reproduce the problem?
Ex: https://jsfiddle.net/xemcy91t/ (look at the console log)

var win = window.open('about:blank', '', 'height=200,width=300');
console.log(300, 200);
window.setTimeout(function() {
  console.log(win.document.body.clientWidth, win.document.body.clientHeight);
}, 1000);


What is the expected result?
The new window should have clientWidth/clientHeight of 300, 200.

What happens instead of that?
300, 166

It's always 34px smaller than requested. Not sure if that value is dependent on some device property, font sizes, etc.

Please provide any additional information below. Attach a screenshot if
possible.

UserAgentString: Mozilla/5.0 (X11; CrOS x86_64 7834.60.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.95 Safari/537.36



 
Components: Blink>WindowDialog
Project Member

Comment 2 by sheriffbot@chromium.org, Jun 3 2016

Labels: Hotlist-Google
Project Member

Comment 3 by sheriffbot@chromium.org, Jun 5 2017

Status: Archived (was: Unconfirmed)
Issue has not been modified or commented on in the last 365 days, please re-open or file a new bug if this is still an issue.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot

Sign in to add a comment