[whatwg] Fakepath revisited

Simon Pieters simonp at opera.com
Sun Sep 6 23:35:53 PDT 2009


On Fri, 04 Sep 2009 20:07:19 +0200, Alex Henrie <alexhenrie24 at gmail.com>  
wrote:

> implementing
> fakepath would require teaching every web developer to use
> foo.value.substr(12) or foo.files[0] instead of foo.value. Confusing
> and unintuitive behavior like this makes HTML more difficult to learn,
> and this added cost of learning should not be ignored either.

IE7 (and IE8 in quirks and compat view modes) and earlier versions of  
Firefox (and earlier versions of WebKit?) exposed the full path, so Web  
developers already had to hack out a substring to get the file name.

-- 
Simon Pieters
Opera Software



More information about the whatwg mailing list