NEW301648
Inputs of type date/time related, with padding applied, incorrectly calculate width 100% on iOS
https://bugs.webkit.org/show_bug.cgi?id=301648
Summary Inputs of type date/time related, with padding applied, incorrectly calculate...
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.