- From: Karl Dubost <karld@opera.com>
- Date: Thu, 14 Jul 2011 17:25:29 -0400
Le 14 juil. 2011 ? 14:45, Ian Fette (????????) a ?crit :
> <a rel=attachment href=blah.pdf> would indicate that the browser
> should treat this link as if the response came with a content-disposition:
> attachment header, and offer to download/save the file for the user.
A random thought just occured to me (maybe dumb)
But is it a relation qualifier or in fact a target?
In http://dev.w3.org/html5/spec/browsers.html#valid-browsing-context-name-or-keyword
A valid browsing context name or keyword is any string
that is either a valid browsing context name or that is
an ASCII case-insensitive match for one of: _blank,
_self, _parent, or _top.
what about adding
<a href="foo.pdf" target="_download">Save a Tree, Eat a beaver</a>
--
Karl Dubost - http://dev.opera.com/
Developer Relations & Tools, Opera Software
Received on Thursday, 14 July 2011 14:25:29 UTC