Skip to content

ContentRect has incorrect width/height for non SVG Elements #15

@TremayneChrist

Description

@TremayneChrist

Based on the spec, the contentRect is the size of the content area. This should minus the padding and border dimensions from the width/height properties, when box-sizing:border-box is applied.

image
You can confirm this by using the native ResizeObserver in Chrome.

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