New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 789380 link

Starred by 3 users

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 3
Type: Feature



Sign in to add a comment

Investigate making outerHeight on Android include the URL bar

Project Member Reported by bokan@chromium.org, Nov 29 2017

Issue description

Currently window.outerHeight basically matches window.innerHeight. On desktop, the meaning of outerHeight/outerWidth is to return the window size "including window chrome" (https://developer.mozilla.org/en-US/docs/Web/API/Window/outerWidth).

Using this interpretation on mobile would mean that outerHeight would include the URL bar height. This would make it more useful and allow working in the same space as `vh` units currently do (as mentioned: https://twitter.com/appsforartists/status/935683728801538048)

This could have interop and (more likely) web compat impact so it's something that we'd have to investigate. 
 

Comment 1 by brentons@google.com, Nov 29 2017

Cc: brentons@google.com

Comment 2 by bokan@chromium.org, May 7 2018

Cc: bokan@chromium.org sandeepkumars@chromium.org
 Issue 829356  has been merged into this issue.

Sign in to add a comment