[whatwg] "Content-Disposition" property for <a> tags

> Browsers should just use the same behaviour when encountering the function
> in a HTML attribute.

Keep in mind that the mechanism *is* extremely imperfect. It only
works for MIME types and extensions recognized by the browser (which
is a small list). There's a large disconnect between this set, the set
handled by the OS, and the actual logic used to control content
disposition later on (much more messy on Linux than on Windows,
interestingly).

Unless it becomes common for file systems to support MIME type
metadata for every file, and for all client applications to honor it,
I really think that giving the markup such control over content
disposition does more harm than good.

/mz

Received on Thursday, 26 May 2011 16:15:17 UTC