Skip to content

Feature request: Element.{clientWidth,clientHeight} #399

Open
@agausmann

Description

@agausmann

MDN docs: clientWidth, clientHeight

These properties are useful for getting the actual width and height of an element as it is displayed on the webpage, and it is the recommended way to properly calculate the visible width/height/aspect of an HTML canvas, since Canvas.{width,height} doesn't account for changes in size made by CSS.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions