[Webkit-unassigned] [Bug 63063] [EFL] Use accept attribute when executing the file picker for input element

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jun 21 20:00:04 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=63063





--- Comment #6 from Jongseok Yang <js45.yang at samsung.com>  2011-06-21 20:00:04 PST ---
(In reply to comment #2)
> Good point.
> I didn't know that file type should control 'accept'.
> 
> Anyway.
> Could you explain little bit about why we can remove suggestedFilenames.
> 
> View in context: https://bugs.webkit.org/attachment.cgi?id=97977&action=review
> 
> > Source/WebKit/efl/WebCoreSupport/ChromeClientEfl.cpp:429
> > +    CString accept = chooser->acceptTypes().utf8();
> > +    confirm = ewk_view_run_open_panel(m_view, kit(frame), chooser->allowsMultipleFiles(), accept.data(), &selectedFilenames);
> 
> And as small thing, I think that it's no need to store it into accept.

I had thought that suggestedFilenames was not required.
I found out the below statement from HTML4 specification and I could not find out any comment about that from HTML5
"Creates a file select control. User agents may use the value of the value attribute as the initial file name."

I think that it's just implementation choice.
If you want to use the value, I will fix that.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list