[whatwg] a rel=attachment
svartman95 at gmail.com
Sun Jul 17 12:59:05 PDT 2011
Þann fös 15.júl 2011 21:34, skrifaði Darin Fisher:
> 2) Unlike rel=something, @download provides a way to specify the name
> of the file to save. This makes the feature useful with data: URLs and
> URLs (that are not backed by a single file). This is valuable to me because
> I can imagine wanting to save the contents of a<canvas>, and that probably
> involves saving the data URL that you get from toDataURL().
> 3) The target=_download idea is interesting, but I'm not sure we can safely
> introduce new target values, and this also suffers from not providing a way
> specify the downloaded filename.
Is there any other use case for providing the filename than using
canvas' toDataURL instead of blobs (a use case more simply served by
More information about the whatwg