Bug 301648

Summary: Inputs of type date/time related, with padding applied, incorrectly calculate width 100% on iOS
Product: WebKit Reporter: Pawel Grzybek <mail>
Component: FormsAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: cdumez, lily_spiniolas, webkit-bug-importer, wenson_hsieh
Priority: P2 Keywords: InRadar
Version: Safari 26   
Hardware: iPhone / iPad   
OS: iOS 26   
Attachments:
Description Flags
The difference in width of input elements of different types on iOS none

Pawel Grzybek
Reported 2025-10-29 12:51:55 PDT
Created attachment 477227 [details] The difference in width of input elements of different types on iOS Inputs with types time/date related (time, datetime-local, date, week and month) strangely calculate width 100% if the padding is applied. The result differs from the width of input elements of other types like text, email, password and so on. This bug only affects iOS, not the desktop browser. Here is a quick CodePen with an example: https://codepen.io/pawelgrzybek/pen/WbrgQMN iOS version: 26.01
Attachments
The difference in width of input elements of different types on iOS (202.80 KB, image/png)
2025-10-29 12:51 PDT, Pawel Grzybek
no flags
Alexey Proskuryakov
Comment 1 2025-10-30 14:07:56 PDT
Thank you for the report! I can reproduce on iOS, while macOS appears to work as expected.
Radar WebKit Bug Importer
Comment 2 2025-11-05 11:52:11 PST
Note You need to log in before you can comment on or make changes to this bug.