-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Labels
Description
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.