Closed mkruisselbrink closed 7 years ago
Thanks - I'll update.
Other implementers may want to push back on that and consider it a Blink bug, but I'll default to describing the Blink behavior pending further feedback.
Added spec prose, an example, and test. Thanks!
According to the spec as written "the webkitRelativePath property of each File is set to a relative path from the selected directory to the file.". However that is not what is implemented in chrome. In chrome (apparently intentionally) webkitRelativePath is relative to the smallest common ancestor of all selected files, regardless of if that was actually the directory selected.