Skip to content

Conversation

@mseddon
Copy link
Contributor

@mseddon mseddon commented Feb 16, 2016

See: https://www.w3.org/TR/cssom-view/#extensions-to-the-window-interface

Note- this doesn't appear to be an issue in any current browser (I suppose viewports tend to be integer width in the underlying OS), but the spec does mention Double, not Int.

@sjrd
Copy link
Member

sjrd commented Feb 16, 2016

LGTM

sjrd added a commit that referenced this pull request Feb 16, 2016
Make Window.innerWidth and innerHeight Double
@sjrd sjrd merged commit 54a858a into scala-js:master Feb 16, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants