[whatwg] Review of the 3.16 section and the HTMLInputElement interface
Ian Hickson
ian at hixie.ch
Wed Nov 5 09:20:46 PST 2008
On Sun, 10 Feb 2008, Samuel Santos wrote:
>
> This is a problem for the input element with type="file". If the
> language selected in his profile is, e.g. portuguese, and the language
> in the browser is english (the default), he will see all the application
> in portuguese and the input file browse button text value will be in
> english.
Why is this a problem given that all the rest of the UA strings -- menus,
for example -- will also be in the default language? Isn't it up to the
user to pick the right language in the UA?
> What I propose is to add a new attribute to the input element like this:
> attribute DOMString browseText;
> this allows us developers to change the input file browse button text to
> have it in the same language as the rest of the application and not with the
> language selected in the browser.
We really don't want to allow authors to fiddle with this control, because
it is highly security-sensitive (similarly browsers don't allow styling of
this control).
--
Ian Hickson U+1047E )\._.,--....,'``. fL
http://ln.hixie.ch/ U+263A /, _.. \ _\ ;`._ ,.
Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'
More information about the whatwg
mailing list