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

[whatwg] Proposal: @srctype or @type on <iframe>

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Tue, 13 Jul 2010 00:26:53 -0700
Message-ID: <4C3C153D.2010406@mit.edu>
On 7/12/10 11:31 PM, Gordon P. Hemsley wrote:
> The particular use case that prompted me to think about this is
> including a PDF via <iframe>. In Firefox (last I checked), one is
> required to install a separate add-on in order to support in-browser
> display of PDF files on Mac OS X, since there is no native or integrated
> Adobe Reader support available.

I'm pretty sure you can install the Adobe Reader plug-in on Mac if you 
want to.

> Without the add-on, the user will be prompted to download the PDF file

Which is exactly what would happen for a type="application/pdf" iframe, 
no?  Silently not showing the content doesn't seem acceptable.

-Boris
Received on Tuesday, 13 July 2010 00:26:53 UTC

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