Skip to content

Selector dimensions #9

@dennisdegryse

Description

@dennisdegryse

The width of a selector element is inherited from the select element where it wraps around. Native HTML select elements render slightly different from other elements: The dimensions are recalculated from the CSS styles: actual_width = width - (border-left + border-right + padding-left + padding-right). The same matters for the actual_height. Other elements do not subtract padding and borders from the width.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions