Skip to content
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

Element.scrollTop sometimes should be decimal #16

Open
cardenaso11 opened this issue Jan 23, 2020 · 0 comments
Open

Element.scrollTop sometimes should be decimal #16

cardenaso11 opened this issue Jan 23, 2020 · 0 comments

Comments

@cardenaso11
Copy link

cardenaso11 commented Jan 23, 2020

Element.scrollTop is given a 'long' type in the webIDL, but in actuality it can become fractional when display scaling comes into play, according to https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollTop & in practice, & then it's rounded

This comes up in the generated Haskell code as a rounded Int

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

No branches or pull requests

1 participant