WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
Bug 32429
Add capability for ChromeClient implementations to refer 'accept' attribute value of an INPUT element
https://bugs.webkit.org/show_bug.cgi?id=32429
Summary
Add capability for ChromeClient implementations to refer 'accept' attribute v...
Kent Tamura
Reported
2009-12-11 06:39:31 PST
ChromeClient::runOpenPanel() implementation should be able to refer 'accept' attribute to support it.
Attachments
Proposed patch
(2.87 KB, patch)
2009-12-11 06:49 PST
,
Kent Tamura
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Kent Tamura
Comment 1
2009-12-11 06:49:22 PST
Created
attachment 44685
[details]
Proposed patch
WebKit Review Bot
Comment 2
2009-12-11 06:53:53 PST
style-queue ran check-webkit-style on
attachment 44685
[details]
without any errors.
Darin Fisher (:fishd, Google)
Comment 3
2009-12-11 09:25:35 PST
Comment on
attachment 44685
[details]
Proposed patch
> +++ b/WebCore/rendering/RenderFileUploadControl.cpp
...
> +String RenderFileUploadControl::acceptTypes() > +{ > + HTMLInputElement* input = static_cast<HTMLInputElement*>(node()); > + return input->accept(); > +}
nit: no need for the input variable, just do: return static_cast<HTMLInputElement*>(node())->accept(); Otherwise, R=me
Kent Tamura
Comment 4
2009-12-11 10:16:35 PST
(In reply to
comment #3
) Thank you for reviewing.
> nit: no need for the input variable, just do: > > return static_cast<HTMLInputElement*>(node())->accept(); > > Otherwise, R=me
Fixed it, and commit manually as
r52003
.
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