Skip to content

Change types of some methods in Document and Screen #58

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 11, 2014
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions src/main/scala/org/scalajs/dom/lib.scala
Original file line number Diff line number Diff line change
Expand Up @@ -2577,7 +2577,7 @@ class Document extends Node with NodeSelector with DocumentEvent with ParentNode
*
* MDN
*/
def elementFromPoint(x: Int, y: Int): Element = ???
def elementFromPoint(x: Double, y: Double): Element = ???

/**
* Adopts a node from an external document. The node and its subtree is removed from the
Expand Down Expand Up @@ -3213,21 +3213,21 @@ class Screen extends js.Object {
*
* MDN
*/
def width: Int = ???
def width: Double = ???

/**
* Returns the amount of vertical space available to the window on the screen.
*
* MDN
*/
def availHeight: Int = ???
def availHeight: Double = ???

/**
* Returns the height of the screen in pixels.
*
* MDN
*/
def height: Int = ???
def height: Double = ???

/**
* Returns the color depth of the screen.
Expand All @@ -3241,7 +3241,7 @@ class Screen extends js.Object {
*
* MDN
*/
def availWidth: Int = ???
def availWidth: Double = ???

/**
* Returns the bit depth of the screen.
Expand Down