[Webkit-unassigned] [Bug 31195] File upload control shows a single filename even if multiple files are selected

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Nov 8 17:40:56 PST 2009


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





--- Comment #3 from TAMURA, Kent <tkent at chromium.org>  2009-11-08 17:40:56 PDT ---
(In reply to comment #2)
> (From update of attachment 42623 [details])
> > +          RenderButton {INPUT} at (0,0) size 78x18 [bgcolor=#C0C0C0]
> > +            RenderBlock (anonymous) at (8,2) size 62x13
> > +              RenderText at (0,0) size 62x13
> > +                text run at (0,0) width 62: "Choose File"
> > +        RenderText {#text} at (0,0) size 0x0
> > +      RenderBlock {P} at (0,38) size 784x18
> > +        RenderText {#text} at (0,0) size 442x18
> > +          text run at (0,0) width 442: "The file upload control above should have text '2 files,' not a filename."
> 
> This render tree output looks like a failure. The test says the text should be
> "2 files", but the text says "Choose File". What's up?

Actually, it's expected result.
"Choose File" is a text inside the button, and "2 files" or "No file chosen"
message is never shown in render trees because the message drawn by
paintInfo.context->drawBidiText().

-- 
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