Skip to content

Element.scrollTop sometimes should be decimal #16

Open
@cardenaso11

Description

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

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions