W3C home > Mailing lists > Public > whatwg@whatwg.org > July 2011

[whatwg] a rel=attachment

From: Bjartur Thorlacius <svartman95@gmail.com>
Date: Sun, 17 Jul 2011 19:59:05 +0000
Message-ID: <4E233F09.5080304@gmail.com>
?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
> blob:
> 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
> to
> 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
FileSaver)?
Received on Sunday, 17 July 2011 12:59:05 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:34 UTC