W3C home > Mailing lists > Public > whatwg@whatwg.org > September 2009

[whatwg] Fakepath revisited

From: Simon Pieters <simonp@opera.com>
Date: Mon, 07 Sep 2009 08:35:53 +0200
Message-ID: <op.uzvi93kaidj3kv@simon-pieterss-macbook.local>
On Fri, 04 Sep 2009 20:07:19 +0200, Alex Henrie <alexhenrie24 at gmail.com>  

> 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
Received on Sunday, 6 September 2009 23:35:53 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:52 UTC