NEW 216398
Image dimensions ignored on iOS mobile Safari when image is child of button
https://bugs.webkit.org/show_bug.cgi?id=216398
Summary Image dimensions ignored on iOS mobile Safari when image is child of button
Thomas Steiner
Reported 2020-09-10 23:48:34 PDT
Created attachment 408516 [details] Image dimensions ignored on iOS An image that is the child of a button has its dimensions ignored on iOS mobile Safari (see screenshot): <button type="button"> <img src="icon.png" alt="" width="120" height="120"> </button> Open https://image-in-button.glitch.me/ on iOS mobile Safari and compare the output to desktop Safari (and all other browsers).
Attachments
Image dimensions ignored on iOS (141.17 KB, image/jpeg)
2020-09-10 23:48 PDT, Thomas Steiner
no flags
Correct behavior on desktop Safari (353.59 KB, image/png)
2020-09-10 23:49 PDT, Thomas Steiner
no flags
Screenshot on iOS 14.6 (159.33 KB, image/png)
2021-05-18 02:32 PDT, Thomas Steiner
no flags
Thomas Steiner
Comment 1 2020-09-10 23:49:41 PDT
Created attachment 408517 [details] Correct behavior on desktop Safari
Radar WebKit Bug Importer
Comment 2 2020-09-11 10:34:14 PDT
Thomas Steiner
Comment 3 2021-05-18 02:32:40 PDT
Created attachment 428922 [details] Screenshot on iOS 14.6
Note You need to log in before you can comment on or make changes to this bug.