You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
input[type=number] lays out 18px tall while text/email/search inputs with the same styles get full padding #925
An <input type="number"> styled the same as its siblings lays out at 18 px tall while text, email and search inputs get 37.2 px (padding + line box), so a form's number field renders as a thin strip.
BaseDocument::get_client_bounding_rect after resolve():
input
height
text
37.2
number
18.0
email
37.2
search
37.2
Expected: all four the same height (Chrome/Firefox: identical boxes for this stylesheet).
Notes
layout/construct.rs sends "number" down the same create_text_editor(doc, id, false) path as "text", so the difference seems to come later (intrinsic size of the editor, or a UA rule); I did not find a type=number rule in assets/default.css.
Found while using Blitz as a headless test renderer for a server-rendered form component.
Activity