WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED CONFIGURATION CHANGED
157507
input type=file dosen't work
https://bugs.webkit.org/show_bug.cgi?id=157507
Summary
input type=file dosen't work
Lynch
Reported
2016-05-09 23:31:13 PDT
code here: <form id="imgForm" action="upload.php" method="post" enctype="multipart/form-data"> <div style="width: 100%; height: auto; text-align: center;" onchange="showTempImg()"> <div style="width: 100%; height: auto; text-align: center; top: 30px; position: relative; margin-top: 15px; font-size: 50px; font-weight: 700;"> <div id="upload-container" class="col-xs-12 text-center"> <input type="hidden" name="jixing" id="jixing" value="{$jixing}" /> <input type="hidden" name="agent" id="agent" value="{$agent}" /> <input type="hidden" name="imgname" id="imgname" value="" /> <input type="hidden" name="sex" id="sex" value="" /> <input type="hidden" name="randstr" id="randstr" value="" /> <a href="#" class="file a-upload"> <input type="file" name="file" id="file" accept="image/*" value="" /> </a> </div> </div> </div> </form> I wrote this form, on IOS8, it can normal use, on IOS9, can call to the camera, but you can't upload pictures of
Attachments
Add attachment
proposed patch, testcase, etc.
Ahmad Saleem
Comment 1
2022-08-06 07:03:39 PDT
I changed the below test case from
Comment 0
into following JSFiddle: Link -
https://jsfiddle.net/ja068ocz/show
I tried to upload a file from Photo Gallery using iPhone 13 Pro Max on iOS 15.6 and it works and it loads similarly to Safari 15.6 on macOS 12.5. I am going to mark this as "RESOLVED CONFIGURATION CHANGED". Please reopen if it is incorrect or this issue is still present. Thanks!
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug